/* ============================================
   Taj Mahal Indian Restaurant — Fort Wayne
   Design system: elegant, burgundy & gold
   ============================================ */

:root {
  --burgundy: #5B1A2D;
  --burgundy-dark: #3A0F1D;
  --burgundy-deep: #2A0813;
  --gold: #C9A227;
  --gold-light: #E0BD4F;
  --gold-soft: #F0DEA0;
  --cream: #FAF5EC;
  --ivory: #FFFCF6;
  --paper: #FFFFFF;
  --charcoal: #1F1410;
  --warm-gray: #6B5D55;
  --line: #E8DDC9;
  --shadow-sm: 0 2px 8px rgba(58, 15, 29, 0.08);
  --shadow-md: 0 8px 30px rgba(58, 15, 29, 0.12);
  --shadow-lg: 0 20px 60px rgba(58, 15, 29, 0.18);
  --radius: 4px;
  --radius-lg: 12px;
  --max-w: 1240px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--burgundy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--burgundy-dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--warm-gray); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Top utility bar ===== */
.topbar {
  background: var(--burgundy-deep);
  color: var(--cream);
  font-size: 0.8125rem;
  padding: 8px 0;
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--gold-light); }
.topbar a:hover { color: var(--paper); }
.topbar .pipe { color: var(--gold); opacity: 0.5; padding: 0 8px; }

/* ===== Header / Navigation ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 246, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-mark.brand-mark-circle {
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--ivory);
  padding: 0;
  overflow: hidden;
}
.brand-mark.brand-mark-circle img {
  /* Dome SVG has ~20% top, ~16% bottom, ~20% L/R whitespace inside the viewBox.
     Scale up so the visible dome fills ~80% of the circle, with overflow:hidden clipping the edges. */
  transform: scale(1.2) translateY(-4%);
  transform-origin: center;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--burgundy-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-letter {
  /* SVG dome only fills ~64% of its viewBox vertically (≈20% top, ≈16% bottom whitespace).
     Sized so the visible dome matches the cap height of M in "Mahal" (Playfair Display Bold). */
  height: 0.92em;
  width: auto;
  display: inline-block;
  vertical-align: baseline;
  margin-right: 2px;
  position: relative;
  top: 0.11em;
}
.brand-tag {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links li {
  white-space: nowrap;
}
.nav-links a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--burgundy); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--burgundy);
  padding: 4px 8px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--burgundy);
  color: var(--paper);
  border-color: var(--burgundy);
}
.btn-primary:hover {
  background: var(--burgundy-dark);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-gold {
  background: var(--gold);
  color: var(--burgundy-dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}
.btn-outline:hover {
  background: var(--burgundy);
  color: var(--paper);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold);
}
.btn-ghost:hover {
  background: var(--gold);
  color: var(--burgundy-dark);
}

/* Two-line stacked button (e.g., "Order Online" + "Free Delivery Over $50") */
.btn-stacked {
  flex-direction: column;
  gap: 2px;
  padding: 9px 14px;
  line-height: 1.15;
}
.btn-sub {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.92;
}
.btn-lg { padding: 18px 36px; font-size: 0.9375rem; }
.btn-sm { padding: 10px 18px; font-size: 0.75rem; }

/* ===== Section base ===== */
.section { padding: 100px 0; position: relative; }
.section-tight { padding: 60px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--burgundy-deep); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--ivory); }
.section-dark p { color: rgba(250, 245, 236, 0.85); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
  padding-left: 36px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 24px; height: 1px;
  background: var(--gold);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head .eyebrow { padding-left: 0; }
.section-head .eyebrow::before { display: none; }
.section-head p { margin-top: 16px; font-size: 1.0625rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--paper);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 8, 19, 0.70), rgba(42, 8, 19, 0.55)),
    url('https://images.unsplash.com/photo-1585937421612-70a008356fbe?auto=format&fit=crop&w=2400&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
  max-width: 880px;
}
.hero .eyebrow { color: var(--gold-light); }
.hero h1 {
  color: var(--paper);
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.hero p {
  color: rgba(255, 252, 246, 0.92);
  font-size: 1.125rem;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}

/* Page hero (smaller) */
.page-hero {
  min-height: 44vh;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--paper);
  overflow: hidden;
}
.page-hero h1 { color: var(--paper); margin-top: 8px; }
.page-hero .nowrap { white-space: nowrap; }
.page-hero .hero-headline-tight {
  text-wrap: balance;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.page-hero .hero-tagline {
  margin-top: 18px;
  color: var(--ivory);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero .hero-bg { background-image: linear-gradient(rgba(42, 8, 19, 0.75), rgba(58, 15, 29, 0.7)), url('https://images.unsplash.com/photo-1601050690597-df0568f70950?auto=format&fit=crop&w=2400&q=80'); }
.page-hero-menu .hero-bg { background-image: linear-gradient(rgba(42, 8, 19, 0.75), rgba(58, 15, 29, 0.7)), url('https://images.unsplash.com/photo-1599043513900-ed6fe01d3833?auto=format&fit=crop&w=2400&q=80'); }
.page-hero-about .hero-bg { background-image: linear-gradient(rgba(42, 8, 19, 0.75), rgba(58, 15, 29, 0.7)), url('https://images.unsplash.com/photo-1567188040759-fb8a883dc6d8?auto=format&fit=crop&w=2400&q=80'); }
.page-hero-gallery .hero-bg { background-image: linear-gradient(rgba(42, 8, 19, 0.75), rgba(58, 15, 29, 0.7)), url('https://images.unsplash.com/photo-1631452180519-c014fe946bc7?auto=format&fit=crop&w=2400&q=80'); }
.page-hero-contact .hero-bg { background-image: linear-gradient(rgba(42, 8, 19, 0.75), rgba(58, 15, 29, 0.7)), url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=2400&q=80'); }
.page-hero-gift .hero-bg { background-image: linear-gradient(rgba(42, 8, 19, 0.78), rgba(58, 15, 29, 0.72)), url('https://images.unsplash.com/photo-1513885535751-8b9238bd345a?auto=format&fit=crop&w=2400&q=80'); }

/* Gift cards page */
.gift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.gift-card-single {
  max-width: 540px;
  margin: 0 auto;
}
.gift-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.gift-form-wrap iframe {
  border-radius: var(--radius);
}
/* Crop the JotForm "Powered by JotForm" watermark band at the bottom */
.jotform-clip {
  position: relative;
  height: 505px;     /* iframe is 539px tall — clip ~34px off the bottom to hide the watermark */
  overflow: hidden;
  border-radius: var(--radius);
}
.gift-card-option {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gift-card-option:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.gift-card-option.featured {
  background: linear-gradient(180deg, var(--ivory), var(--cream));
  border: 2px solid var(--gold);
}
.gift-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.gift-icon svg { width: 56px; height: 56px; }
.gift-card-option h3 {
  font-size: 1.625rem;
  margin-bottom: 12px;
}
.gift-card-option > p {
  font-size: 1rem;
  margin-bottom: 24px;
  max-width: 320px;
}
.gift-features {
  list-style: none;
  text-align: left;
  margin: 0 auto 32px;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--charcoal);
}
.gift-features li {
  padding: 6px 0;
  color: var(--burgundy-dark);
}
.gift-note {
  text-align: center;
  margin-top: 48px;
  font-size: 0.9375rem;
  color: var(--warm-gray);
}
.gift-note a {
  font-weight: 600;
}

@media (max-width: 760px) {
  .gift-grid { grid-template-columns: 1fr; }
  .gift-card-option { padding: 36px 24px; }
}

/* ===== Intro / two-column ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-image {
  position: relative;
}
.split-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split-image::before {
  content: '';
  position: absolute;
  top: 24px; left: 24px;
  right: -24px; bottom: -24px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.split-content .eyebrow { padding-left: 36px; }
.split-content p { margin-bottom: 16px; font-size: 1.0625rem; }
.split-content .btn { margin-top: 24px; }

/* ===== Signature dishes ===== */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.dish-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.dish-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.dish-card-body {
  padding: 28px;
  text-align: center;
}
.dish-card h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}
.dish-card p { font-size: 0.9375rem; }
.dish-card .price {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 600;
}

/* ===== Order options ===== */
.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.order-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.order-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.order-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--burgundy);
  overflow: hidden;
  flex-shrink: 0;
}
.order-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.order-card-icon.icon-taj {
  background: var(--burgundy);
  padding: 12px;
}
.order-card-icon.icon-taj img {
  filter: brightness(0) saturate(100%) invert(82%) sepia(46%) saturate(431%) hue-rotate(2deg) brightness(94%) contrast(91%);
}
.order-card-icon.icon-plain {
  background: transparent;
  padding: 0;
}
.order-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--burgundy-dark);
}
.order-card span {
  font-size: 0.8125rem;
  color: var(--warm-gray);
}

.delivery-banner {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  color: var(--gold-soft);
  text-align: center;
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 32px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.delivery-banner strong { color: var(--gold-light); }

/* ===== Menu page ===== */
.menu-nav {
  position: sticky;
  /* Intentional overlap with site header bottom — using slightly LESS than header
     height so the menu-nav slides under the header by a few px. Backgrounds match
     so the overlap is invisible. Bulletproof against ±5px header height variation
     (different browsers / viewport / SAB banner / etc.) — no visible gap possible. */
  top: 84px;
  z-index: 50;
  /* Same background as the site header so any overlap is seamless */
  background: rgba(255, 252, 246, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: 64px;
}
.menu-nav-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}
.menu-nav-list::-webkit-scrollbar { display: none; }
.menu-nav-list a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-gray);
  white-space: nowrap;
  transition: all var(--transition);
}
.menu-nav-list a:hover {
  background: var(--cream);
  color: var(--burgundy);
}

.menu-section {
  margin-bottom: 80px;
  scroll-margin-top: 160px;
}
.menu-section-head {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.menu-section-head h2 { margin-bottom: 8px; }
.menu-section-head .eyebrow { padding-left: 0; }
.menu-section-head .eyebrow::before { display: none; }
.menu-section-head::after {
  content: '✦';
  display: block;
  color: var(--gold);
  font-size: 1rem;
  margin-top: 16px;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 56px;
}
.menu-item {
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
}
.menu-item-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.menu-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  color: var(--burgundy-dark);
  font-weight: 600;
}
.menu-item .tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--gold-soft);
  color: var(--burgundy-dark);
}
.menu-item .tag.spicy { background: #F4D7C2; color: #8B2D0F; }
.menu-item .tag.veg { background: #DDEED1; color: #2D5A1A; }
.menu-item .tag.popular { background: var(--burgundy); color: var(--gold-light); }
.menu-item p {
  grid-column: 1 / -1;
  font-size: 0.9375rem;
  margin-top: 6px;
  color: var(--warm-gray);
}
.menu-item .price {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

/* Vegan badge */
.vegan-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  vertical-align: -5px;
  margin-left: 6px;
  flex-shrink: 0;
}
.vegan-mark img { width: 100%; height: 100%; display: block; }
.vegan-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--warm-gray);
  letter-spacing: 0.04em;
}
.vegan-legend img { width: 22px; height: 22px; }

/* ===== About page ===== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.story-grid-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.story-grid h2 { margin-bottom: 24px; }
.story-grid p { margin-bottom: 16px; font-size: 1.0625rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.value-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
.value-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.value-card p { font-size: 0.9375rem; }

.timeline {
  max-width: 720px;
  margin: 60px auto 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}
.timeline-item:nth-child(odd) .timeline-content { text-align: right; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 3; text-align: left; }
.timeline-item:nth-child(even) .timeline-spacer { grid-column: 1; }
.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 3px solid var(--gold);
  z-index: 1;
}
.timeline-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}
.timeline-content h4 { font-family: 'Inter', sans-serif; font-size: 1.0625rem; margin: 4px 0 6px; color: var(--burgundy-dark); }
.timeline-content p { font-size: 0.9375rem; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--cream);
}
.gallery-item.tall { aspect-ratio: 1 / 1.5; grid-row: span 2; }
.gallery-item.wide { aspect-ratio: 2 / 1; grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(42,8,19,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
}

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial {
  background: rgba(255, 252, 246, 0.05);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.125rem;
  margin-bottom: 16px;
  letter-spacing: 4px;
}
.testimonial blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 20px;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* ===== Contact / Find us ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: stretch;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-info-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.contact-info-block:last-child { border: none; padding: 0; margin: 0; }
.contact-info-block h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 700;
}
.contact-info-block p {
  font-size: 1.0625rem;
  color: var(--charcoal);
  line-height: 1.7;
}
.contact-info-block a { color: var(--burgundy); font-weight: 600; }
.hours-list { list-style: none; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9375rem;
  color: var(--charcoal);
}
.hours-list li.closed { color: var(--burgundy); font-weight: 600; }
.hours-list li.today { color: var(--burgundy); font-weight: 600; }

/* Eat App reservation iframe wrapper */
.eatapp-shell {
  max-width: 560px;
  margin: 0 auto;
  background: var(--paper);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 640px) {
  .eatapp-shell { padding: 12px; }
  /* Mobile iframe height — bumped to fit the contact info step (step 2 of the booking
     flow has more form fields and needs more vertical room). Step 1 will have a small
     margin of empty space at the bottom, but no internal scroll on either step. */
  #eatapp-iframe { height: 940px !important; }
}

.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 480px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 480px; border: 0; }

/* Taj Mahal branded card overlaid on the Google map (top-left corner).
   Decorative — does NOT cover the real Google pin/controls. */
.map-badge {
  position: absolute;
  /* Sit over Google's red drop pin (map is centered on 6410 W. Jefferson Blvd).
     Pin's "needle tip" hits the geographic point at viewport-center; pin head is
     slightly above center, so anchor the badge bottom at center to look like the pin. */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  margin-top: -8px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 252, 246, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 18px 12px 12px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(58, 15, 29, 0.22), 0 0 0 1px rgba(201, 162, 39, 0.25);
  text-decoration: none;
  color: var(--burgundy-deep);
  z-index: 5;
  max-width: calc(100% - 32px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  pointer-events: auto;
}
.map-badge:hover {
  transform: translate(-50%, -100%) translateY(-3px);
  box-shadow: 0 16px 40px rgba(58, 15, 29, 0.3), 0 0 0 1px rgba(201, 162, 39, 0.5);
}
.map-badge__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--burgundy-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.map-badge__mark img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.map-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.map-badge__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--burgundy-deep);
}
.map-badge__addr {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--warm-gray);
  margin-top: 2px;
}
.map-badge__cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 520px) {
  .map-badge { padding: 10px 14px 10px 10px; gap: 10px; margin-top: -4px; }
  .map-badge__mark { width: 36px; height: 36px; }
  .map-badge__name { font-size: 0.95rem; }
  .map-badge__addr { font-size: 0.7rem; }
  .map-badge__cta { font-size: 0.68rem; }
}

/* ===== Form ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--burgundy-dark);
}
.field input,
.field select,
.field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--charcoal);
  transition: all var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }

/* ===== App badges ===== */
.apps {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.app-badge {
  display: inline-block;
  transition: transform var(--transition), filter var(--transition);
  text-decoration: none;
  line-height: 0;
}
.app-badge img {
  height: 56px;
  width: auto;
  display: block;
}
.app-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
@media (max-width: 700px) {
  .app-badge img { height: 48px; }
}

/* ===== CTA strip ===== */
.cta-strip {
  background: var(--burgundy-deep);
  color: var(--ivory);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1567188040759-fb8a883dc6d8?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.cta-strip > .container { position: relative; }
.cta-strip h2 { color: var(--ivory); margin-bottom: 12px; }
.cta-strip p { color: rgba(250, 245, 236, 0.8); max-width: 580px; margin: 0 auto 32px; font-size: 1.0625rem; }

/* ===== Footer ===== */
.footer {
  background: var(--burgundy-deep);
  color: var(--cream);
  padding: 72px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 700;
}
.footer .brand-name { color: var(--ivory); }
.footer .brand-mark { background: transparent; }
.footer p { color: rgba(250, 245, 236, 0.7); font-size: 0.9375rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(250, 245, 236, 0.85); font-size: 0.9375rem; }
.footer ul a:hover { color: var(--gold-light); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.4);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--burgundy-dark);
  transform: translateY(-2px);
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgba(250, 245, 236, 0.6);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .split, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  /* On mobile, image always sits above text in story-grid (regardless of HTML source order) */
  .story-grid-image { order: -1; }
  /* Tablets / smaller screens — menu nav overlaps header by a few px so no gap shows */
  .menu-nav { top: 75px; }
  .split-image::before { display: none; }
  .split-image img { height: 400px; }
  .dish-grid, .values-grid, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .menu-list { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 24px; }
  .timeline-item { grid-template-columns: 24px 1fr; gap: 24px; }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { text-align: left; grid-column: 2; }
  .timeline-item:nth-child(even) .timeline-spacer { display: none; }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  /* Hide ALL header CTA buttons on mobile (incl. .show-mobile) — the fixed mobile
     bottom bar already has Order/Phone/Table/Gift buttons, so the header just needs
     the brand mark and hamburger menu icon. Frees up space so the hamburger is reachable. */
  .nav-cta .btn { display: none; }
  .nav-cta .btn.show-mobile { display: none; }
  .dish-grid, .values-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.tall, .gallery-item.wide { aspect-ratio: 1; grid-row: auto; grid-column: auto; }
  /* Footer: 2x2 grid on phones (instead of 4 stacked) — much shorter footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer { padding: 48px 0 20px; }
  .footer h4 { margin-bottom: 12px; font-size: 0.6875rem; }
  .footer ul li { margin-bottom: 4px; }
  .footer ul a, .footer ul li { font-size: 0.8125rem; }
  .footer p { font-size: 0.875rem; }
  .footer-bottom { font-size: 0.6875rem; flex-direction: column; gap: 8px; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
  /* Keep the gold pipe separator visible on mobile so links aren't jammed together */
  .topbar .pipe { padding: 0 10px; }
  /* Hide the pipe between "Open today" and the address on line 1 (mobile) */
  .topbar .container > span:first-child .pipe { display: none; }
  .section { padding: 64px 0; }
  .hero { min-height: 72vh; }
  .brand-tag { display: none; }
  /* Header: bigger brand mark + wordmark for mobile — dome more prominent */
  .brand-mark { width: 50px; height: 50px; }
  .brand-name { font-size: 1.5rem; }
  /* More left margin so the circle isn't touching the container padding edge */
  .brand { gap: 12px; margin-left: 10px; }
  /* MUCH taller white nav bar — generous vertical padding for a prominent header */
  .nav { gap: 12px; padding: 36px 0; }
  /* Wider horizontal padding so the brand mark circle has real breathing room */
  .container { padding: 0 24px; }
  /* Menu nav sticks under the mobile site header (now ~122px tall: 50px logo + 36+36 padding).
     The dynamic JS in menu.html overrides this on actual page load, but this is the
     safe CSS fallback if JS is blocked. */
  .menu-nav { top: 116px; }
  .menu-section { scroll-margin-top: 200px; }
  /* Bigger dome inside the circle — pushed further out for more presence.
     Breathing room is added around the OUTSIDE of the circle via .nav padding above. */
  .brand-mark.brand-mark-circle {
    overflow: visible;
  }
  .brand-mark.brand-mark-circle img {
    transform: scale(1.3) translateY(-3%);
    border-radius: 50%;
  }
}

/* ===== Mobile bottom action bar ===== */
.mobile-bottom-bar { display: none; }

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mbb-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px 12px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    min-height: 64px;
    transition: filter 0.2s, transform 0.1s;
  }
  .mbb-btn:active { transform: translateY(1px); filter: brightness(0.92); }
  .mbb-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }
  .mbb-phone { background: var(--burgundy); }
  .mbb-order { background: var(--burgundy-dark); }
  .mbb-table { background: var(--gold); color: var(--burgundy-dark); }
  .mbb-gift  { background: var(--burgundy-deep); }

  /* Push page content above the bar so nothing is hidden behind it.
     Account for iPhone home-indicator safe area which adds ~34px on newer phones. */
  body { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
}

/* Hero logo */
.hero-logo {
  width: 110px;
  height: 110px;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.4));
}

/* Decorative watermark logo */
.logo-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 32px 0;
  color: var(--gold);
  opacity: 0.7;
}
.logo-divider::before,
.logo-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.logo-divider img {
  width: 36px;
  height: 36px;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeUp 0.8s ease-out both; }
.hero-content > *:nth-child(2) { animation-delay: 0.1s; }
.hero-content > *:nth-child(3) { animation-delay: 0.2s; }
.hero-content > *:nth-child(4) { animation-delay: 0.3s; }
.hero-content > *:nth-child(5) { animation-delay: 0.4s; }
