﻿:root {
  --bg: #f7f1e8;
  --surface: #fffaf3;
  --text: #2a1e1d;
  --muted: #6f5c58;
  --brand: #b40000;
  --brand-dark: #7d0000;
  --accent: #d99b2d;
  --accent-soft: #f2d7a6;
  --line: #e4d8c7;
  --shadow: 0 12px 30px rgba(43, 16, 9, 0.11);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Work Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 20%, #fff8ec 0%, var(--bg) 45%, #f0e4d0 100%);
  line-height: 1.5;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 92% 8%, rgba(180, 0, 0, 0.12) 0, transparent 33%),
    radial-gradient(circle at 8% 82%, rgba(217, 155, 45, 0.14) 0, transparent 38%);
  z-index: -1;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 243, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.2rem 0.35rem;
  border: 1px solid rgba(228, 216, 199, 0.8);
  background: rgba(255, 250, 243, 0.92);
}

.brand-logo {
  display: block;
  width: 220px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

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

.main-nav a {
  font-weight: 600;
  color: var(--muted);
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand);
  border-color: var(--brand);
}

.checkout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.88);
}

.checkout-btn.active {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  color: #fff;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: var(--brand);
  color: #fff;
}

.checkout-btn.active .cart-count {
  background: #fff;
  color: var(--brand);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  padding: 7rem 0 5rem;
  background-image:
    linear-gradient(115deg, rgba(28, 14, 11, 0.76) 0%, rgba(69, 25, 18, 0.62) 44%, rgba(120, 34, 22, 0.48) 100%),
    radial-gradient(circle at 84% 18%, rgba(217, 155, 45, 0.28) 0%, rgba(217, 155, 45, 0) 38%),
    url("https://scooterhomecookedmeals.co.za/wp-content/uploads/2025/10/IMG-20251026-WA0013.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.home-hero-page .hero {
  min-height: calc(100vh - 76px);
  margin-bottom: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(180, 0, 0, 0.22) 0, transparent 40%),
    radial-gradient(circle at 15% 80%, rgba(217, 155, 45, 0.2) 0, transparent 34%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.hero-copy {
  padding: 0;
}

.hero .eyebrow,
.hero h1,
.hero .lead {
  color: #fff;
}

.hero .hero-copy {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero .quick-stats li {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(2px);
}

.hero-inside-out > * {
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  filter: blur(6px);
  animation: heroInsideOut 0.9s ease forwards;
}

.hero-inside-out > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inside-out > *:nth-child(2) { animation-delay: 0.25s; }
.hero-inside-out > *:nth-child(3) { animation-delay: 0.4s; }
.hero-inside-out > *:nth-child(4) { animation-delay: 0.55s; }
.hero-inside-out > *:nth-child(5) { animation-delay: 0.7s; }

.hero-inside-out > .quick-stats {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  filter: none;
  animation: none;
}

.hero-inside-out .quick-stats li {
  opacity: 0;
  transform: translateX(-34px);
  animation: heroSlideInLeft 1s ease forwards;
}

.hero-inside-out .quick-stats li:nth-child(1) { animation-delay: 0.95s; }
.hero-inside-out .quick-stats li:nth-child(2) { animation-delay: 1.25s; }
.hero-inside-out .quick-stats li:nth-child(3) { animation-delay: 1.55s; }

@keyframes heroSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroInsideOut {
  from {
    opacity: 0;
    clip-path: inset(0 50% 0 50%);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inside-out > *,
  .hero-inside-out .quick-stats li {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: none;
    transform: none;
    animation: none;
  }
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.7rem;
  line-height: 1.15;
}

h1,
h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.3rem, 4.5vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 55ch;
}

.hero-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.hero-card ol {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.hero-card li + li {
  margin-top: 0.5rem;
}

.inline-link {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--brand);
  font-weight: 600;
}

.cta-row {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.meal-card,
.feature-item,
.about-card,
.contact-card,
.menu-item,
.cta-panel,
.checkout-item,
.product-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.meal-card:hover,
.feature-item:hover,
.about-card:hover,
.contact-card:hover,
.menu-item:hover,
.cta-panel:hover,
.checkout-item:hover,
.product-card:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  box-shadow: 0 8px 20px rgba(125, 0, 0, 0.32);
}

.btn-ghost {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-light {
  background: #fff;
  color: var(--brand-dark);
  border-color: #fff;
}

.quick-stats {
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  list-style: none;
}

.quick-stats li {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  font-size: 0.9rem;
  color: #fff;
}

.quick-stats strong {
  display: block;
  font-size: 1.1rem;
  color: #fff;
}

.section {
  padding: 3.5rem 0;
  position: relative;
  z-index: 2;
  background: var(--bg);
}

.section-head {
  margin-bottom: 1.5rem;
  max-width: 66ch;
}

.section-head h1,
.section-head h2 {
  color: #2e1b18;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.meal-card {
  background: linear-gradient(165deg, #ffffff 0%, #fff3e7 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.meal-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  border: 1px solid var(--line);
  background: #f7f2ea;
}

.product-link {
  display: block;
  border-radius: 12px;
}

.product-link:hover .meal-photo {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}

.meal-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: #714609;
  border-radius: 999px;
  padding: 0.2rem 0.62rem;
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.meal-card p,
.feature-item p,
.about-card p,
.contact-card p,
.menu-item li {
  color: var(--muted);
}

.section-highlight {
  background:
    radial-gradient(circle at 82% 20%, rgba(180, 0, 0, 0.1) 0, transparent 38%),
    radial-gradient(circle at 12% 75%, rgba(217, 155, 45, 0.14) 0, transparent 36%),
    linear-gradient(180deg, #f8efe2 0%, #f2e4d0 100%);
  border-block: 1px solid var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.feature-item {
  background: linear-gradient(165deg, #ffffff 0%, #fff3e7 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem;
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

blockquote {
  margin: 0;
  background: linear-gradient(165deg, #ffffff 0%, #fff3e7 100%);
  border-left: 5px solid var(--brand);
  padding: 1.1rem;
  border-radius: 0 14px 14px 0;
  box-shadow: var(--shadow);
  color: #4d3e39;
}

.cta-band {
  background: linear-gradient(130deg, var(--brand-dark), var(--brand));
  color: #fff;
}

.cta-band-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 10%, rgba(217, 155, 45, 0.12) 0, transparent 26%),
    radial-gradient(circle at 90% 90%, rgba(180, 0, 0, 0.1) 0, transparent 30%),
    #fffaf3;
  padding-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

.footer-grid a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.copyright {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1rem 0 1.2rem;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.menu-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.menu-grid,
.about-grid,
.contact-grid,
.cards-3,
.testimonials,
.feature-grid {
  position: relative;
}

.menu-grid::before,
.about-grid::before,
.contact-grid::before,
.cards-3::before,
.testimonials::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(180, 0, 0, 0.06), rgba(217, 155, 45, 0.08));
  z-index: -1;
}

.menu-item,
.about-card,
.contact-card,
.contact-form,
.cta-panel {
  background: linear-gradient(165deg, #ffffff 0%, #fff3e7 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.menu-item ul {
  margin: 0;
  padding-left: 1.1rem;
}

.cta-panel {
  margin-top: 1.2rem;
  text-align: center;
}

.contact-grid {
  grid-template-columns: 1fr 1.2fr;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.72rem;
  background: #fffcf7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(180, 0, 0, 0.2);
  border-color: var(--brand);
}

.cta-panel {
  background:
    radial-gradient(circle at 8% 16%, rgba(217, 155, 45, 0.16) 0, transparent 26%),
    radial-gradient(circle at 92% 80%, rgba(180, 0, 0, 0.12) 0, transparent 30%),
    linear-gradient(165deg, #ffffff 0%, #fff3e7 100%);
}

.product-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  background: linear-gradient(165deg, #ffffff 0%, #fff3e7 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.product-image {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand);
}

.product-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.checkout-list {
  display: grid;
  gap: 0.8rem;
}

.checkout-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: 0.8rem;
  align-items: center;
  background: linear-gradient(165deg, #ffffff 0%, #fff3e7 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
}

.checkout-item img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.checkout-item-main h3 {
  margin-bottom: 0.25rem;
}

.checkout-item-main p {
  margin: 0;
  color: var(--muted);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.qty-controls button {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.checkout-line-total {
  font-weight: 700;
}

.remove-item {
  border: 1px solid rgba(180, 0, 0, 0.28);
  color: var(--brand);
  background: #fff;
  border-radius: 9px;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

.checkout-summary {
  margin-top: 1rem;
  background: linear-gradient(165deg, #ffffff 0%, #fff3e7 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.reveal,
.reveal-delay,
.reveal-delay-2 {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal-delay {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .cards-3,
  .two-col,
  .testimonials,
  .menu-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .product-card {
    grid-template-columns: 1fr;
  }

  .checkout-item {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .cta-band-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1120px, 94%);
  }

  .site-header {
    background: rgba(255, 250, 243, 0.98);
  }

  .nav-wrap {
    min-height: 70px;
    gap: 0.65rem;
  }

  .brand-logo {
    width: 150px;
    height: 46px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    right: 4%;
    left: 4%;
    background: #fffaf3;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.95rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 0.26s ease, transform 0.26s ease;
    box-shadow: 0 14px 30px rgba(32, 14, 8, 0.2);
    max-height: calc(100svh - 95px);
    overflow: auto;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .checkout-btn {
    order: 3;
    margin-left: auto;
    padding: 0.42rem 0.72rem;
    font-size: 0.86rem;
  }

  .hero {
    min-height: calc(100svh - 70px);
    padding: 3.8rem 0 2.6rem;
    background-attachment: scroll;
  }

  .home-hero-page .hero {
    min-height: calc(100svh - 70px);
  }

  .hero h1 {
    font-size: clamp(2rem, 10.3vw, 3rem);
    line-height: 0.97;
    text-wrap: balance;
  }

  .hero .lead {
    font-size: 1.08rem;
    max-width: 34ch;
  }

  .cta-row {
    width: 100%;
  }

  .cta-row .btn {
    flex: 1 1 100%;
    min-height: 48px;
  }

  .quick-stats {
    gap: 0.62rem;
  }

  .quick-stats li {
    border-radius: 14px;
    padding: 0.8rem;
  }

  .section {
    padding: 2.45rem 0;
  }

  .meal-card,
  .menu-item,
  .about-card,
  .contact-card,
  .contact-form,
  .feature-item,
  .cta-panel,
  .checkout-item,
  .checkout-summary,
  .product-card {
    border-radius: 14px;
    padding: 0.9rem;
  }

  .meal-photo {
    aspect-ratio: 16 / 10;
  }

  .product-actions .btn {
    width: 100%;
  }

  .checkout-item img {
    width: 100%;
    max-width: 180px;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    width: 135px;
    height: 42px;
  }

  .menu-toggle {
    padding: 0.35rem 0.62rem;
  }

  .checkout-btn {
    padding: 0.34rem 0.6rem;
    font-size: 0.8rem;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .hero .eyebrow {
    font-size: 0.75rem;
  }

  .hero .lead {
    font-size: 1rem;
  }
}
