/* ============================================================
   Food Corner — Main Stylesheet
   Mobile-first, fully responsive premium restaurant design
   ============================================================ */

/* ── 1. Google Fonts Import ─────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&family=Satisfy&display=swap');

/* ── 2. Design Tokens ───────────────────────────────────── */
:root {
  /* Colors */
  --clr-primary:    #C0392B;   /* warm crimson */
  --clr-primary-d:  #962d22;   /* darker crimson */
  --clr-gold:       #C9922A;   /* warm gold accent */
  --clr-cream:      #FAF6EF;   /* warm off-white bg */
  --clr-paper:      #F2EBE0;   /* slightly darker cream */
  --clr-dark:       #1C1A17;   /* near-black */
  --clr-charcoal:   #2F2D2A;   /* body text */
  --clr-warm-grey:  #7A7068;   /* muted text */
  --clr-white:      #FFFFFF;
  --clr-border:     #E2D9CE;

  /* Typography */
  --font-display:  'Playfair Display', Georgia, serif;
  --font-script:   'Satisfy', cursive;
  --font-body:     'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --sp-xs:   0.5rem;
  --sp-sm:   1rem;
  --sp-md:   1.75rem;
  --sp-lg:   3rem;
  --sp-xl:   5rem;
  --sp-2xl:  8rem;

  /* Border radius */
  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   28px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(28,26,23,.10);
  --shadow-hover: 0 12px 40px rgba(28,26,23,.18);
  --shadow-btn:  0 4px 16px rgba(192,57,43,.30);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --dur: 300ms;

  /* Nav height */
  --nav-h: 70px;
}

/* ── 3. Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--clr-charcoal);
  background-color: var(--clr-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* Subtle paper texture overlay on body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── 4. Typography ──────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--clr-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 7vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { font-size: 1rem; color: var(--clr-charcoal); }

.script-label {
  font-family: var(--font-script);
  color: var(--clr-primary);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.35rem;
  letter-spacing: 0.5px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  display: block;
  margin-bottom: 0.6rem;
}

/* ── 5. Utility Classes ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.text-center { text-align: center; }
.text-white  { color: var(--clr-white) !important; }

.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }

/* Reveal animation class (added by JS) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── 6. Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: all var(--dur) var(--ease);
}

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--clr-primary-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,57,43,.40);
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,.15);
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: var(--clr-white);
  color: var(--clr-primary);
  border-color: var(--clr-white);
}

.btn-gold {
  background: var(--clr-gold);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(201,146,42,.35);
}
.btn-gold:hover {
  background: #a87820;
  transform: translateY(-2px);
}

/* ── 7. Navigation ──────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Transparent by default (on hero), solid when scrolled */
.site-nav.scrolled {
  background: rgba(26, 24, 20, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
}

/* Nav on non-hero pages starts solid */
.site-nav.nav-solid {
  background: rgba(26, 24, 20, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}
.nav-logo .logo-tagline {
  font-family: var(--font-script);
  font-size: 0.75rem;
  color: var(--clr-gold);
  margin-top: -2px;
}

.nav-links {
  display: none;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--dur) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-gold);
  transition: width var(--dur) var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--clr-white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 18, 15, 0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.nav-drawer.open {
  transform: translateX(0);
}
.nav-drawer a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--clr-white);
  font-weight: 600;
  transition: color var(--dur) var(--ease);
}
.nav-drawer a:hover { color: var(--clr-gold); }
.nav-drawer .drawer-cta {
  margin-top: 1rem;
}

/* ── 8. Hero Section ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s var(--ease);
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,16,10,.55) 0%,
    rgba(20,16,10,.30) 50%,
    rgba(20,16,10,.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 2rem) 1.25rem 4rem;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,146,42,.25);
  border: 1px solid rgba(201,146,42,.5);
  color: var(--clr-gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  color: var(--clr-white);
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
  margin-bottom: 1.25rem;
}

.hero-sub {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,.6);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── 9. Section Shared ──────────────────────────────────── */
.section {
  padding: var(--sp-lg) 0;
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 3rem;
}

/* Wavy divider between sections */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 2;
}
.wave-divider svg {
  display: block;
  width: 100%;
}

/* Decorative rule under headings */
.heading-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.heading-line::before,
.heading-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--clr-border);
}
.heading-line .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-gold);
  flex-shrink: 0;
}
.heading-line-left {
  justify-content: flex-start;
}
.heading-line-left::before { display: none; }
.heading-line-left::after { flex: 0 0 80px; }

/* ── 10. Featured Cards ─────────────────────────────────── */
.featured-section {
  background: var(--clr-cream);
  padding: var(--sp-xl) 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.food-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  position: relative;
}
.food-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.food-card:hover .card-img-wrap img { transform: scale(1.08); }

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
}
.card-badge.badge-gold {
  background: var(--clr-gold);
}

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.card-body p {
  font-size: 0.9rem;
  color: var(--clr-warm-grey);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-primary);
}
.card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-gold);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--dur) var(--ease);
}
.card-link:hover { gap: 0.6rem; }

/* ── 11. Location Strip ─────────────────────────────────── */
.location-strip {
  background: var(--clr-dark);
  padding: 2rem 0;
}
.location-strip .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
.location-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,.8);
}
.location-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201,146,42,.15);
  border: 1px solid rgba(201,146,42,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}
.location-item strong {
  color: var(--clr-gold);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}
.location-item span {
  font-size: 0.92rem;
  color: rgba(255,255,255,.7);
}

/* ── 12. Story / Split Section ──────────────────────────── */
.story-section {
  background: var(--clr-paper);
  padding: var(--sp-xl) 0;
  overflow: hidden;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.story-img-wrap {
  position: relative;
}
.story-img-wrap img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.story-img-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 5px solid var(--clr-cream);
  box-shadow: var(--shadow-card);
}

.story-text { }
.story-text .script-label { font-size: 1.6rem; }
.story-text h2 { margin-bottom: 1rem; }
.story-text p  { color: var(--clr-warm-grey); margin-bottom: 1rem; line-height: 1.8; }

.story-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-primary);
  display: block;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--clr-warm-grey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── 13. Promo Banner ───────────────────────────────────── */
.promo-section {
  position: relative;
  padding: var(--sp-xl) 0;
  overflow: hidden;
  text-align: center;
}
.promo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.promo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 10, 0.78);
}
.promo-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.promo-content .script-label { color: var(--clr-gold); font-size: 1.8rem; }
.promo-content h2 { color: var(--clr-white); margin-bottom: 1rem; }
.promo-content p  { color: rgba(255,255,255,.8); margin-bottom: 2rem; }

/* ── 14. Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--clr-dark);
  padding: var(--sp-xl) 0 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--clr-primary), var(--clr-gold), var(--clr-primary));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-brand .logo-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-white);
}
.footer-brand .logo-tagline {
  font-family: var(--font-script);
  color: var(--clr-gold);
  font-size: 1rem;
  display: block;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: rgba(255,255,255,.55);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--clr-white);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--clr-gold);
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: 0.9rem;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.footer-links a:hover { color: var(--clr-gold); padding-left: 6px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
}
.footer-contact-item .fc-icon { color: var(--clr-gold); flex-shrink: 0; margin-top: 2px; }

.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: all var(--dur) var(--ease);
}
.social-btn:hover {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: var(--clr-gold); }

/* ── 15. Page Hero (inner pages) ────────────────────────── */
.page-hero {
  position: relative;
  height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,16,10,.85) 0%, rgba(20,16,10,.4) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.25rem 3rem;
}
.page-hero-content h1 { color: var(--clr-white); }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.65);
}
.breadcrumb a { color: var(--clr-gold); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ── 16. About Page ─────────────────────────────────────── */
.about-intro {
  padding: var(--sp-xl) 0;
  background: var(--clr-cream);
}

.about-values {
  padding: var(--sp-xl) 0;
  background: var(--clr-paper);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.value-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.value-card p  { font-size: 0.9rem; color: var(--clr-warm-grey); line-height: 1.7; }

/* Timeline */
.timeline-section {
  padding: var(--sp-xl) 0;
  background: var(--clr-cream);
}
.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0.9rem;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--clr-primary), var(--clr-gold));
}
.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.6rem;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--clr-gold);
  border: 3px solid var(--clr-cream);
  box-shadow: 0 0 0 2px var(--clr-gold);
}
.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--clr-gold);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.timeline-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.timeline-item p  { font-size: 0.9rem; color: var(--clr-warm-grey); line-height: 1.7; }

/* Team Section */
.team-section {
  padding: var(--sp-xl) 0;
  background: var(--clr-paper);
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.team-card {
  text-align: center;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.team-info {
  padding: 1.25rem;
}
.team-info h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.team-role {
  font-family: var(--font-script);
  color: var(--clr-gold);
  font-size: 0.95rem;
}

/* ── 17. Menu Page ──────────────────────────────────────── */
.menu-nav-section {
  background: var(--clr-cream);
  padding: 2.5rem 0 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  border-bottom: 1px solid var(--clr-border);
}

.menu-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0 1.25rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill) var(--radius-pill) 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--clr-warm-grey);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all var(--dur) var(--ease);
}
.menu-tab:hover { color: var(--clr-primary); }
.menu-tab.active {
  color: var(--clr-primary);
  border-bottom-color: var(--clr-primary);
  background: rgba(192,57,43,.05);
}

.menu-section {
  padding: var(--sp-xl) 0;
  background: var(--clr-cream);
}

.menu-category {
  display: none;
}
.menu-category.active-cat {
  display: block;
  animation: fadeIn 0.4s var(--ease);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menu-category-title {
  margin-bottom: 2.5rem;
}
.menu-category-title h2 { font-size: 1.8rem; }

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.menu-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  display: flex;
  gap: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  align-items: stretch;
}
.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.menu-card-img {
  width: 110px;
  flex-shrink: 0;
  overflow: hidden;
}
.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.menu-card:hover .menu-card-img img { transform: scale(1.1); }

.menu-card-body {
  padding: 1rem 1rem 1rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.menu-card-top { margin-bottom: 0.4rem; }
.menu-card-top h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.menu-card-top p { font-size: 0.82rem; color: var(--clr-warm-grey); line-height: 1.5; }
.menu-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--clr-primary);
}

.popular-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #C9922A, #e8b44a);
  color: var(--clr-white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

/* Large menu cards for featured items */
.menu-card-large {
  flex-direction: column;
}
.menu-card-large .menu-card-img {
  width: 100%;
  height: 200px;
}

/* ── 18. Reservation Page ───────────────────────────────── */
.reservation-section {
  padding: var(--sp-xl) 0;
  background: var(--clr-cream);
  position: relative;
}

.reservation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.reservation-info h2 { margin-bottom: 1rem; }
.reservation-info p  { color: var(--clr-warm-grey); line-height: 1.8; margin-bottom: 1.5rem; }

.res-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.res-detail-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
}
.res-detail-item .rd-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(192,57,43,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-primary);
  font-size: 1rem;
  flex-shrink: 0;
}
.res-detail-item strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--clr-warm-grey); margin-bottom: 2px; }

/* Reservation Form */
.res-form-wrap {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}
.res-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--clr-primary), var(--clr-gold));
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.form-subtitle {
  font-size: 0.88rem;
  color: var(--clr-warm-grey);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-charcoal);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--clr-charcoal);
  background: var(--clr-cream);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%237A7068'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit { width: 100%; padding: 1rem; font-size: 1rem; margin-top: 0.5rem; }

/* ── 19. Contact Page ───────────────────────────────────── */
.contact-section {
  padding: var(--sp-xl) 0;
  background: var(--clr-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.contact-info-card h2 { margin-bottom: 0.75rem; }
.contact-info-card > p { color: var(--clr-warm-grey); margin-bottom: 2rem; line-height: 1.8; }

.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(192,57,43,.08);
  border: 1px solid rgba(192,57,43,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--clr-primary);
  flex-shrink: 0;
}
.contact-item-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-warm-grey);
  margin-bottom: 0.3rem;
}
.contact-item-text span,
.contact-item-text a {
  font-size: 0.95rem;
  color: var(--clr-charcoal);
  line-height: 1.7;
  display: block;
}
.contact-item-text a:hover { color: var(--clr-primary); }

.contact-social h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--clr-charcoal);
}
.contact-social-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.contact-social-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--clr-cream);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-charcoal);
  border: 1px solid var(--clr-border);
  transition: all var(--dur) var(--ease);
}
.contact-social-btn:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--clr-white);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: none;
}

.contact-form-section {
  padding: 0 0 var(--sp-xl);
  background: var(--clr-cream);
}

.contact-form-wrap {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  max-width: 640px;
  margin-inline: auto;
}
.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.contact-form-wrap > p { color: var(--clr-warm-grey); margin-bottom: 2rem; }

/* ── 20. Hours section ──────────────────────────────────── */
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.hours-table td { padding: 0.6rem 0; }
.hours-table td:last-child { text-align: right; color: var(--clr-primary); font-weight: 600; }
.hours-table tr:not(:last-child) td { border-bottom: 1px solid var(--clr-border); }

/* ── 21. Responsive Breakpoints ─────────────────────────── */

/* Tablet — 640px+ */
@media (min-width: 640px) {
  .cards-grid        { grid-template-columns: repeat(2, 1fr); }
  .values-grid       { grid-template-columns: repeat(2, 1fr); }
  .menu-grid         { grid-template-columns: repeat(2, 1fr); }
  .team-grid         { grid-template-columns: repeat(2, 1fr); }
  .form-row          { grid-template-columns: repeat(2, 1fr); }

  .location-strip .container {
    flex-direction: row;
    justify-content: space-around;
    text-align: left;
  }
  .location-item { flex-direction: row; align-items: center; }

  .hero-actions { flex-direction: row; justify-content: center; }
}

/* Medium — 768px+ */
@media (min-width: 768px) {
  :root { --nav-h: 78px; }

  .nav-links { display: flex; }
  .nav-cta   { display: flex; }
  .hamburger { display: none; }
  .nav-drawer { display: none !important; }

  .story-grid       { grid-template-columns: 1fr 1fr; }
  .reservation-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid     { grid-template-columns: 1fr 1fr; }
  .footer-grid      { grid-template-columns: 2fr 1fr 1fr 1fr; }

  .menu-card-large { flex-direction: column; }

  .page-hero { height: 400px; }

  .timeline { padding-left: 3.5rem; }
}

/* Large — 1024px+ */
@media (min-width: 1024px) {
  .cards-grid  { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid   { grid-template-columns: repeat(3, 1fr); }
  .menu-grid   { grid-template-columns: repeat(2, 1fr); }

  .section { padding: var(--sp-xl) 0; }
}

/* XL — 1280px+ */
@media (min-width: 1280px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
  .menu-grid  { grid-template-columns: repeat(2, 1fr); }
}

/* ── 22. Misc Helpers ───────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Smooth dark overlay on images that acts as hover dim */
.img-dim-hover { position: relative; }
.img-dim-hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--dur) var(--ease);
}
.img-dim-hover:hover::after { background: rgba(0,0,0,.15); }
