/* ==========================================================================
   Hayes Tiffin Service — stylesheet
   Palette: comic-pop (hot pink, orange, teal, mustard) on clean neutral cream
   ========================================================================== */

:root {
  --cream: #fff8ec;
  --cream-soft: #fdefd9;
  --ink: #1c1c1c;
  --ink-soft: #4a4038;

  --pink: #ff2e87;
  --pink-dark: #d4116a;
  --orange: #ff6b35;
  --teal: #00a99d;
  --teal-dark: #007b73;
  --mustard: #ffb703;
  --mustard-dark: #d69500;

  --white: #ffffff;

  --font-display: 'Baloo 2', 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --radius: 18px;
  --shadow-soft: 0 6px 20px rgba(28, 28, 28, 0.1);
  --shadow-strong: 0 14px 34px rgba(28, 28, 28, 0.18);
  --shadow-pop: 4px 4px 0 var(--ink);
}

* { box-sizing: border-box; min-width: 0; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.3em; }

p { margin: 0 0 1em; }

a { color: var(--pink-dark); text-decoration: none; }
a:hover, a:focus-visible { color: var(--pink); }

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-width: 0;
}

.section { padding: 4.5rem 0; position: relative; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pink-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 0.5em;
}
.eyebrow-center { text-align: center; }

.section-title-center { text-align: center; }

.section-lede { color: var(--ink-soft); max-width: 640px; }
.section-lede-center { margin-left: auto; margin-right: auto; text-align: center; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75em 1.25em;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-display);
  text-decoration: none;
  border: 3px solid var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { transform: translate(-2px, -2px); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-pop);
}
.btn-primary:hover, .btn-primary:focus-visible {
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-secondary {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: var(--shadow-pop);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--mustard);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-lg { padding: 1.05em 2.2em; font-size: 1.05rem; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 248, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
  z-index: -1;
}

.site-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.brand-badge { flex-shrink: 0; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  font-size: 1.05rem;
  white-space: nowrap;
}
.brand-tagline {
  font-size: 0.68rem;
  color: var(--teal-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(4) {
  transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.main-nav a:not(.btn) {
  padding: 0.4rem 0;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 3px solid transparent;
}
.main-nav a:not(.btn):hover,
.main-nav a:not(.btn):focus-visible {
  color: var(--pink-dark);
  border-bottom-color: var(--mustard);
}

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

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
  z-index: 0;
}
.hero-blob-pink { width: 280px; height: 280px; background: var(--pink); top: -80px; right: -60px; }
.hero-blob-teal { width: 220px; height: 220px; background: var(--teal); bottom: -60px; left: -60px; }
.hero-blob-mustard { width: 140px; height: 140px; background: var(--mustard); top: 40%; right: 8%; opacity: 0.3; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 6px 14px rgba(28, 28, 28, 0.15));
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  color: var(--ink);
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--pink-dark);
  margin-bottom: 0.75rem;
}

.hero-intro {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0;
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 320px;
}

/* CSS-drawn tiffin carrier illustration */
.tiffin-illustration {
  position: relative;
  width: 220px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.tiffin-handle {
  width: 90px;
  height: 46px;
  border: 10px solid var(--ink);
  border-bottom: none;
  border-radius: 50px 50px 0 0;
  margin: 0 auto -4px;
}

.tiffin-tier {
  height: 62px;
  border-radius: 10px;
  border: 4px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: inset 0 -6px 0 rgba(28,28,28,0.15);
  position: relative;
  z-index: 1;
}
.tiffin-tier + .tiffin-tier { margin-top: -4px; }
.tiffin-tier-1 { background: var(--pink); border-radius: 14px 14px 8px 8px; }
.tiffin-tier-2 { background: var(--mustard); }
.tiffin-tier-3 { background: var(--teal); border-radius: 8px 8px 14px 14px; }

.tiffin-lid {
  width: 100%;
  height: 14px;
  background: var(--ink);
  border-radius: 4px;
  margin-bottom: -2px;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.about-visual img {
  border-radius: var(--radius);
  border: 4px solid var(--ink);
  box-shadow: var(--shadow-pop);
}

/* ==========================================================================
   Plans / Menu
   ========================================================================== */

.plans-section {
  background: var(--cream-soft);
  overflow: hidden;
}

.hero-blob-teal-2 {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.18;
  top: -50px;
  right: -50px;
}

.pricing-card {
  position: relative;
  max-width: 420px;
  margin: 0 auto 3.5rem;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-pop);
}

.pricing-card-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4em 1.2em;
  border-radius: 999px;
  border: 3px solid var(--ink);
  white-space: nowrap;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--teal-dark);
  margin: 0.3em 0 0.1em;
}
.pricing-amount .currency { font-size: 1.8rem; vertical-align: top; }
.pricing-amount .per { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }

.pricing-note { color: var(--ink-soft); font-size: 0.9rem; }

.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  text-align: left;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5em 0;
  font-weight: 500;
}

.rotating-heading { text-align: center; margin-top: 1rem; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.menu-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(28,28,28,0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.menu-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--ink);
}
.menu-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-bottom: 3px solid var(--ink);
}
.menu-card h4, .menu-card p { padding-left: 1.25rem; padding-right: 1.25rem; }
.menu-card p:last-child { padding-bottom: 1.25rem; color: var(--ink-soft); font-size: 0.92rem; }
.menu-card h4 { margin-top: 1rem; }

.menu-card-placeholder {
  display: flex;
  flex-direction: column;
}
.placeholder-art {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  background: linear-gradient(135deg, var(--mustard), var(--orange));
  border-bottom: 3px solid var(--ink);
}

.menu-note {
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 2rem;
  font-size: 0.92rem;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-section { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid var(--ink);
  min-width: 0;
}
.gallery-item-tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ==========================================================================
   How It Works
   ========================================================================== */

.how-section { background: var(--cream-soft); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.step-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: 4px 4px 0 rgba(28,28,28,0.6);
}

.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
}

.step-icon { font-size: 2.4rem; margin: 0.75rem 0 0.5rem; }

.how-cta { text-align: center; margin-top: 2.5rem; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85em 0;
  border-bottom: 2px dashed rgba(28, 28, 28, 0.15);
}
.contact-list li:last-child { border-bottom: none; }

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  font-weight: 700;
}

.social-links a { margin-right: 0.25rem; }

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}
.contact-map iframe {
  width: 100%;
  height: 320px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
}
.map-link {
  align-self: flex-start;
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 2.5rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.footer-brand .brand-name { color: var(--cream); }
.footer-brand .brand-tagline { display: none; }

.footer-social, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.footer-social a, .footer-contact a, .footer-contact span {
  color: var(--cream);
  opacity: 0.85;
}
.footer-social a:hover, .footer-contact a:hover { opacity: 1; color: var(--mustard); }

.footer-copyright {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 248, 236, 0.15);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ==========================================================================
   WhatsApp floating action button
   ========================================================================== */

.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-pop);
  z-index: 90;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.whatsapp-fab:hover, .whatsapp-fab:focus-visible {
  transform: translate(-2px, -2px) scale(1.05);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--white);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions, .trust-strip { justify-content: center; }
  .hero-visual { min-height: 260px; order: -1; }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-visual { order: -1; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
}

@media (max-width: 420px) {
  .brand-name { font-size: 0.92rem; white-space: normal; }
  .brand-tagline { display: none; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: 0;
    top: var(--header-h, 72px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--cream);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav ul li { display: block; }
  .main-nav a:not(.btn) {
    display: block;
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(28, 28, 28, 0.1);
  }

  .nav-cta { text-align: center; justify-content: center; }

  .whatsapp-fab { width: 52px; height: 52px; font-size: 1.4rem; bottom: 1.1rem; right: 1.1rem; }
}

@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  h2 { font-size: 1.6rem; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }
  .gallery-item-tall { grid-row: span 2; }

  .trust-strip li { font-size: 0.85rem; padding: 0.45rem 0.75rem; }
}

@media (max-width: 400px) {
  .pricing-card { padding: 2.25rem 1.25rem 1.75rem; }
  .pricing-amount { font-size: 2.6rem; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .reveal-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
