/* The Yard Family Fun Center — Dark red, black & gold. Section depth, overlays, high-end framework. */

:root {
  /* Dark red, black & gold palette */
  --black: #000000;
  --black-950: #0a0a0a;
  --black-900: #111111;
  --black-800: #1a1a1a;
  --red-dark: #5c0a0a;
  --red-mid: #7a1a1a;
  --red-velvet: #8b2222;
  --red-muted: #4a0808;
  --gold: #c5a059;
  --gold-light: #d4af37;
  --gold-dim: #a68b4a;
  --metal-dark: #1f1f1f;
  --metal: #2d2d2d;
  --metal-mid: #404040;
  --silver-light: #d4d4d4;
  --cream: #faf8f5;
  --white: #ffffff;

  --accent: var(--gold);
  --accent-alt: var(--gold-light);
  --theme-color: #5c0a0a;

  /* Section contrast: 60% black, 30% red, 10% gold — alternate to avoid red-on-red */
  --section-bg: var(--black-900);
  --section-bg-alt: var(--red-muted);
  --section-bg-ink: #0d0d0d; /* near-black for “black” sections */
  --section-fg: var(--cream);
  --section-fg-muted: rgba(250, 248, 245, 0.85);
  --section-divider: rgba(197, 160, 89, 0.2);
  --section-border: rgba(255, 255, 255, 0.06);

  --bg-primary: var(--black-950);
  --fg-primary: var(--cream);
  --border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(92, 10, 10, 0.92);
  --vivere-glass: var(--glass-bg);
  --vivere-blur: 12px;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  --font-main: 'Nunito Sans', system-ui, sans-serif;
  --font-display: 'Nunito Sans', system-ui, sans-serif;
  --font-label: 'Nunito Sans', system-ui, sans-serif;
  --text-base: clamp(1rem, 0.95rem + 0.4vw, 1.125rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.3vw, 1rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.6vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(2rem, 1.6rem + 1.5vw, 3rem);
  --text-hero: clamp(2.5rem, 4vw + 2rem, 4.5rem);
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-section: 0 1px 0 var(--section-divider);
  --overlay: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(92,10,10,0.4) 50%, rgba(0,0,0,0.8) 100%);
  /* Wave divider (fill via currentSection — set on section) */
  --wave-height: 64px;
  --wave-fill-alt: #4a0808;
  --wave-fill: #111111;

  /* Fine-line background patterns (silhouette / line-art style, not solid) */
  --line-pattern-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cline x1='0' y1='12' x2='24' y2='12' stroke='%23c5a059' stroke-width='0.5' opacity='0.09' fill='none'/%3E%3C/svg%3E");
  --line-pattern-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cdefs%3E%3Cpattern id='g' width='40' height='40'%3E%3Cline x1='0' y1='0' x2='0' y2='40' stroke='%23c5a059' stroke-width='0.35' opacity='0.06'/%3E%3Cline x1='0' y1='0' x2='40' y2='0' stroke='%23c5a059' stroke-width='0.35' opacity='0.06'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/svg%3E");
  --line-pattern-diag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cline x1='0' y1='0' x2='32' y2='32' stroke='%23d4af37' stroke-width='0.4' opacity='0.07'/%3E%3Cline x1='32' y1='0' x2='0' y2='32' stroke='%23d4af37' stroke-width='0.4' opacity='0.07'/%3E%3C/svg%3E");

  /* Thematic fine black-line patterns (chain link, baseball, pizza, beer, mini golf) */
  --pattern-chain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M0 14h28M14 0v28M2 2l24 24M26 2L2 26' stroke='%230a0a0a' stroke-width='0.4' opacity='0.07' fill='none'/%3E%3C/svg%3E");
  --pattern-baseball: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Ccircle cx='18' cy='18' r='14' stroke='%230a0a0a' stroke-width='0.35' opacity='0.06' fill='none'/%3E%3Cpath d='M18 4 Q28 18 18 32 Q8 18 18 4' stroke='%230a0a0a' stroke-width='0.3' opacity='0.06' fill='none'/%3E%3C/svg%3E");
  --pattern-pizza: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M16 2 L30 16 L16 30 L2 16 Z' stroke='%230a0a0a' stroke-width='0.35' opacity='0.06' fill='none'/%3E%3C/svg%3E");
  --pattern-mug: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='28'%3E%3Crect x='2' y='4' width='14' height='18' rx='1' stroke='%230a0a0a' stroke-width='0.4' opacity='0.06' fill='none'/%3E%3Cpath d='M16 8h4v10h-4' stroke='%230a0a0a' stroke-width='0.35' opacity='0.06' fill='none'/%3E%3C/svg%3E");
  --pattern-flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='28'%3E%3Cline x1='4' y1='4' x2='4' y2='24' stroke='%230a0a0a' stroke-width='0.4' opacity='0.06'/%3E%3Cpath d='M4 4 L18 10 L4 16 Z' stroke='%230a0a0a' stroke-width='0.35' opacity='0.06' fill='none'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .scroll-reveal { opacity: 1; transform: none !important; }
}

html { scroll-behavior: smooth; font-family: var(--font-main); font-size: 16px; }
body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  line-height: 1.65;
  font-size: var(--text-base);
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--accent);
  color: var(--white);
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--space-md); }

#main-content { scroll-margin-top: 88px; }

@media (max-width: 640px) {
  .container { padding-left: var(--space-lg); padding-right: var(--space-lg); }
  .section { padding: var(--space-4xl) 0; }
}

/* ----- Layout: container and sections (4px grid, clear breaks) ----- */
.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

/* Section rhythm: wave breaks (no parallel lines), depth, grid */
.section {
  padding: var(--space-5xl) 0;
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .section { padding: var(--space-5xl) 0 calc(var(--space-5xl) + var(--space-lg)); }
}
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--wave-height);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: top center;
  pointer-events: none;
  z-index: 0;
}
.section--wave-top::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64V44c150-24 300 24 450 12s300-36 450-12 300 24 450 0V64H0z' fill='%23111111'/%3E%3C/svg%3E");
}
.section--alt.section--wave-top::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64V44c150-24 300 24 450 12s300-36 450-12 300 24 450 0V64H0z' fill='%234a0808'/%3E%3C/svg%3E");
}
/* Geometric break: zigzag (no straight parallel lines between sections) */
.section--break-zigzag::before {
  height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48 L0 24 L150 12 L300 24 L450 12 L600 24 L750 12 L900 24 L1050 12 L1200 24 L1200 48 Z' fill='%23111111'/%3E%3C/svg%3E");
}
.section--alt.section--break-zigzag::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48 L0 24 L150 12 L300 24 L450 12 L600 24 L750 12 L900 24 L1050 12 L1200 24 L1200 48 Z' fill='%234a0808'/%3E%3C/svg%3E");
}
.section--alt {
  background: var(--section-bg-alt);
  color: var(--section-fg);
}
.section--alt .section-title { color: var(--cream); }
.section--alt .section-lead { color: var(--section-fg-muted); }
.section--alt .section-content { color: var(--section-fg); }

/* ----- Theme-matched section backgrounds: gradients + depth (no off-theme photos) ----- */
.section--themed {
  background-color: var(--black-900);
  position: relative;
}
.section--themed .section--themed-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.section--themed .container { position: relative; z-index: 2; }

/* Section backgrounds: dark base + fine-line silhouettes (no solid flat color blocks) */

/* Ink: near-black base + thin grid lines */
.section--themed-ink .section--themed-bg {
  background-color: var(--section-bg-ink);
  background-image: var(--line-pattern-grid);
  background-size: 40px 40px;
  background-repeat: repeat;
}
.section--themed-ink .section--themed-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(197,160,89,0.03) 50%, transparent 100%);
  pointer-events: none;
}
.section--themed-ink .section--depth-vignette {
  background: radial-gradient(ellipse 88% 75% at 50% 50%, transparent 50%, rgba(0,0,0,0.4) 100%);
}
.section--themed-ink .section-label { color: var(--gold-light); }
.section--themed-ink .section-head-accent { opacity: 0.95; }

/* Ink: also apply pattern to section when no inner bg div */
.section--themed-ink {
  background-color: var(--section-bg-ink);
  background-image: var(--line-pattern-grid);
  background-size: 40px 40px;
  background-repeat: repeat;
}

/* Velvet: dark base + horizontal line pattern (on section or inner bg div) */
.section--themed-velvet {
  background-color: var(--black-900);
  background-image: var(--line-pattern-h);
  background-size: 24px 24px;
  background-repeat: repeat;
}
.section--themed-velvet .section--themed-bg {
  background-color: var(--black-900);
  background-image: var(--line-pattern-h);
  background-size: 24px 24px;
  background-repeat: repeat;
}
.section--themed-velvet .section--themed-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, transparent 0%, rgba(74,8,8,0.15) 50%, transparent 100%);
  pointer-events: none;
}
.section--themed-velvet.section--alt .section--themed-bg {
  background-color: var(--black-800);
  background-image: var(--line-pattern-h);
  background-size: 24px 24px;
  background-repeat: repeat;
}
.section--themed-velvet.section--alt .section--themed-bg::after {
  background: linear-gradient(150deg, transparent 0%, rgba(74,8,8,0.2) 50%, transparent 100%);
}

/* Where families play: dartboard image (or gradient) + fine-line overlay to match */
.section--bg-dartboard.section--themed-velvet .section--themed-bg,
.section--bg-dartboard.section--themed-velvet.section--alt .section--themed-bg {
  background-color: var(--black-900);
  background-image: var(--line-pattern-h), linear-gradient(150deg, transparent 0%, rgba(74,8,8,0.12) 50%, transparent 100%), url("assets/dartboard.webp");
  background-size: 24px 24px, 100% 100%, cover;
  background-position: 0 0, 0 0, center;
  background-repeat: repeat, repeat, no-repeat;
}
.section--bg-dartboard .section--depth-vignette { display: none; }
.section--bg-dartboard .section--depth-grain {
  opacity: 0.025;
  background-image: var(--line-pattern-grid);
  background-size: 40px 40px;
}

/* Marble: dark base + diagonal line silhouette */
.section--themed-marble {
  background-color: var(--black-900);
  background-image: var(--line-pattern-diag);
  background-size: 32px 32px;
  background-repeat: repeat;
}
.section--themed-marble .section--themed-bg {
  background-color: var(--black-900);
  background-image: var(--line-pattern-diag);
  background-size: 32px 32px;
  background-repeat: repeat;
}
.section--themed-marble .section--themed-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(197,160,89,0.02) 50%, transparent 100%);
  pointer-events: none;
}

/* Abstract: dark base + diagonal lines */
.section--themed-abstract {
  background-color: var(--black-900);
  background-image: var(--line-pattern-diag);
  background-size: 32px 32px;
  background-repeat: repeat;
}
.section--themed-abstract .section--themed-bg {
  background-color: var(--black-900);
  background-image: var(--line-pattern-diag);
  background-size: 32px 32px;
  background-repeat: repeat;
}
.section--themed-abstract .section--themed-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(74,8,8,0.08) 100%);
  pointer-events: none;
}

/* Subtle gold line accent (replaces heavy gradient overlay) */
.section--themed .section--themed-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Depth: vignette (darker edges) */
.section--depth-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 80% at 50% 50%, transparent 40%, rgba(0,0,0,0.5) 100%);
}
.section--alt .section--depth-vignette {
  background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 35%, rgba(0,0,0,0.55) 100%);
}

/* Depth: very subtle line grid (replaces heavy grain so line silhouettes stay clean) */
.section--depth-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: var(--line-pattern-grid);
  background-size: 40px 40px;
  background-repeat: repeat;
}

/* Thematic fine-line layer: chain link, baseball, pizza, beer, mini golf (no parallel lines) */
.section--themed-motive {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  background-image: var(--pattern-chain), var(--pattern-baseball), var(--pattern-flag);
  background-size: 28px 28px, 36px 36px, 20px 28px;
  background-position: 0 0, 12px 8px, 24px 0;
  background-repeat: repeat, repeat, repeat;
}
.section--themed-motive::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern-pizza), var(--pattern-mug);
  background-size: 32px 32px, 24px 28px;
  background-position: 8px 16px, 20px 4px;
  background-repeat: repeat, repeat;
  opacity: 0.7;
}
@media (prefers-reduced-motion: no-preference) {
  .section--themed-motive {
    animation: motive-drift 45s linear infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  .section--themed-motive { animation: none; }
}
@keyframes motive-drift {
  0%, 100% { background-position: 0 0, 12px 8px, 24px 0; }
  50% { background-position: 14px 14px, 0 20px, 10px 14px; }
}

/* Optional: subtle dot grid + fine-line geometric depth (no parallel lines) */
.section--depth::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23c5a059' stroke-width='0.25' opacity='0.06' fill='none'/%3E%3Cpath d='M0 0l60 60M60 0L0 60' stroke='%23c5a059' stroke-width='0.2' opacity='0.04' fill='none'/%3E%3C/svg%3E"),
    radial-gradient(circle at 1px 1px, rgba(197,160,89,0.08) 1px, transparent 0);
  background-size: 60px 60px, 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.section--depth .container { position: relative; z-index: 1; }

/* Unified section header: title + curved accent (not a straight line) */
.section-head {
  margin-bottom: var(--space-xl);
  position: relative;
}
.section-head .section-title {
  margin-bottom: var(--space-md);
}
.section-head-accent {
  display: block;
  width: 80px;
  height: 4px;
  margin-top: var(--space-md);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, transparent 100%);
  transform: rotate(-1.2deg);
  transform-origin: left center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
/* Section label: small caps, gold, letter-spaced */
.section-label {
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  opacity: 0.95;
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--cream);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4), 0 0 1px rgba(0,0,0,0.5);
}
.section-lead {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--section-fg-muted);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: var(--space-xl);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.section-content {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--section-fg);
  max-width: 65ch;
}
.section-content a { color: var(--gold-light); text-decoration: none; font-weight: 500; }
.section-content a:hover { text-decoration: underline; }
.section-content a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* Content card: glass panel for text overlay and depth */
.content-card {
  padding: var(--space-2xl) var(--space-xl);
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(197, 160, 89, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}
.section--alt .content-card {
  background: rgba(74, 8, 8, 0.45);
  border-color: rgba(197, 160, 89, 0.24);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ----- Hero: dark red + black gradient, optional bg image, silhouette depth, gold CTA ----- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-xl);
  background-color: var(--black-900);
  background-image: var(--line-pattern-grid);
  background-size: 48px 48px;
  background-repeat: repeat;
  color: var(--white);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(197, 160, 89, 0.08);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-silhouette { z-index: 0; }
.hero-scrim { z-index: 1; }
.hero-inner { z-index: 2; }
.hero-wave { z-index: 3; }
/* Optional hero background image: add assets/hero-bg.webp and a .hero-bg div in HTML with background-image */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-bg.webp");
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-silhouette {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.08;
  color: rgba(255, 255, 255, 0.5);
}
.hero-silhouette svg {
  width: min(90vw, 520px);
  height: auto;
  max-height: 45vh;
}
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--wave-height);
  fill: var(--wave-fill-alt);
  pointer-events: none;
  z-index: 1;
}
/* Optional hero bg image (dark red/black theme): add to .hero — background-image: var(--overlay), url('https://images.unsplash.com/photo-xxx?w=1920&q=80'); */
.hero-title {
  position: relative;
  z-index: 2;
  margin: 0 auto var(--space-lg);
  line-height: 0;
  padding: 0;
  background: none;
  border: none;
}
.hero-title .hero-logo-img {
  display: block;
  width: 100%;
  max-width: min(520px, 90vw);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.95)) drop-shadow(0 2px 12px rgba(0,0,0,0.7)) drop-shadow(0 4px 28px rgba(0,0,0,0.5));
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) var(--space-2xl);
  border-radius: var(--radius-lg);
  background: var(--black-900);
  border: 1px solid rgba(197, 160, 89, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero-title .hero-title-accent { color: var(--gold-light); }
.hero-text-wrap {
  width: 100%;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-tagline {
  font-size: var(--text-lg);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-2xl);
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6), 0 2px 12px rgba(0,0,0,0.4);
}
.hero-cta {
  display: inline-block;
  padding: var(--space-md) var(--space-2xl);
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  color: var(--black-900);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 4px 16px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hero-cta:hover {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 24px rgba(0, 0, 0, 0.4);
}
.hero-cta:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(92, 10, 10, 0.5) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}

/* ----- Navbar ----- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}
.navbar--scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--vivere-blur));
  -webkit-backdrop-filter: blur(var(--vivere-blur));
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.navbar--scrolled .navbar-mobile a { color: var(--cream); }
.navbar--scrolled .navbar-mobile a:hover { color: var(--gold-light); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}
.navbar-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.navbar-logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
}
.navbar-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.25s ease;
}
.navbar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  transition: color 0.25s ease;
}
.navbar--scrolled .navbar-toggle { color: var(--fg-primary); }
.navbar-toggle:hover { opacity: 0.85; }
.navbar-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.navbar-mobile {
  display: none;
  gap: var(--space-lg);
}
.navbar-mobile a {
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--white);
  text-decoration: none;
  padding: var(--space-xs) 0;
  transition: color 0.2s ease;
}
.navbar-mobile a:hover { color: var(--accent); }
.navbar-mobile a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

@media (min-width: 768px) {
  .navbar-toggle { display: none; }
  .navbar-mobile {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .navbar-mobile.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--red-muted);
    backdrop-filter: blur(var(--vivere-blur));
    padding: var(--space-md);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  }
  .navbar-mobile.active a { color: var(--cream); }
}

/* ----- Top banner: hours + quick link ----- */
.top-banner {
  background: var(--red-muted);
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  padding: var(--space-xs) var(--space-md);
}
.top-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--section-fg-muted);
}
.top-banner-hours a {
  color: var(--gold-light);
  text-decoration: none;
}
.top-banner-hours a:hover { text-decoration: underline; }
.top-banner-link {
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}
.top-banner-link:hover { color: var(--gold-light); text-decoration: underline; }
.top-banner-link:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

@media (max-width: 480px) {
  .top-banner-inner { flex-direction: column; gap: var(--space-xs); }
}

/* ----- Form ----- */
.contact-form {
  max-width: 28rem;
}
.contact-form .field {
  margin-bottom: var(--space-lg);
}
.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--cream);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font: inherit;
  font-size: var(--text-base);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  color: var(--cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(250, 248, 245, 0.5); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { margin-top: var(--space-sm); }
.form-success-message {
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  border-radius: var(--radius);
  font-weight: 500;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  font: inherit;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn--primary {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--black-900);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.btn--primary:hover { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 100%); }
.btn--primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* ----- Footer: wave top, mini golf / sunset landscape background ----- */
/* Background: golf course at sunset (Unsplash, free to use) */
.site-footer {
  padding: var(--space-3xl) var(--space-xl);
  background-color: var(--red-muted);
  background-image: linear-gradient(180deg, rgba(74, 8, 8, 0.88) 0%, rgba(26, 18, 16, 0.92) 100%),
    url("https://images.unsplash.com/photo-1642407880973-c6125d5ee8b0?auto=format&fit=crop&w=1920&q=80");
  background-size: 100% 100%, cover;
  background-position: 0 0, center center;
  background-repeat: no-repeat, no-repeat;
  color: var(--section-fg-muted);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--wave-height);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0v20c150 24 300-24 450-12s300 36 450 12 300-24 450 0V0H0z' fill='%234a0808'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: top center;
  pointer-events: none;
  z-index: 1;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-head {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: var(--space-xs);
}
.footer-logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 200px;
  margin: 0 auto var(--space-md);
  object-fit: contain;
}
.footer-head-accent {
  display: block;
  width: 64px;
  height: 3px;
  margin: var(--space-sm) auto var(--space-md);
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  transform: rotate(-1deg);
}
.footer-copy {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--section-fg-muted);
}
.footer-copy a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.footer-copy strong { color: var(--cream); }
.footer-nav {
  display: flex;
  gap: var(--space-xl);
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
}
.footer-nav a:hover { color: var(--accent); }
.footer-nav a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.footer-credit {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(250, 248, 245, 0.4);
}

/* ----- Inner pages: dark theme, section breaks ----- */
.page-intro {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  background: var(--section-bg);
  position: relative;
}
.page-intro .section-head { margin-bottom: var(--space-lg); }
.page-intro .section-title { margin-bottom: var(--space-md); color: var(--cream); }
.page-intro .section-head-accent { margin-left: 0; }
.lead {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--section-fg-muted);
  max-width: 60ch;
  line-height: 1.65;
  margin-bottom: var(--space-xl);
}
.prose {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--section-fg);
  margin-bottom: var(--space-lg);
  max-width: 65ch;
}
.prose a { color: var(--gold-light); }

/* Amenity cards: wave or depth (no parallel lines); with section--bg keep image visible */
.amenity {
  padding: var(--space-3xl) 0;
  background: var(--section-bg);
  position: relative;
}
.amenity + .amenity::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 100%;
  pointer-events: none;
}
.amenity + .amenity:nth-of-type(odd)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V32c200-16 400 16 600 0s400-16 600 0v16H0z' fill='%23111111'/%3E%3C/svg%3E");
}
.amenity + .amenity:nth-of-type(even)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V32c200-16 400 16 600 0s400-16 600 0v16H0z' fill='%234a0808'/%3E%3C/svg%3E");
}
.amenity .container:not(.content-card) {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(197, 160, 89, 0.2);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(197, 160, 89, 0.06);
}
.amenity .container.content-card {
  padding: var(--space-2xl) var(--space-xl);
}
.amenity-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.amenity-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  color: var(--gold);
}
.amenity .prose { margin-bottom: 0; color: var(--section-fg-muted); }
.amenity .amenity-prose { text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.section.cta {
  background-color: var(--black-900);
  position: relative;
}
.section.cta.section--themed .section--themed-bg {
  background-color: var(--black-900);
  background-image: var(--line-pattern-diag);
  background-size: 32px 32px;
  background-repeat: repeat;
}
.section.cta.section--themed .section--themed-bg::after {
  background: linear-gradient(175deg, transparent 0%, rgba(74,8,8,0.12) 50%, transparent 100%);
}
.section.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V28c150-20 350 20 600 0s450-20 600 0v20H0z' fill='%234a0808'/%3E%3C/svg%3E") no-repeat top center;
  background-size: 100% 100%;
  pointer-events: none;
}
.section.cta .lead { color: var(--section-fg-muted); }
.section.cta .lead a { color: var(--gold-light); }
.btn--outline {
  background: transparent;
  color: var(--gold-light);
  border: 2px solid var(--gold);
  font-weight: 600;
}
.btn--outline:hover { background: rgba(197, 160, 89, 0.15); color: var(--gold-light); }

/* ----- Navbar on inner pages: dark red/black ----- */
body:not(.has-hero) .navbar {
  background: var(--red-muted);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}
body:not(.has-hero) .navbar-mobile a { color: var(--cream); }
body:not(.has-hero) .navbar-mobile a:hover { color: var(--gold-light); }

/* ----- Scroll reveal (sections / content blocks, not cards) ----- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
