/* ═══════════════════════════════════════════════════════
   Danny El Films — Shared Styles
   ═══════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #C9A96E;
  --gold-light: #E2C992;
  --gold-dark: #A88B4A;
  --black: #0A0A0A;
  --black-soft: #111111;
  --black-card: #161616;
  --black-border: #222222;
  --white: #F5F0EB;
  --white-dim: #B8B0A4;
  --grey: #888078;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── GRAIN OVERLAY ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  contain: strict;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ─── NAVIGATION ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--white-dim);
  text-decoration: none;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-back {
  color: var(--gold) !important;
  font-weight: 400 !important;
}
.nav-back::before {
  content: '\2190 ';
}
.nav-cta {
  font-family: var(--font-body) !important;
  font-size: 0.7rem !important;
  color: var(--black) !important;
  background: var(--gold) !important;
  padding: 0.6rem 1.8rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Mobile hamburger */
.hamburger {
  display: none; cursor: pointer; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 5px; z-index: 1001;
}
.hamburger span {
  width: 24px; height: 1.5px; background: var(--gold);
  transition: all 0.3s ease; display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── PAGE HERO (booking & store) ─── */
.page-hero {
  padding: 10rem 2rem 4rem;
  text-align: center;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero-overline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 300;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1rem;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.page-hero-title em { font-style: italic; color: var(--gold); }
.page-hero-sub {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  color: var(--white-dim);
  font-weight: 300;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 1rem 2.8rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,169,110,0.2); }
.btn-outline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  padding: 1rem 2.8rem;
  text-decoration: none;
  font-weight: 400;
  border: 1px solid rgba(201,169,110,0.4);
  transition: all 0.3s ease;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201,169,110,0.08); transform: translateY(-2px); }

/* ─── FOOTER BASE ─── */
footer {
  background: var(--black);
  border-top: 1px solid var(--black-border);
}
footer a {
  color: var(--gold); text-decoration: none;
  transition: color 0.3s;
}
footer a:hover { color: var(--gold-light); }

/* ─── FOCUS INDICATORS ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.checkbox-item:has(input:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE NAV ─── */
@media (max-width: 968px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--black-soft);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    border-left: 1px solid var(--black-border);
    transition: right 0.4s ease;
  }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; }
}
