@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Inter:wght@400;600&display=swap');

body {
  margin: 0;
  padding: 0 20px 20px 20px; /* on enlève le padding-top ici */
  padding-top: 80px; /* espace pour la navbar fixe */
  background: linear-gradient(to bottom, #0b0b0b, #111111);
  color: #f5f5f5;
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  text-align: center;
  animation: fadeInTop 1s ease forwards;
}

h2 {
  font-size: 2rem;
  margin-top: 50px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 10px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 25px;
  background: #ffd700;
  border-radius: 3px;
}

p {
  max-width: 900px;
  margin: auto;
  font-size: 1.1rem;
  color: #dcdcdc;
  margin-bottom: 30px;
  animation: fadeIn 1.5s ease;
}

section {
  margin: 60px auto;
  padding: 20px;
  max-width: 1000px;
  border: 1px solid #1f1f1f;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

@keyframes fadeInTop {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  background: #111;
  color: #aaa;
  margin-top: 4rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  p {
    font-size: 1rem;
  }

  section {
    margin: 30px 10px;
  }
}

/* Navbar Premium */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.navbar:hover {
  border-bottom-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 4px 25px rgba(212, 175, 55, 0.2);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-size: 1.8rem;
  color: #d4af37;
  font-weight: 900;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.navbar .logo:hover {
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.nav-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
  transition: left 0.5s ease;
}

.nav-links a:hover::before {
  left: 100%;
}

.nav-links a:hover {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.nav-links a:active {
  transform: translateY(0);
}

.nav-links a.active {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 1rem 1rem;
  }
  
  .navbar .logo {
    font-size: 1.4rem;
  }
  
  .nav-links {
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .nav-links a {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }
}
