/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-color: #0B0B0C;
  color: #EDEDED;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
}
a {
  color: #D4AF37;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #E5C158;
}
img {
  max-width: 100%;
  display: block;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #FFFFFF;
  margin-top: 0;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
}
.gold-text {
  background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #AA771C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #D4AF37; /* Fallback */
}

/* ===== HEADER/BANNER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 11, 12, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 15px 20px;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.banner-content {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}
.banner-logo {
  max-height: 50px;
}
.banner-text-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin: 0;
  background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #AA771C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== NAVIGATION ===== */
.nav-links {
  display: none; /* hidden on mobile */
}
.hamburger-menu {
  display: block;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 20px;
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  outline: none;
}
.hamburger-menu span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #D4AF37;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}
.hamburger-menu span:nth-child(1) { top: 0px; }
.hamburger-menu span:nth-child(2) { top: 9px; }
.hamburger-menu span:nth-child(3) { top: 18px; }
.hamburger-menu.active span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}
.hamburger-menu.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(11, 11, 12, 0.98);
  backdrop-filter: blur(15px);
  padding: 20px;
  gap: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.nav-link {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #A0A0A5;
  font-size: 0.9rem;
}
.nav-link:hover {
  color: #D4AF37;
}
.nav-link.active {
  color: #D4AF37;
  border-bottom: 2px solid #D4AF37;
  padding-bottom: 4px;
}

/* ===== BOTTOM NAV (MOBILE PWA) ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 11, 12, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  justify-content: space-around;
  padding: 10px 0 15px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  z-index: 999;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #A0A0A5;
  font-size: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  gap: 4px;
}
.bottom-nav-item svg, .bottom-nav-item i {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.bottom-nav-item.active {
  color: #D4AF37;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 70vh;
  height: 70svh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.85); /* Fait ressortir la photo au maximum */
  z-index: 1;
}

@media (max-width: 767px) {
  .hero {
    height: auto;
    min-height: 0;
    display: block; /* La hauteur sera dictée par l'image */
    padding: 60px 0 0 0; /* Espace sous le menu transparent */
    background-color: transparent;
  }
  .hero-image {
    position: relative;
    width: 100%;
    height: auto; /* Garde la proportion exacte */
    display: block;
    object-fit: contain;
  }
  .hero-overlay {
    display: block;
    position: absolute;
    top: 60px; /* Commence sous le menu */
    left: 0;
    width: 100%;
    height: calc(100% - 60px); /* Couvre exactement l'image */
    background: rgba(11, 11, 12, 0.4); /* Filtre léger pour le texte */
    z-index: 2;
  }
  .hero-content {
    position: absolute;
    top: calc(50% + 30px); /* Centré verticalement sur l'image (+30px pour compenser le padding menu) */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 10px;
    z-index: 3;
    margin: 0;
    background: transparent;
  }
  .hero-title {
    font-size: 1.8rem; /* Réduit pour rentrer sur la photo */
    margin-bottom: 2px;
  }
  .hero-subtitle {
    font-size: 0.7rem;
    margin-bottom: 2px;
  }
  .hero-tagline {
    font-size: 0.7rem;
    margin-bottom: 5px;
  }
  .hero-cta {
    margin-top: 5px;
  }
  .btn {
    padding: 6px 12px;
    font-size: 0.7rem;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(11, 11, 12, 0.8) 80%, #0B0B0C 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
}
.hero-title {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #AA771C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 10px;
}
.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: #EDEDED;
  text-transform: uppercase;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 20px;
}
.section-title {
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 40px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #D4AF37;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-gold {
  background-color: #D4AF37;
  color: #0B0B0C;
  border: none;
}
.btn-gold:hover {
  background-color: #E5C158;
  color: #0B0B0C;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}
.btn-outline {
  background-color: transparent;
  border: 1px solid #D4AF37;
  color: #D4AF37;
}
.btn-outline:hover {
  background-color: #D4AF37;
  color: #0B0B0C;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background-color: #121214;
}
.about-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 1.05rem;
  text-align: center;
}
.about-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  border-left: 3px solid #D4AF37;
  padding-left: 20px;
  color: #E5C158;
  margin: 30px auto;
  font-size: 1.2rem;
  text-align: left;
  max-width: 600px;
}

/* ===== SERVICE CARDS (PRESTATIONS) ===== */
.service-category {
  margin-bottom: 60px;
}
.service-category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #AA771C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 30px;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background-color: #1A1A1E;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.service-card .price {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #AA771C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 15px 0;
}
.service-card .duration {
  color: #A0A0A5;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  cursor: pointer;
  background-color: #121214;
}
.gallery-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,11,12,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after {
  opacity: 1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.95);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
}
.lightbox.active {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #FFF;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2001;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #D4AF37;
  font-size: 3rem;
  cursor: pointer;
  z-index: 2001;
  padding: 20px;
  user-select: none;
}
.lightbox-prev {
  left: 10px;
}
.lightbox-next {
  right: 10px;
}

/* ===== LINKS HUB (LINKTREE) ===== */
.links-hub {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background-color: #1A1A1E;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.link-card:hover {
  border-color: #D4AF37;
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}
.link-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #D4AF37;
  flex-shrink: 0;
}
.link-card-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #FFFFFF;
  font-size: 1.05rem;
}

/* ===== CONTACT ===== */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.contact-card {
  background-color: #1A1A1E;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.15);
}
.contact-rules {
  background-color: #121214;
  border-radius: 12px;
  padding: 30px;
  border-left: 3px solid #D4AF37;
  max-width: 600px;
  margin: 40px auto 0;
  line-height: 1.7;
}

/* ===== PARTNERSHIP & PRODUCTIONS ===== */
.partnership-content, .production-content {
  max-width: 800px;
  margin: 0 auto;
}
.production-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #1A1A1E;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  margin-bottom: 30px;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #0A0A0B;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 40px 20px 100px 20px; /* extra padding for bottom nav on mobile */
  text-align: center;
}
.footer-signature {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #AA771C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}
.footer-copy {
  color: #A0A0A5;
  font-size: 0.8rem;
  margin-top: 20px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
}
.fade-in-up {
  opacity: 0;
}
.fade-in-up.visible {
  animation: fadeInUp 0.8s ease-out forwards;
}
.shimmer {
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* ===== MEDIA QUERIES ===== */
@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  .section { padding: 100px 30px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .production-card { flex-direction: row; align-items: center; gap: 30px; }
}

@media (min-width: 1024px) {
  h1 { font-size: 4rem; }
  .hero-title { font-size: 5rem; }
  .banner-text-main { font-size: 1.5rem; }
  .hamburger-menu { display: none; }
  .nav-links {
    display: flex !important; /* override js inline styles if any */
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    border: none;
    align-items: center;
    gap: 30px;
  }
  .bottom-nav { display: none; }
  .site-footer { padding-bottom: 40px; }
  .section { padding: 120px 40px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-gold { color: #D4AF37; }
.text-muted { color: #A0A0A5; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
