/* ═══════════════════════════════════════════════════════
   Le Château de Cirque — Shared Stylesheet
   css/main.css  |  Loaded by every page
   ═══════════════════════════════════════════════════════ */

/* ══ DESIGN TOKENS ══ */
:root {
  --black:   #08080F;
  --dark:    #0E0D1A;
  --card:    #121120;
  --gold:    #C9A84C;
  --gold-lt: #E2C06A;
  --star:    #E8D5A0;
  --crimson: #6B1918;
  --red:     #8B2424;
  --red-lt:  #A83030;
  --cream:   #EDE8DF;
  --muted:   #857F76;
  --border:  rgba(201,168,76,0.20);
  --border2: rgba(201,168,76,0.10);
  --border3: rgba(201,168,76,0.06);
}

/* ══ RESET & BASE ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* ══ BUTTONS ══ */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: all 0.22s ease;
  cursor: pointer;
  border: none;
}
.btn-red          { background: var(--red);  color: var(--cream); border: 1px solid var(--red); }
.btn-red:hover    { background: var(--red-lt); transform: translateY(-1px); }
.btn-gold         { background: var(--gold);  color: var(--black); border: 1px solid var(--gold); }
.btn-gold:hover   { background: var(--gold-lt); transform: translateY(-1px); }
.btn-gold-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-gold-outline:hover { background: var(--gold); color: var(--black); transform: translateY(-1px); }
.btn-cream-outline { background: transparent; color: rgba(237,232,223,0.7); border: 1px solid rgba(237,232,223,0.3); }
.btn-cream-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-muted { background: transparent; color: var(--muted); border: 1px solid rgba(133,127,118,0.3); cursor: default; opacity: 0.6; }

/* ══ NAVIGATION ══ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.4s, border-bottom 0.4s;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(8,8,15,0.72) 0%, transparent 100%);
}
nav.scrolled {
  background: rgba(8,8,15,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-wm-link { display: flex; align-items: center; }
.nav-wm-img  { height: 52px; width: auto; display: block; }
.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.15;
}
.nav-wordmark span {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  font-weight: 400;
  color: var(--gold);
  margin-top: 2px;
  opacity: 0.75;
}
.nav-right  { display: flex; align-items: center; gap: 28px; }
.nav-links  { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(237,232,223,0.6);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.nav-hamburger { display: none; background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; padding: 8px; transition: color 0.2s; }
.nav-hamburger:hover { color: var(--gold-lt); }

/* ══ DROPDOWN NAV ══ */
.nav-links li.has-dropdown { position: relative; }
.nav-links li.has-dropdown > a::after { content: ' ▾'; font-size: 0.55em; opacity: 0.55; }
.nav-links li.has-dropdown > a { position: relative; }
.nav-links li.has-dropdown > a::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 12px;
  z-index: 9999;
}
.nav-links .dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  min-width: 210px;
  background: rgba(8,8,15,0.98);
  border: 1px solid var(--border2);
  list-style: none;
  padding: 6px 0;
  z-index: 10000;
  backdrop-filter: blur(12px);
}
.nav-links li.has-dropdown:hover .dropdown { display: block; }
.nav-links li.has-dropdown:hover > a::before { display: block; }
.nav-links .dropdown a {
  display: block; padding: 9px 18px;
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.1em;
  border-bottom: none;
}
.nav-links .dropdown a:hover { color: var(--gold); background: rgba(201,168,76,0.06); }

/* ══ COMMON SECTION UTILITIES ══ */
.section-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.05;
}
.section-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--cream);
}
.section-body {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(237,232,223,0.55);
  line-height: 1.85;
}

/* ══ CIRCUS DIVIDER ══ */
.circus-divider { text-align: center; padding: 24px 0; }
.circus-divider span { color: var(--gold); opacity: 0.35; font-size: 0.9rem; letter-spacing: 0.5em; }

/* ══ NOTIFY / NEWSLETTER BAND ══ */
.notify-band {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 72px 0;
  text-align: center;
}
.notify-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 12px;
}
.notify-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 32px; }
.notify-form { display: flex; gap: 0; max-width: 440px; margin: 0 auto; }
.notify-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  padding: 14px 18px;
  outline: none;
}
.notify-input::placeholder { color: rgba(133,127,118,0.5); }
.notify-input:focus { border-color: var(--gold); }
.notify-btn {
  background: var(--gold);
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.notify-btn:hover { background: var(--gold-lt); }

/* ══ FOOTER ══ */
footer { background: var(--dark); padding: 52px 0 34px; border-top: 1px solid var(--border); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 44px;
}
.footer-logo-col .fl-img {
  height: 160px;
  width: auto;
  mix-blend-mode: screen;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 0 16px rgba(201,168,76,0.18));
}
.footer-logo-col .fl-txt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 12px;
}
.footer-about { font-size: 0.78rem; color: var(--muted); line-height: 1.7; margin-bottom: 18px; max-width: 270px; }
.footer-address { font-size: 0.73rem; color: rgba(237,232,223,0.3); line-height: 1.9; }
.footer-col h4 {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.85;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 0.76rem; color: rgba(237,232,223,0.38); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--cream); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(201,168,76,0.5);
  transition: color 0.2s, transform 0.2s;
}
.social-link:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.65rem; color: rgba(237,232,223,0.18); letter-spacing: 0.04em; }
.footer-bottom a { color: rgba(201,168,76,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* Simple footer variant (sitemap, utility pages) */
footer.footer-simple { padding: 40px 0 28px; }
footer.footer-simple .footer-bottom { border-top: none; padding-top: 0; }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .container { padding: 0 32px; }
  nav { padding: 0 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .notify-form { flex-direction: column; }
  .notify-input { border-right: 1px solid var(--border); border-bottom: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  nav { padding: 0 12px; }
  .nav-wm-link img { height: 40px; }
  .nav-hamburger { display: block; }
  .nav-right { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: rgba(8,8,15,0.98); border-bottom: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height 0.3s ease; gap: 0; }
  nav.mobile-open .nav-right { max-height: 1200px; }
  .nav-links { flex-direction: column; gap: 0; flex-wrap: nowrap; width: 100%; padding: 12px 0; }
  .nav-links li { border-bottom: 1px solid var(--border2); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 12px 20px; font-size: 0.65rem; }
  .nav-links .dropdown { position: static; display: none; padding-left: 20px; background: transparent; border: none; backdrop-filter: none; }
  .nav-links li.has-dropdown.open .dropdown { display: block; }
  .nav-links li.has-dropdown > a::after { display: none; }
  .lang-btn { padding: 12px 20px; font-size: 0.55rem; border: none; background: transparent; text-align: left; width: 100%; border-top: 1px solid var(--border2); }
  .nav-right > a.btn { padding: 12px 20px; font-size: 0.6rem; text-align: left; border-top: 1px solid var(--border2); display: block; width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
