/* ============ GLOBAL ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Roboto, sans-serif;
  color: #333;
  background: #fafafa;
}

.container {
  width: 90%;
  max-width: 1200px;
 
}

/* ============ HEADER ============ */
.site-header {
  background: linear-gradient(135deg, #1976d2, #42a5f5);
  color: white;
  position: sticky;
  top: 0px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo a {
  font-size: 24px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.logo span {
  color: #ffeb3b;
}

.logo a:hover {
  opacity: 0.9;
}

/* Navigation */
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #ffeb3b;
}

/* Bouton spécial */
.btn-primary {
  background: #ffeb3b;
  color: #1976d2 !important;
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #fff176;
  transform: translateY(-2px);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Responsive menu */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 65px;
    right: 0;
    background: #1976d2;
    flex-direction: column;
    width: 220px;
    display: none;
    padding: 15px;
    border-radius: 0 0 0 12px;
    box-shadow: -2px 4px 10px rgba(0,0,0,0.3);
  }
  .site-header {
    top: 50px;
  }

  .nav-links.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
  }

  .hamburger {
    display: block;
  }
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* ============ FOOTER ============ */
.site-footer {
  background: #1c1c1c;
  color: #ccc;
  padding: 40px 20px 10px;
  margin-top: 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #42a5f5;
}

.socials a {
  font-size: 24px;
  color: #42a5f5;
  margin-right: 15px;
  transition: 0.3s;
}

.socials a:hover {
  color: #ffeb3b;
}

.footer-bottom {
  text-align: center;
  padding: 15px 0 5px;
  border-top: 1px solid #333;
  margin-top: 25px;
  font-size: 14px;
}
