/* ─────────────────────────────────────────────
   The Library Pizza & Sports Bar — Shared CSS
   ───────────────────────────────────────────── */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0f0d0a;
  --bg2:       #161310;
  --bg3:       #1e1a14;
  --gold:      #c9973a;
  --gold-lt:   #e0b55a;
  --cream:     #e8dfc8;
  --cream-dim: #b0a488;
  --border:    rgba(201,151,58,0.18);
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--cream); font-family: var(--sans); overflow-x: hidden; line-height: 1.6; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }

/* ── SCROLL REVEAL ──
   Content is visible by default (no CSS-based hiding) so it can never get
   stuck invisible if JS fails or is slow to run. The reveal script applies
   the hidden state itself via inline styles at runtime, then removes it
   via IntersectionObserver, so hiding only ever happens when the reveal
   script has actually started running. */
.reveal { transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1 !important; transform: none !important; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lineGrow {
  0%, 100% { opacity: 0.2; transform: scaleY(0.6); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(15,13,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
/* Homepage nav starts transparent, turns opaque on scroll */
#navbar {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  transition: background 0.4s, backdrop-filter 0.4s;
}
#navbar.scrolled {
  background: rgba(15, 13, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dim); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-lt); }
.nav-cta {
  background: var(--gold) !important; color: #0f0d0a !important;
  padding: 0.55rem 1.3rem; border-radius: 2px; font-weight: 600;
  font-size: 0.8rem !important; letter-spacing: 0.1em !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: all 0.3s; }

/* ── PAGE HEADER (interior pages) ── */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-header-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; z-index: 0;
}
.page-header-overlay { position: absolute; inset: 0; background: rgba(15,13,10,0.72); z-index: 1; }
.page-header-content { position: relative; z-index: 2; }
.page-eyebrow { font-size: 0.72rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.page-title { font-family: var(--serif); font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 700; line-height: 1.05; color: var(--cream); margin-bottom: 1rem; }
.page-lead { font-size: 1rem; color: var(--cream-dim); line-height: 1.75; max-width: 560px; margin: 0 auto 1.5rem; }
.page-hours { font-size: 0.88rem; color: var(--cream-dim); }
.page-hours a { color: var(--gold); border-bottom: 1px solid rgba(201,151,58,0.3); padding-bottom: 1px; transition: border-color 0.2s; }
.page-hours a:hover { border-color: var(--gold); }

/* ── COMMON SECTION ── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.72rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.section-title { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.15; margin-bottom: 1.2rem; color: var(--cream); }
.section-lead { color: var(--cream-dim); max-width: 560px; line-height: 1.75; font-size: 1rem; }
.section-sub { color: var(--cream-dim); font-size: 0.9rem; margin-bottom: 0.25rem; line-height: 1.7; }
.section-note { font-size: 0.8rem; color: var(--cream-dim); font-style: italic; opacity: 0.75; margin-bottom: 3rem; }
.section-cta { text-align: center; margin-top: 3rem; }
.divider { width: 48px; height: 2px; background: var(--gold); margin: 1.5rem 0; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #0f0d0a;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--cream);
  padding: 0.85rem 2rem;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(232, 223, 200, 0.35);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }

/* ── SHARED FORM ELEMENTS ── */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-dim); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--cream);
  padding: 0.8rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(176, 164, 136, 0.45); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 130px; }
.checkbox-row { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; }
.checkbox-row input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  accent-color: var(--gold); cursor: pointer;
  background: var(--bg3); border: 1px solid var(--border);
}
.checkbox-row span { font-size: 0.85rem; color: var(--cream-dim); }
.form-success {
  display: none;
  padding: 1rem 1.3rem;
  background: rgba(201, 151, 58, 0.1);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.form-success p { color: var(--gold); font-size: 0.9rem; }

/* ── SHARED CONTACT INFO BLOCKS ── */
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-block h4 {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.7rem;
}
.contact-block p { color: var(--cream-dim); font-size: 0.95rem; line-height: 1.75; }
.contact-block a { color: var(--gold); transition: color 0.2s; }
.contact-block a:hover { color: var(--gold-lt); }

/* ── SHARED EVENT CARDS ── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.event-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s;
}
.event-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.event-card-img { height: 180px; overflow: hidden; }
.event-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s; display: block;
}
.event-card:hover .event-card-img img { transform: scale(1.04); }
.event-card-body { padding: 1.3rem; }
.event-date { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.event-title { font-family: var(--serif); font-size: 1.1rem; color: var(--cream); margin-bottom: 0.5rem; }
.event-desc { font-size: 0.82rem; color: var(--cream-dim); line-height: 1.55; margin-bottom: 0.75rem; }
.event-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(201, 151, 58, 0.1);
  border: 1px solid var(--border);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
}

/* ── SHARED TOPPING CHIPS ── */
.topping-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.topping-chip {
  font-size: 0.78rem; padding: 0.35rem 0.85rem;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--cream-dim); border-radius: 1px;
}

/* ── FOOTER ── */
footer { background: var(--bg2); border-top: 1px solid var(--border); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}
.footer-logo-img { height: 90px; width: auto; display: block; margin-bottom: 1.2rem; }
.footer-brand-desc { font-size: 0.82rem; color: var(--cream-dim); line-height: 1.7; opacity: 0.75; }
.footer-col h5 { font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.footer-col p, .footer-col a { font-size: 0.84rem; color: var(--cream-dim); line-height: 1.8; }
.footer-col a:hover { color: var(--gold-lt); }
.footer-col em { font-style: italic; opacity: 0.65; font-size: 0.78rem; }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.25rem 2rem; text-align: center; }
.footer-bottom p { font-size: 0.78rem; color: var(--cream-dim); opacity: 0.55; }

/* ── MAP WRAP ── */
.map-wrap {
  border-radius: 2px; overflow: hidden;
  border: 1px solid var(--border); height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; display: block; border: none; filter: grayscale(1) brightness(0.75) contrast(1.2); }


/* ═══════════════════════════════════════════════
   HOMEPAGE (index.html)
   ═══════════════════════════════════════════════ */

/* ── HERO ── */
#hero {
  position: relative;
  height: 100vh; min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -10%;
  background-image: url("../images/library-band-bar.webp");
  background-size: cover; background-position: center;
  filter: brightness(0.5); transform: scale(1.12); will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,13,10,0.1) 0%, rgba(15,13,10,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 2rem; max-width: 860px; }
.hero-eyebrow {
  font-size: 0.78rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.9s 0.3s forwards;
}
.hero-title {
  font-family: var(--serif); font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900; line-height: 1.05; color: var(--cream); margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.9s 0.5s forwards;
}
.hero-title em { font-style: italic; color: var(--gold-lt); }
.hero-sub {
  font-size: 1.05rem; color: var(--cream-dim); max-width: 520px;
  margin: 0 auto 2.5rem; line-height: 1.7;
  opacity: 0; animation: fadeUp 0.9s 0.7s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.9s 0.9s forwards;
}
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--cream-dim); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0; animation: fadeUp 1s 1.2s forwards;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: lineGrow 1.5s 1.5s ease-in-out infinite;
}

/* ── HOMEPAGE INTRO BAND ── */
#intro {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem; text-align: center;
}
.intro-quote {
  font-family: var(--serif); font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 400; font-style: italic; color: var(--cream);
  max-width: 800px; margin: 0 auto 1.5rem; line-height: 1.5;
}
.intro-sub { color: var(--cream-dim); font-size: 0.95rem; max-width: 520px; margin: 0 auto; }

/* ── HOMEPAGE MENU PREVIEW ── */
#menu { background: var(--bg); }
.menu-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem 5rem; margin-top: 3.5rem;
}
.menu-col-title {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
  color: var(--gold-lt); margin-bottom: 1.5rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}
.menu-item {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; padding: 0.9rem 0;
  border-bottom: 1px solid rgba(201,151,58,0.08);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-info { flex: 1; }
.menu-item-name { font-family: var(--serif); font-size: 1.05rem; color: var(--cream); margin-bottom: 0.2rem; }
.menu-item-desc { font-size: 0.82rem; color: var(--cream-dim); line-height: 1.5; }
.menu-item-price { font-size: 0.95rem; color: var(--gold); font-weight: 600; white-space: nowrap; }
.menu-img { margin-top: 3rem; border-radius: 2px; overflow: hidden; height: 450px; }
.menu-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── HOMEPAGE ENTERTAINMENT PREVIEW ── */
#entertainment { background: var(--bg2); border-top: 1px solid var(--border); }
.ent-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; margin-top: 3rem;
}
.ent-img { border-radius: 2px; overflow: hidden; height: 640px; }
.ent-img img { width: 100%; height: 100%; object-fit: cover; }
.ent-features { display: flex; flex-direction: column; gap: 1.8rem; }
.ent-feature { display: flex; gap: 1.2rem; align-items: flex-start; }
.ent-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(201,151,58,0.12); border: 1px solid var(--border);
  border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.ent-feature h4 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--cream); }
.ent-feature p { font-size: 0.88rem; color: var(--cream-dim); line-height: 1.6; }

/* ── HOMEPAGE DRINKS ── */
#drinks { background: var(--bg); border-top: 1px solid var(--border); }
.drinks-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; margin-top: 3rem;
}
.drinks-list { display: flex; flex-direction: column; gap: 1.2rem; }
.drink-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 2px; padding: 1.2rem 1.4rem; transition: border-color 0.2s;
}
.drink-card:hover { border-color: var(--gold); }
.drink-card-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.3rem; }
.drink-name { font-family: var(--serif); font-size: 1rem; color: var(--cream); }
.drink-price { color: var(--gold); font-size: 0.9rem; font-weight: 600; }
.drink-desc { font-size: 0.82rem; color: var(--cream-dim); }
.drink-group-label {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin: 0.6rem 0 0.1rem;
}
.drink-group-label:first-child { margin-top: 0; }
.drinks-img { border-radius: 2px; overflow: hidden; height: 480px; }
.drinks-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── HOMEPAGE EVENTS SECTION ── */
#events { background: var(--bg2); border-top: 1px solid var(--border); }
.events-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
}
/* homepage event cards: no text-decoration, slightly different behaviour */
#events .event-card { display: block; text-decoration: none; }

/* ── HOMEPAGE CONTACT SECTION ── */
#contact { background: var(--bg); border-top: 1px solid var(--border); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; margin-top: 3rem;
}

/* ── HOMEPAGE LIBRARY CARD SECTION ── */
#library-card {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 2rem; text-align: center;
}
#library-card .section-inner { max-width: 820px; }
.card-headline {
  font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700; color: var(--cream); line-height: 1.1; margin-bottom: 0.75rem;
}
.card-headline em { font-style: italic; color: var(--gold-lt); }
.card-tagline { font-size: 1rem; color: var(--cream-dim); margin-bottom: 3rem; line-height: 1.7; }
.stamp-row {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0.75rem; margin: 0 auto 1rem; max-width: 660px;
}
.stamp {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid rgba(201,151,58,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold); background: var(--bg2); flex-shrink: 0;
}
.stamp.earned { background: rgba(201,151,58,0.12); border-color: var(--gold); }
.stamp.free-pizza {
  width: 62px; height: 62px;
  background: var(--gold); border-color: var(--gold-lt); color: #0f0d0a;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  flex-direction: column; gap: 0; line-height: 1.1;
}
.stamp-caption { font-size: 0.78rem; color: var(--cream-dim); font-style: italic; margin-bottom: 3rem; opacity: 0.7; }
.card-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; border-top: 1px solid var(--border);
  padding-top: 2.5rem; text-align: left;
}
.card-step-num {
  font-family: var(--serif); font-size: 2rem; font-weight: 700;
  color: var(--gold); opacity: 0.4; line-height: 1; margin-bottom: 0.6rem;
}
.card-step-title { font-size: 0.95rem; font-weight: 600; color: var(--cream); margin-bottom: 0.35rem; }
.card-step-desc { font-size: 0.82rem; color: var(--cream-dim); line-height: 1.65; }

/* ── HOMEPAGE FIND US / MAP ── */
#find-us { border-top: 1px solid var(--border); line-height: 0; position: relative; }
#find-us iframe { display: block; width: 100%; height: 420px; border: none; filter: grayscale(1) brightness(0.75) contrast(1.2); }
.map-directions-link {
  position: absolute; bottom: 1.25rem; right: 1.25rem;
  background: var(--gold); color: #0f0d0a;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.55rem 1.1rem; text-decoration: none; line-height: 1; transition: background 0.2s;
}
.map-directions-link:hover { background: var(--gold-lt); }

/* ── HOMEPAGE PHOTO PARALLAX STRIP ── */
#photo-strip-wrap { background: var(--bg); padding: 5rem 0; position: relative; }
#photo-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: 60vh; min-height: 380px; position: relative; gap: 0;
}
.para-panel {
  position: relative; overflow: hidden;
  border-right: 2px solid rgba(255,255,255,0.35);
}
.para-panel:last-child { border-right: none; }
.para-panel::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(15,13,10,0.22); z-index: 1; pointer-events: none;
}
.para-bg {
  position: absolute; inset: -22% 0;
  background-size: cover; background-position: center; will-change: transform;
}
#strip-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; text-align: center;
  pointer-events: none; line-height: 1; white-space: nowrap; will-change: transform;
}
.strip-script {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.8rem); color: rgba(232,223,200,0.82);
  letter-spacing: 0.02em; margin-bottom: -0.15em;
}
.strip-bold {
  display: block; font-family: var(--sans); font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900; color: rgba(255,255,255,0.92);
  letter-spacing: -0.02em; text-transform: uppercase; line-height: 0.88;
  -webkit-text-stroke: 1px rgba(255,255,255,0.6);
}
.strip-sub {
  display: block; font-family: var(--sans); font-size: clamp(0.55rem, 1.1vw, 0.9rem);
  font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-top: 0.6em; opacity: 0.9;
}
.footer-brand img { width: 170px; height: auto; }


/* ═══════════════════════════════════════════════
   MENU PAGE (menu.html)
   ═══════════════════════════════════════════════ */

/* Page header override: taller with bottom-align */
.menu-page-header { padding: 9rem 2rem 5.5rem; min-height: 340px; align-items: center; display: flex; flex-direction: column; justify-content: flex-end; }

/* Sticky section tabs */
.menu-nav {
  position: sticky; top: 57px; z-index: 50;
  background: rgba(15,13,10,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: center; gap: 0;
}
.menu-nav a {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-dim); padding: 1rem 2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.menu-nav a:hover { color: var(--gold-lt); }
.menu-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

.menu-section { padding: 5rem 2rem; }
.menu-section + .menu-section { border-top: 1px solid var(--border); }

/* Pie grid */
.pie-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5px; background: var(--border); border: 1px solid var(--border);
}
.pie-card {
  background: var(--bg2); padding: 1.75rem 2rem;
  display: flex; flex-direction: column; gap: 0.5rem; transition: background 0.2s;
}
.pie-card:hover { background: var(--bg3); }
.pie-header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.pie-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--cream); line-height: 1.2; }
.pie-price { font-size: 0.82rem; font-weight: 600; color: var(--gold); letter-spacing: 0.05em; white-space: nowrap; flex-shrink: 0; }
.pie-desc { font-size: 0.875rem; color: var(--cream-dim); line-height: 1.6; }

/* Bites grid */
.bites-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5px; background: var(--border); border: 1px solid var(--border);
}
.bite-card {
  background: var(--bg2); padding: 1.75rem 2rem;
  display: flex; flex-direction: column; gap: 0.45rem; transition: background 0.2s;
}
.bite-card:hover { background: var(--bg3); }
.bite-header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.bite-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--cream); }
.bite-price { font-size: 0.82rem; font-weight: 600; color: var(--gold); letter-spacing: 0.05em; white-space: nowrap; flex-shrink: 0; }
.bite-desc { font-size: 0.875rem; color: var(--cream-dim); line-height: 1.6; }
.bite-note { font-size: 0.8rem; color: var(--cream-dim); font-style: italic; opacity: 0.75; }

/* Build your own */
.byo-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.byo-col h3 {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--cream);
  margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}
.crust-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.crust-item {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 1.1rem 1.5rem; background: var(--bg2); border: 1px solid var(--border);
  gap: 1rem; flex-wrap: wrap;
}
.crust-name { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--cream); }
.crust-note { font-size: 0.78rem; color: var(--cream-dim); font-style: italic; margin-top: 0.15rem; }
.crust-price { font-size: 0.82rem; font-weight: 600; color: var(--gold); letter-spacing: 0.05em; white-space: nowrap; flex-shrink: 0; }
.crust-include { font-size: 0.8rem; color: var(--cream-dim); margin-top: 0.4rem; font-style: italic; opacity: 0.8; }
.topping-group { margin-bottom: 2rem; }
.topping-group-label {
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}
.topping-price-tag { font-size: 0.8rem; color: var(--cream-dim); margin-bottom: 1rem; font-style: italic; }

/* Sizes note */
.sizes-note {
  display: inline-flex; align-items: center; gap: 1rem;
  background: var(--bg3); border: 1px solid var(--border);
  padding: 0.6rem 1.2rem; margin-bottom: 2.75rem;
  font-size: 0.8rem; color: var(--cream-dim);
}
.sizes-note strong { color: var(--cream); font-weight: 600; }

/* Library card banner (menu page) */
#library-card-banner {
  background: var(--bg3); border-top: 1px solid var(--border);
  padding: 4rem 2rem; text-align: center;
}
#library-card-banner .section-inner { max-width: 700px; }
.lc-eyebrow { font-size: 0.68rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.lc-headline { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--cream); margin-bottom: 0.75rem; }
.lc-headline em { font-style: italic; color: var(--gold-lt); }
.lc-body { font-size: 0.9rem; color: var(--cream-dim); line-height: 1.75; max-width: 480px; margin: 0 auto 2rem; }
.lc-stamps { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.lc-stamp {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid rgba(201,151,58,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold); background: var(--bg2); flex-shrink: 0;
}
.lc-stamp.filled { background: rgba(201,151,58,0.12); border-color: var(--gold); }
.lc-stamp.free {
  background: var(--gold); border-color: var(--gold-lt); color: #0f0d0a;
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  flex-direction: column; line-height: 1.1;
}
.lc-note { font-size: 0.78rem; color: var(--cream-dim); font-style: italic; opacity: 0.65; }


/* ═══════════════════════════════════════════════
   CONTACT PAGE (contact.html)
   ═══════════════════════════════════════════════ */

#contact-form-section { background: var(--bg); }
#contact-form-section .section-inner,
#location .section-inner { max-width: 1000px; }

.contact-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: start;
}
/* Contact page: info blocks need slightly more spacing */
#contact-form-section .contact-info { gap: 2.5rem; }
.contact-form .btn-primary { align-self: flex-start; }

#location { background: var(--bg2); border-top: 1px solid var(--border); }
.location-layout {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 4rem; align-items: start;
}
.location-details { display: flex; flex-direction: column; gap: 2rem; }
.location-block h4 {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.7rem;
}
.location-block p { color: var(--cream-dim); font-size: 0.95rem; line-height: 1.75; }
.location-block a { color: var(--gold); }


/* ═══════════════════════════════════════════════
   ENTERTAINMENT PAGE (entertainment.html)
   ═══════════════════════════════════════════════ */

/* Page hero (entertainment uses a full-bleed hero, not the shared page-header) */
.page-hero {
  position: relative; min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 8rem 2rem 5rem; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image: url("../images/events-sports.png"), url("../images/hero-bg.jpg");
  background-size: cover; background-position: center; filter: brightness(0.28);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,13,10,0.2) 0%, rgba(15,13,10,0.7) 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 760px; }

/* Gallery strip */
#gallery {
  background: var(--bg2); border-bottom: 1px solid var(--border); padding: 2rem 0;
}
.gallery-track {
  display: flex; gap: 0.75rem; overflow-x: auto;
  padding: 0 2rem; scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
  flex: 0 0 260px; height: 180px;
  border-radius: 2px; overflow: hidden; border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.06); }

/* Upcoming events */
#upcoming { background: var(--bg); border-top: 1px solid var(--border); }

/* Weekly schedule */
#schedule { background: var(--bg2); border-top: 1px solid var(--border); }
.schedule-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.schedule-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 2px; padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.schedule-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.schedule-day { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.schedule-event { font-family: var(--serif); font-size: 1.05rem; color: var(--cream); margin-bottom: 0.3rem; }
.schedule-time { font-size: 0.82rem; color: var(--cream-dim); }
.schedule-desc { font-size: 0.82rem; color: var(--cream-dim); margin-top: 0.6rem; line-height: 1.55; }

/* Feature band */
#feature {
  background: var(--bg3); border-top: 1px solid var(--border);
  text-align: center; padding: 5rem 2rem;
}
.feature-title {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; font-style: italic; color: var(--gold-lt); margin-bottom: 1.2rem;
}
.feature-desc {
  color: var(--cream-dim); max-width: 600px;
  margin: 0 auto 2rem; font-size: 0.97rem; line-height: 1.75;
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 800px) {
  /* Nav */
  nav { padding: 1rem 1.25rem; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(15,13,10,0.97);
    padding: 1.5rem; gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }

  /* Sections */
  section { padding: 3.5rem 1.25rem; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
  .footer-brand { grid-column: 1 / -1; }

  /* Homepage grids */
  .menu-grid, .ent-grid, .drinks-layout, .contact-grid {
    grid-template-columns: 1fr; gap: 2.5rem;
  }
  #events .events-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ent-img, .drinks-img { height: 280px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  #library-card { padding: 4rem 1.25rem; }
  .card-steps { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Photo strip */
  #photo-strip { grid-template-columns: 1fr 1fr; height: auto; min-height: 0; }
  .para-panel { height: 52vw; min-height: 190px; }
  .para-panel:nth-child(2) { border-right: none; }
  .para-panel:nth-child(3) { border-right: 2px solid rgba(255,255,255,0.35); }
  .strip-bold { font-size: clamp(2.5rem, 8vw, 5rem); }
  .strip-script { font-size: clamp(1rem, 3vw, 2rem); }
  .strip-sub { font-size: 0.55rem; letter-spacing: 0.2em; }

  /* Menu page */
  .menu-nav { overflow-x: auto; justify-content: flex-start; padding: 0 1rem; scrollbar-width: none; }
  .menu-nav::-webkit-scrollbar { display: none; }
  .menu-nav a { padding: 0.9rem 1.2rem; font-size: 0.7rem; }
  .pie-grid, .bites-grid { grid-template-columns: 1fr; }
  .byo-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .pie-card, .bite-card { padding: 1.25rem 1.25rem; }
  .menu-section { padding: 3.5rem 1.25rem; }

  /* Contact page */
  .contact-layout, .location-layout { grid-template-columns: 1fr; gap: 3rem; }
  .map-wrap { height: 260px; }

  /* Entertainment page */
  .schedule-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .strip-bold { font-size: clamp(2rem, 9vw, 3.5rem); }
  .stamp { width: 42px; height: 42px; font-size: 0.9rem; }
  .stamp.free-pizza { width: 50px; height: 50px; }
  .schedule-grid { grid-template-columns: 1fr; }
}
