/* 1939 Bistro Bar & Pizzeria — custom styles (Noximo) */
/* Blueprint: poster / menu-first — type-led hero, ticker, tabbed menu,
   parallax stats band, scroll-snap gallery, combined visit section. */

:root {
  --brand-gold: #e8a33d;
  --brand-dark: #191919;
  --brand-dark-2: #222222;
  --brand-cream: #faf6ef;
  --body-font: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --heading-font: "Oswald", Impact, sans-serif;
}

body {
  font-family: var(--body-font);
  color: #2b2b2b;
  background-color: var(--brand-cream);
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3, .navbar-brand, .footer-brand, .stat-number {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: .03em;
}

h2 { font-weight: 600; margin-bottom: .75rem; }

/* Navbar — always solid */
#mainNav {
  background-color: rgba(25, 25, 25, .97);
  border-bottom: 2px solid var(--brand-gold);
  padding-top: .6rem;
  padding-bottom: .6rem;
}
#mainNav .navbar-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-gold);
}
#mainNav .navbar-brand span { color: #fff; font-weight: 500; }
#mainNav .nav-link {
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
  letter-spacing: .02em;
}
#mainNav .nav-link:hover, #mainNav .nav-link:focus { color: var(--brand-gold); }

.btn-brand {
  background-color: var(--brand-gold);
  border-color: var(--brand-gold);
  color: #191919;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.btn-brand:hover, .btn-brand:focus {
  background-color: #d18f28;
  border-color: #d18f28;
  color: #191919;
}

/* Stepped video hero: one scroll gesture = next story block; the video
   plays itself (native 30fps) to each block's checkpoint. */
.scrub-wrap {
  position: relative;
  height: 100vh;
  background-color: var(--brand-dark);
}
.scrub-sticky {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.scrub-intro, .scrub-story .story-step, .scrub-outro {
  transition: opacity .4s ease, transform .4s ease;
}
.stage-active { opacity: 1 !important; transform: translateY(0) !important; }
.stage-above { opacity: 0 !important; transform: translateY(-30px) !important; pointer-events: none; }
.stage-below { opacity: 0 !important; transform: translateY(30px) !important; pointer-events: none; }
.scrub-wrap.finished .scrub-hint { opacity: 0; }
.scrub-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scrub-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, .6) 0%, rgba(15, 15, 15, .25) 45%, rgba(25, 25, 25, .7) 100%);
}
.scrub-intro {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.hero-kicker {
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 1.25rem;
}
.scrub-intro h1 { line-height: .95; margin-bottom: 0; }
.hero-year {
  display: block;
  font-size: clamp(4.5rem, 12vw, 8rem);
  font-weight: 700;
  color: var(--brand-gold);
  -webkit-text-stroke: 2px var(--brand-gold);
  line-height: .9;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
}
.hero-name {
  display: block;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 600;
  color: #fff;
  margin-top: .5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .5);
}
.hero-tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .9);
  max-width: 34rem;
  margin-top: 1.25rem;
}
.scrub-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 600;
  font-size: .8rem;
  animation: hint-bob 2.2s ease-in-out infinite;
  transition: opacity .4s ease;
}
@keyframes hint-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, .4rem); } }
.scrub-story .story-step {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16%;
  padding: 0 1.5rem;
  text-align: center;
  opacity: 0;
  will-change: opacity, transform;
}
.story-kicker {
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-weight: 700;
  font-size: .8rem;
  margin-bottom: .5rem;
}
.story-text {
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  max-width: 38rem;
  margin: 0 auto;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .65);
}
.scrub-outro {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3.5rem;
  color: #fff;
  opacity: 0;
}
.scrub-outro-title {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-gold);
  text-shadow: 0 4px 20px rgba(0, 0, 0, .6);
}
/* Reduced motion: no pinning, no scrubbing — a single-screen hero */
@media (prefers-reduced-motion: reduce) {
  .scrub-wrap { height: 100vh; }
  .scrub-sticky { position: relative; }
  .scrub-hint { animation: none; display: none; }
  .scrub-story { display: none; }
}

/* Ticker */
.ticker {
  background: var(--brand-gold);
  color: #191919;
  overflow: hidden;
  border-bottom: 2px solid #191919;
}
.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: .55rem 0;
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .12em;
  animation: ticker 24s linear infinite;
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* Sections */
.section { padding: 5.5rem 0; }
.section-dark {
  background-color: var(--brand-dark);
  color: #e9e4da;
}
.section-dark h2 { color: #fff; }
.section-kicker {
  color: #b5872f;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: .5rem;
}
.section-dark .section-kicker { color: var(--brand-gold); }
.lead-copy { font-size: 1.15rem; font-weight: 600; }

/* Menu tabs */
.menu-tabs { gap: .5rem; }
.menu-tabs .nav-link {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  color: #2b2b2b;
  border: 2px solid #191919;
  border-radius: 2rem;
  padding: .5rem 1.6rem;
}
.menu-tabs .nav-link.active {
  background-color: #191919;
  color: var(--brand-gold);
  border-color: #191919;
}
.menu-panel {
  background: #fff;
  border: 2px solid #191919;
  border-radius: .75rem;
  padding: 2rem;
  box-shadow: 8px 8px 0 rgba(232, 163, 61, .8);
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: .55rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, .15);
  font-weight: 600;
}
.menu-list li:last-child { border-bottom: 0; }
.menu-list li small { display: block; color: #8a8378; font-size: .8rem; font-weight: 400; }
.menu-list .dots { flex: 1; border-bottom: 1px dotted rgba(0, 0, 0, .3); }
.menu-list .price { color: #b5872f; font-weight: 700; white-space: nowrap; }
.menu-photo { width: 100%; object-fit: cover; }
.menu-note { color: #8a8378; font-size: .9rem; }
.menu-note a { color: #b5872f; }

/* Stats band */
.stats-band {
  position: relative;
  padding: 4.5rem 0;
  color: #fff;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 8, .82);
}
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-gold);
  margin-bottom: .25rem;
}
.stat-number .bi { font-size: 2.4rem; }
.stat-label { color: rgba(255, 255, 255, .85); }

/* Gallery strip */
.scroll-hint {
  color: #8a8378;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.gallery-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(1.5rem, calc((100vw - 1320px) / 2)) 2.5rem;
  scrollbar-color: var(--brand-gold) transparent;
}
.gallery-strip img {
  flex: 0 0 auto;
  width: min(72vw, 460px);
  height: auto;
  border-radius: .5rem;
  scroll-snap-align: center;
}

/* Visit */
.visit-list { list-style: none; margin: 0; padding: 0; }
.visit-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-weight: 600;
}
.visit-list li:last-child { border-bottom: 0; }
.visit-list .bi { color: var(--brand-gold); font-size: 1.3rem; }
.visit-list a { color: #fff; text-decoration: none; }
.visit-list a:hover { color: var(--brand-gold); }
.visit-list small { color: rgba(255, 255, 255, .6); font-weight: 400; }
.map-frame {
  border: 2px solid var(--brand-gold);
  border-radius: .75rem;
  overflow: hidden;
}
.map-frame iframe { display: block; width: 100%; height: 420px; }

/* Footer */
.site-footer {
  background-color: #111;
  color: rgba(255, 255, 255, .75);
  padding: 2.5rem 0;
}
.site-footer a { color: var(--brand-gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { color: #fff; font-size: 1.15rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin: 0 .3rem;
  border: 1px solid rgba(232, 163, 61, .5);
  border-radius: 50%;
  font-size: 1.1rem;
}
.social-link:hover { background-color: var(--brand-gold); color: #191919 !important; }

/* QA: ?noanim reveals all AOS-hidden content for automated screenshots */
.no-anim [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 991.98px) {
  .hero { padding-top: 7.5rem; }
  .hero-photo { transform: rotate(0deg); margin-top: 1rem; }
}
@media (max-width: 575.98px) {
  .section { padding: 3.5rem 0; }
  .menu-panel { padding: 1.25rem; }
}

/* GDPR cookie consent banner — analytics loads only after Accept */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 720px;
  margin-inline: auto;
  background: #1d1d1f;
  color: rgba(255, 255, 255, .92);
  border-radius: .75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  font-size: .92rem;
}
.cookie-banner.show { display: flex; }
.cookie-banner .cookie-text { flex: 1 1 22rem; }
.cookie-banner .cookie-actions { display: flex; gap: .5rem; }
.footer-meta { font-size: .78rem; opacity: .65; }
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}

/* Legal pages (terms & privacy) */
.legal-page { padding: 8.5rem 0 5rem; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 2.7rem); margin-bottom: .5rem; }
.legal-updated { opacity: .6; font-size: .9rem; margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.25rem; margin: 2.25rem 0 .75rem; }
.legal-page p, .legal-page li { line-height: 1.75; }
.footer-meta a { color: inherit; text-decoration: underline; }
.topbar-solid { background-color: rgba(31, 78, 107, .96); box-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
