/* ==========================================================================
   Mummy's Tiffin — styles.css
   ========================================================================== */

:root {
  --maroon: #8a1f2b;
  --maroon-dark: #6b1620;
  --red: #c0392b;
  --orange: #e8792c;
  --orange-light: #f4a94f;
  --green: #4c8c4a;
  --green-dark: #3a6e39;
  --green-light: #eaf4e8;
  --cream: #fdf6ec;
  --cream-deep: #f7ead4;
  --beige: #f1e3cc;
  --ink: #3a2418;
  --ink-soft: #6b5040;
  --white: #ffffff;

  --font-body: 'Baloo 2', system-ui, sans-serif;
  --font-script: 'Caveat', cursive;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(138, 31, 43, 0.08);
  --shadow-md: 0 10px 30px rgba(138, 31, 43, 0.12);
  --shadow-lg: 0 20px 50px rgba(138, 31, 43, 0.18);

  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--maroon);
  color: var(--white);
  padding: 10px 16px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

section { padding: 64px 0; }

.section-eyebrow {
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin: 0 0 8px;
}
.salad-eyebrow { color: var(--green); }

.section-title {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--maroon);
  margin: 0 0 12px;
  line-height: 1.15;
}

.section-subtitle {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 0 28px;
  max-width: 560px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  min-width: 0;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover { background: #1fb955; box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); }

.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* Header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
}

.site-header-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(253, 246, 236, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(138, 31, 43, 0.08);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--maroon);
  flex: 0 0 auto;
}
.logo-mark { font-size: 1.6rem; }
.logo-text-accent { color: var(--orange); margin-left: 4px; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1101;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--maroon);
  transition: transform 0.25s ease, opacity 0.25s ease;
  margin: 0 auto;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.main-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  z-index: 1050;
  width: min(320px, 84vw);
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 24px 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 30px rgba(138, 31, 43, 0.12);
  overflow-y: auto;
}
.main-nav.open { transform: translateX(0); }

.nav-link {
  display: block;
  width: 100%;
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.nav-link:hover, .nav-link:active { background: var(--cream-deep); color: var(--maroon); }

.nav-whatsapp-btn { margin-top: 12px; width: 100%; }

.nav-scrim {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(58, 36, 24, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1040;
}
.nav-scrim.visible { opacity: 1; pointer-events: auto; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    overflow: visible;
  }
  .nav-link { width: auto; padding: 8px 14px; }
  .nav-whatsapp-btn { margin-top: 0; margin-left: 10px; width: auto; }
  .nav-scrim { display: none; }
}

/* Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-dark) 55%, #4a0f18 100%);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
}
.hero-blob-1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
  top: -120px; right: -100px;
}
.hero-blob-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--orange-light) 0%, transparent 70%);
  bottom: -140px; left: -80px;
  opacity: 0.22;
}
.hero-steam { display: none; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy { min-width: 0; }

.eyebrow {
  font-weight: 700;
  color: var(--orange-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin: 0 0 14px;
}

.hero-title {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-tagline {
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 520px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  min-width: 0;
}
.hero-actions .btn { flex: 1 1 220px; min-width: 0; }

.hero-note {
  margin: 22px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-visual { display: flex; justify-content: center; min-width: 0; }

.mascot-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  backdrop-filter: blur(4px);
  max-width: 280px;
}
.mascot-plate {
  width: 160px;
  height: 160px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--orange-light), var(--orange) 60%, var(--red) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), inset 0 0 0 8px rgba(255, 255, 255, 0.15);
}
.mascot-emoji { font-size: 4.2rem; }
.mascot-caption {
  font-family: var(--font-script);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange-light);
}

@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
  .hero-actions { flex-wrap: nowrap; }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* About
   ========================================================================== */
.about { background: var(--white); }
.about-inner { max-width: 780px; }
.about-text p { font-size: 1.08rem; color: var(--ink-soft); }

/* Weekly Menu
   ========================================================================== */
.menu { background: var(--cream-deep); }

.menu-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.menu-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  align-items: center;
  min-width: 0;
}

.menu-day {
  font-weight: 700;
  color: var(--maroon);
  font-size: 1.05rem;
  min-width: 0;
}

.menu-items {
  color: var(--ink-soft);
  min-width: 0;
}

@media (max-width: 480px) {
  .menu-row { grid-template-columns: 1fr; gap: 4px; }
}

.menu-notes {
  max-width: 760px;
  margin: 26px auto 0;
  text-align: center;
  color: var(--ink-soft);
}
.menu-notes p { margin: 6px 0; }

/* Salads
   ========================================================================== */
.salads { background: var(--green-light); }

.badge {
  display: inline-block;
  margin: 0 auto 30px;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}
.badge-salad {
  background: var(--green);
  color: var(--white);
  display: table;
}

.salad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 34px;
}

.salad-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--green);
  min-width: 0;
}

.salad-name {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--green-dark);
  margin: 0 0 10px;
}

.salad-ingredients {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.salad-pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.price-pill {
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 999px;
  padding: 12px 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.price-size { color: var(--ink-soft); font-weight: 600; }
.price-amount { color: var(--green-dark); font-weight: 800; font-size: 1.15rem; }

/* Delivery Area
   ========================================================================== */
.delivery { background: var(--white); }

.city-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin-inline: auto;
}

.city-pill {
  background: var(--cream-deep);
  color: var(--maroon);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid var(--beige);
}

/* How to Order
   ========================================================================== */
.how-to-order { background: var(--cream); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 1.15rem;
  color: var(--maroon);
  margin: 0 0 10px;
}

.step-desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.how-to-order-cta { text-align: center; }

/* Footer
   ========================================================================== */
.site-footer {
  background: var(--maroon-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 56px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand { min-width: 0; }
.footer-logo { color: var(--white); }
.footer-logo .logo-text-accent { color: var(--orange-light); }
.footer-tagline {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--orange-light);
  margin: 10px 0 0;
}

.footer-col { min-width: 0; }
.footer-heading {
  color: var(--orange-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin: 0 0 14px;
}
.footer-col p { margin: 0 0 10px; word-break: break-word; }
.footer-col a:hover { text-decoration: underline; }
.footer-note { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }
.footer-col .btn-whatsapp { margin-top: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* WhatsApp FAB
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: transform 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* Utility: prevent any accidental overflow */
.container, section, .hero-inner, .about-inner, .footer-inner { min-width: 0; }
