/* ========== The Indian Canteen — Tiffin Stack (light) ========== */

:root {
  --color-teal: #2f6f68;
  --color-teal-dark: #1f4f4a;
  --color-teal-pale: #eaf3f1;
  --color-turmeric: #dc9c28;
  --color-turmeric-deep: #b87f1a;
  --color-chili: #c1502f;
  --color-steel: #c9cdc6;
  --color-steel-dark: #8f978f;
  --color-ink: #23302b;
  --color-text-muted: #5c6660;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f6f3;
  --color-white: #ffffff;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Mulish', system-ui, sans-serif;

  --header-h: 78px;
  --header-h-mobile: 66px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(35, 48, 43, 0.07);
  --shadow-md: 0 10px 26px rgba(35, 48, 43, 0.12);
  --shadow-lg: 0 18px 40px rgba(35, 48, 43, 0.18);

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5.5rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; margin: 0; color: var(--color-ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  min-width: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-turmeric);
  color: var(--color-ink);
  padding: 0.75em 1.2em;
  z-index: 2000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-chili);
  margin-bottom: var(--space-2xs);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--color-turmeric);
  color: var(--color-teal-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--color-turmeric-deep); }
.btn-outline {
  background: transparent;
  border-color: var(--color-teal);
  color: var(--color-teal-dark);
}
.btn-outline:hover { background: var(--color-teal-pale); transform: translateY(-2px); }
.btn-lg { padding: 1.05em 2.1em; font-size: 1.02rem; }

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: var(--header-h-mobile);
}
@media (min-width: 900px) {
  .site-header { height: var(--header-h); }
}

.site-header-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled .site-header-bg {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--color-steel);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6em;
  min-width: 0;
  flex-shrink: 1;
}
.logo-mark {
  font-size: 1.7rem;
  line-height: 1;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-turmeric);
  border-radius: 50%;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.15;
  color: var(--color-ink);
}
.logo-text span { color: var(--color-teal); }

/* Nav toggle (hamburger) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--color-bg-alt);
  border: none;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  z-index: 10;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--color-white);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--color-white);
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

/* Desktop nav */
.main-nav { min-width: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  min-width: 0;
}
.nav-links li { display: flex; align-items: center; }

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-ink);
  padding: 0.4rem 0.1rem;
  position: relative;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--color-teal); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--color-turmeric);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta { white-space: nowrap; }

/* Mobile nav drawer */
@media (max-width: 899px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--color-teal-dark);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1101;
    overflow-y: auto;
    padding-top: calc(var(--header-h-mobile) + var(--space-md));
  }
  .main-nav.is-open { transform: translateX(0); }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-sm) var(--space-md) var(--space-lg);
  }
  .nav-links li { display: block; }
  .nav-links a:not(.btn) {
    display: block;
    width: 100%;
    padding: var(--space-sm) var(--space-2xs);
    color: var(--color-white);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    -webkit-tap-highlight-color: rgba(220, 156, 40, 0.3);
  }
  .nav-links a.btn { margin-top: var(--space-md); width: 100%; }
  .nav-link::after { display: none; }

  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1090;
  }
  .nav-scrim[hidden] { display: none; }
}
@media (min-width: 900px) {
  .nav-scrim { display: none !important; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h-mobile) + var(--space-xl));
  padding-bottom: calc(var(--space-2xl) + 70px);
  background: var(--color-bg);
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero {
    padding-top: calc(var(--header-h) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  align-items: center;
  min-width: 0;
}
.hero-inner > * { min-width: 0; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-cta-row, .hero-tags { justify-content: center; }
}

.halal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: var(--color-teal-pale);
  color: var(--color-teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.45em 0.9em;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: var(--space-md);
  text-wrap: balance;
}

.hero-sub {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 46ch;
  margin-bottom: var(--space-md);
}
@media (max-width: 860px) { .hero-sub { margin-left: auto; margin-right: auto; } }

.badge-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-steel);
  color: var(--color-ink);
  padding: 0.5em 1em;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}
.stars { color: var(--color-turmeric); letter-spacing: 0.05em; }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  min-width: 0;
  margin-bottom: var(--space-lg);
}
.hero-cta-row .btn { flex: 0 1 auto; min-width: 0; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  min-width: 0;
}
.hero-tags li {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.hero-tags li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-chili);
  flex-shrink: 0;
}

/* Hero tin-stack illustration */
.hero-visual { display: flex; justify-content: center; }
.tin-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(280px, 70vw);
}
.tin-ring {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  margin-top: -14px;
  box-shadow: var(--shadow-sm), inset 0 -4px 8px rgba(0,0,0,0.08);
}
.tin-ring-1 { background: var(--color-steel); z-index: 1; }
.tin-ring-2 { background: #d7dbd2; z-index: 2; width: 92%; }
.tin-ring-3 { background: var(--color-teal-pale); z-index: 3; width: 84%; }
.tin-lid {
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-turmeric);
  margin-top: -30px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  box-shadow: var(--shadow-md), inset 0 -6px 14px rgba(0,0,0,0.1);
}

/* Lid-seam divider between "tins" (sections) */
.lid-seam {
  height: 20px;
  background: var(--color-steel);
  position: relative;
  overflow: hidden;
}
.lid-seam::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.5) 0 2px, transparent 2px 16px);
}
.lid-seam::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.6);
}

/* ========== ABOUT ========== */
.about { padding: var(--space-2xl) 0; background: var(--color-bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  align-items: center;
  min-width: 0;
}
.about-grid > * { min-width: 0; }
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .about-visual { order: -1; }
}

.about-copy h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: var(--space-sm); }
.about-copy p { color: var(--color-text-muted); font-size: 1.02rem; }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  min-width: 0;
}
.mini-badge {
  display: flex;
  align-items: center;
  gap: 0.6em;
  background: var(--color-white);
  border: 1px solid var(--color-steel);
  color: var(--color-teal-dark);
  padding: 0.6em 1em;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
}

.about-photo-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-teal-pale), #fff 140%);
  border: 1px solid var(--color-steel);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  font-size: clamp(2.5rem, 8vw, 4rem);
  box-shadow: var(--shadow-sm);
}

/* ========== MENU ========== */
.menu { padding: var(--space-2xl) 0; background: var(--color-bg); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--space-lg); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: var(--space-sm); }
.menu-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
  background: var(--color-bg-alt);
  padding: 0.7em 1.1em;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xs);
  margin-bottom: var(--space-lg);
  min-width: 0;
}
.menu-tab {
  background: var(--color-white);
  border: 1.5px solid var(--color-steel);
  color: var(--color-text-muted);
  padding: 0.65em 1.2em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.menu-tab:hover { border-color: var(--color-turmeric); color: var(--color-teal-dark); }
.menu-tab.active {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.menu-panel[hidden] { display: none; }
.panel-intro {
  text-align: center;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.combo-heading {
  font-size: 1.15rem;
  color: var(--color-teal-dark);
  margin: var(--space-lg) 0 var(--space-sm);
}
.combo-heading:first-child { margin-top: 0; }
.approx { font-weight: 400; font-size: 0.8em; color: var(--color-text-muted); font-family: var(--font-body); }

.table-wrap {
  min-width: 0;
  overflow-x: auto;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-steel);
}
.price-table td {
  padding: 0.9em 1.3em;
  border-bottom: 1px solid var(--color-steel);
  font-size: 0.98rem;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table td.price-col {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-chili);
  white-space: nowrap;
  width: 1%;
  padding-left: var(--space-lg);
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  min-width: 0;
}
.dish-card {
  background: var(--color-white);
  border: 1px solid var(--color-steel);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border-top: 4px solid var(--color-turmeric);
  min-width: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dish-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dish-card h3 { font-size: 1.08rem; margin-bottom: 0.4em; color: var(--color-teal-dark); }
.dish-card p { color: var(--color-text-muted); font-size: 0.9rem; }
.dish-card.price-card { position: relative; padding-right: var(--space-md); }
.dish-card .price {
  display: inline-block;
  margin-top: 0.6em;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-chili);
  font-size: 1.05rem;
}

/* ========== HOURS & LOCATION ========== */
.hours-location { padding: var(--space-2xl) 0; background: var(--color-bg-alt); }
.hl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  min-width: 0;
}
.hl-grid > * { min-width: 0; }
@media (max-width: 800px) {
  .hl-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}

.hours-table { margin-bottom: var(--space-md); background: var(--color-white); border: 1px solid var(--color-steel); border-radius: var(--radius-md); overflow: hidden; }
.hours-table td { padding: 0.7em 1.2em; font-size: 0.95rem; border-bottom: 1px solid var(--color-steel); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:first-child { font-weight: 700; color: var(--color-ink); font-family: var(--font-display); }
.hours-table td:last-child { text-align: right; color: var(--color-text-muted); }
.hours-table .closed-row td { color: var(--color-chili); font-weight: 700; }
.hours-table .closed-row td:first-child { color: var(--color-chili); }

.address-block {
  font-style: normal;
  font-size: 1rem;
  margin-bottom: var(--space-md);
  color: var(--color-ink);
}
.location-note { display: inline-block; margin-top: 0.3em; font-size: 0.88rem; color: var(--color-text-muted); font-style: italic; }

.hl-map {
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-steel);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.hl-map iframe { width: 100%; height: 100%; border: 0; }

/* ========== ORDER / CONTACT ========== */
.order-contact {
  padding: var(--space-2xl) 0;
  background: var(--color-teal-dark);
  text-align: center;
}
.order-contact .eyebrow { color: var(--color-turmeric); }
.contact-inner { max-width: 560px; margin: 0 auto; min-width: 0; }
.order-contact h2 { color: var(--color-white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: var(--space-sm); }
.order-contact p { color: #cfe3df; font-size: 1.05rem; margin-bottom: var(--space-lg); }

.phone-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  color: var(--color-turmeric);
  padding: 0.3em 0.6em;
  border: 2px solid var(--color-turmeric);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  word-break: break-word;
}
.phone-link:hover { background: rgba(220,156,40,0.12); }

.service-recap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-lg);
  min-width: 0;
}
.service-recap li {
  color: #cfe3df;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.service-recap li::before { content: "✓"; color: var(--color-turmeric); font-weight: 800; }

/* ========== FOOTER ========== */
.site-footer { background: var(--color-ink); padding: var(--space-xl) 0 calc(var(--space-xl) + 70px); }
@media (min-width: 900px) {
  .site-footer { padding-bottom: var(--space-xl); }
}
.footer-inner { text-align: center; color: #b9c3bd; min-width: 0; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 0.5em; margin-bottom: var(--space-sm); }
.footer-brand .logo-mark { width: 34px; height: 34px; font-size: 1.3rem; }
.footer-brand strong { font-family: var(--font-display); color: var(--color-white); font-size: 1.15rem; }
.footer-inner p { margin-bottom: 0.4em; font-size: 0.92rem; }
.footer-inner a:hover { color: var(--color-turmeric); }
.footer-halal { color: var(--color-turmeric); font-weight: 700; }
.copyright { margin-top: var(--space-sm); font-size: 0.8rem; color: #7c8880; }

/* ========== STICKY MOBILE CALL FAB ========== */
.mobile-call-fab {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: var(--color-turmeric);
  color: var(--color-teal-dark);
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}
@media (min-width: 900px) {
  .mobile-call-fab { display: none; }
}

/* ========== FOCUS STATES ========== */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--color-turmeric);
  outline-offset: 2px;
}
