/* ---------- RESET ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
nav, ul { margin: 0; padding: 0; }
.menu, .submenu { list-style: none; }
html { scroll-behavior: smooth; }

/* ---------- BASE ---------- */
:root {
  --sunset-1: #5a0c0c;
  --sunset-2: #a4161a;
  --sunset-3: #e85d04;
  --sunset-4: #ff9f1c;
  --sunset: linear-gradient(135deg, var(--sunset-1) 0%, var(--sunset-2) 32%, var(--sunset-3) 64%, var(--sunset-4) 100%);
  --sunset-glass: linear-gradient(135deg, rgba(90, 12, 12, 0.82) 0%, rgba(164, 22, 26, 0.82) 32%, rgba(232, 93, 4, 0.82) 64%, rgba(255, 159, 28, 0.82) 100%);
  --amber-400: #ffc403;
  --off-white: #f9fafb;
  --ink: #0f172a;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--sunset);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
  color: #ffffff;
}

/* ---------- STICKY TOP NAV ---------- */
nav[aria-label="Primary"] {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--sunset-glass);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  overflow: visible; /* show dropdowns */
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
}

.logo-link { display: inline-flex; align-items: center; }
.site-logo {
  height: 56px;
  width: auto;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.35));
}

/* Top menu */
.menu {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto; /* push menu to the right of logo */
}
.menu-item > a {
  display: block;
  padding: 10px 12px;
  color: #111;      /* contrast on yellow */
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  line-height: 1;
}
.menu-item > a:hover,
.menu-item > a:focus {
  background: rgba(0,0,0,.06);
  outline: none;
}

/* Dropdowns */
.menu-item { position: relative; }
.menu-item.has-submenu > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: .9em;
}
.submenu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 6px;
  display: none;
  z-index: 1001;
}
.submenu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: #111;
  text-decoration: none;
  border-radius: 8px;
}
.submenu li a:hover,
.submenu li a:focus { background: #f3f4f6; }
.menu-item.has-submenu:hover > .submenu,
.menu-item.has-submenu:focus-within > .submenu { display: block; }

.price { font-weight: 700; letter-spacing: .2px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(5px, 5vw, 10px) 0;
}
.hero::before { content: none; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 0.9fr);
  align-items: center;
}
.hero-copy h1 {
  margin: 10px 0 14px 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
}
.hero-lede {
  margin: 0 0 18px 0;
  max-width: 640px;
  color: #fefcf9;
  opacity: 0.94;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.stat {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.stat-value { display: block; font-weight: 800; font-size: 1.2rem; color: #fff; }
.stat-label { display: block; color: #f3f4f6; opacity: 0.9; }

.hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(6px, 1vw, 12px);
}
.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 10% 6% 6% 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16), transparent 55%),
              radial-gradient(circle at 80% 70%, rgba(0,0,0,0.25), transparent 60%);
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
}
.hero-card {
  position: relative;
  width: min(100%, 580px);
  padding: clamp(14px, 2vw, 18px);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 60px rgba(0,0,0,0.36);
  backdrop-filter: blur(4px);
  z-index: 1;
}
.hero-main {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  display: block;
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
}

/* ---------- GENERIC SECTIONS ---------- */
.section { padding: 64px 0; scroll-margin-top: 80px; }
.container { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin: 0 0 16px 0;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: #fff;
}
.section-title.in-card { color: #fefcf9; }
.section-heading { text-align: center; margin-bottom: 22px; }
.section-heading .section-lede { color: #fefcf9; }
.section-surface {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(6px);
}
.section-lede {
  text-align: center;
  margin: 0 auto 18px;
  max-width: 720px;
  color: #fefcf9;
  opacity: 0.94;
}
.content-card .section-lede {
  color: #333;
  opacity: 0.9;
}
.sub-title { margin: 0 0 10px 0; color: #111; }

.content-card {
  background: #fff;
  color: #111;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  padding: 20px;
}

/* About */
.content-grid { display: grid; gap: 24px; align-items: center; }
.about-grid { grid-template-columns: 1fr; }
.about-copy { display: grid; gap: 10px; }
.about-copy { order: 1; }
.eyebrow-soft {
  background: rgba(255, 196, 3, 0.14);
  color: #7a4a00;
  text-transform: none;
  letter-spacing: 0.2px;
}
.about-img-frame {
  position: relative;
  display: grid;
  justify-items: center;
  order: 2;
  margin-top: 10px;
}
.about-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.about-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 6px;
}
.about-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.08);
  color: #111;
  font-weight: 600;
  font-size: 0.9rem;
}
.about-facts {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}
.fact {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: rgba(17, 17, 17, 0.02);
}
.fact-label { font-weight: 700; color: #7a4a00; }
.fact-text { color: #333; }
.bullet-list { margin: 12px 0 0 0; padding-left: 18px; }
.bullet-list li { margin: 6px 0; }

/* Menu / Recipes */
.category + .category { margin-top: 28px; }
.category-title {
  color: #fff;
  margin: 12px 0;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) );
  gap: 16px;
}
.card {
  background: #fff;
  color: #111;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  padding: 12px;
}
.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
}
.card h4 { margin: 6px 0 4px 0; }
.card p { margin: 0; opacity: .85; }

/* Stretched link to make the whole card clickable */
.card { position: relative; }
.stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}
/* Boxes / Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  background: #fff;
  color: #111;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  padding: 18px;
  border-top: 6px solid #ffc403;
  background-image: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.82));
}
.plan.featured { transform: translateY(-4px); }
.plan-name { margin: 0 0 4px 0; font-size: 1.25rem; }
.plan-meta { margin: 0 0 10px 0; opacity: .8; }
.plan-price { margin: 0 0 12px 0; font-size: 1.6rem; font-weight: 800; }
.plan ul { margin: 0 0 14px 18px; }
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff7a18 0%, #ffb238 100%);
  color: #111;
  border: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { filter: brightness(0.9); }
.btn.ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label { display: grid; gap: 6px; margin-bottom: 10px; }
.contact-form input,
.contact-form textarea {
  appearance: none;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #ffc403; box-shadow: 0 0 0 3px rgba(255,196,3,.25); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--sunset-glass);
  color: #fff;
  text-align: center;
  padding: 20px 12px 28px;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover,
.site-footer a:focus { text-decoration: underline; }

.footer-links { margin-bottom: 10px; }

/* Social icons */
.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  text-decoration: none;
  color: #111;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.2);
  text-decoration: none;
}
.social-link svg {
  width: 18px; height: 18px;
  fill: currentColor;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .about-img { max-height: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .navbar { padding: 8px 10px; }
  .menu { gap: 10px; }
  .hero { padding: 36px 0 46px; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Small helper text under form fields (e.g., delivery date message) */
.help{
  display:block;
  margin-top:6px;
  font-size:0.9rem;
  color:#111;            /* readable on white form cards */
  opacity:0.8;
}

/* Feature: Hover enlarge effect (used by JavaScript adding .hover-zoom) */
.hover-zoom{
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}

.hover-zoom:hover,
.hover-zoom:focus-within{
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* Accessibility: if user prefers reduced motion, remove animation */
@media (prefers-reduced-motion: reduce){
  .hover-zoom{ transition: none; }
  .hover-zoom:hover,
  .hover-zoom:focus-within{ transform: none; }
}

/* Fix: featured plan already uses transform, so combine it with hover scale */
.plan.featured.hover-zoom:hover,
.plan.featured.hover-zoom:focus-within{
  transform: translateY(-6px) scale(1.03);
}


/* Feature: Back-to-top floating button (created by JavaScript) */
.back-to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: none;
  background: #fff;
  color: #111;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.back-to-top.show{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.back-to-top:hover{
  filter: brightness(0.95);
}
