/* ==========================================================================
   UK Meal Club — Core Stylesheet
   Brand tokens + light custom layer on top of Bootstrap 5.3.
   Kept intentionally to one file: no build step, no component framework.
   ========================================================================== */

:root {
  --brand-green: #00CF57;
  --brand-green-dark: #00A847;
  --brand-dark: #022226;
  --bg: #F8FAF9;
  --card: #FFFFFF;
  --text-muted: #5B6B69;
  --radius-card: 24px;
  --radius-btn: 50px;
  --shadow-soft: 0 10px 30px -12px rgba(2, 34, 38, 0.18);
  --shadow-lift: 0 18px 40px -14px rgba(0, 207, 87, 0.35);
  --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--brand-dark);
  line-height: 1.6;
}

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

a { color: var(--brand-green-dark); text-decoration: none; }
a:hover { color: var(--brand-dark); }

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

h1, h2, h3, h4 { font-family: var(--font-body); color: var(--brand-dark); font-weight: 700; }
h1 { font-weight: 800; }

.text-muted { color: var(--text-muted) !important; }

/* ---- Buttons ---- */
.btn-brand, .btn-brand-outline {
  border-radius: var(--radius-btn);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-brand {
  background: var(--brand-green);
  color: #022226;
  border: none;
  box-shadow: var(--shadow-lift);
}
.btn-brand:hover { background: var(--brand-green-dark); color: #fff; transform: translateY(-2px); }
.btn-brand-outline {
  background: transparent;
  color: var(--brand-dark);
  border: 2px solid var(--brand-dark);
}
.btn-brand-outline:hover { background: var(--brand-dark); color: #fff; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 250, 249, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(2, 34, 38, 0.06);
}
.navbar { padding-top: 0.6rem; padding-bottom: 0.6rem; }
.nav-link { color: var(--brand-dark); font-weight: 500; }
.nav-link:hover { color: var(--brand-green-dark); }

/* ---- Cards ---- */
.card, .menu-card, .info-card {
  background: var(--card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  border: none;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
}
.hero::after {
  /* Signature element: a single soft "spice steam" arc behind the hero copy — restrained, not decorative clutter. */
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle at center, rgba(0,207,87,0.18), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(0,207,87,0.12);
  color: var(--brand-green-dark);
  border-radius: var(--radius-btn);
  padding: 0.4rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.15; }
.hero-lead { font-size: 1.15rem; color: var(--text-muted); max-width: 46ch; }
.hero-actions { gap: 0.75rem; }
.hero-image-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Sections ---- */
.section { padding: 4.5rem 0; }
.section-alt { background: #F1F7F3; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-green-dark);
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.5rem; }
.section-sub { color: var(--text-muted); max-width: 60ch; }

/* ---- Badges ---- */
.badge-veg, .badge-nonveg, .badge-special, .badge-popular, .badge-today {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-btn);
  margin-right: 0.3rem;
}
.badge-veg { background: #E4F8EA; color: #12793C; }
.badge-nonveg { background: #FDEAEA; color: #B3261E; }
.badge-special { background: #FFF3D6; color: #9A6B00; }
.badge-popular { background: rgba(0,207,87,0.15); color: var(--brand-green-dark); }
.badge-today { background: var(--brand-dark); color: #fff; }
.spice-level { color: #B3261E; letter-spacing: 1px; font-size: 0.85rem; }

/* ---- Menu cards ---- */
.menu-card { padding: 1.25rem; height: 100%; }
.menu-card img { border-radius: 16px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.menu-card h3 { font-size: 1.05rem; margin: 0.75rem 0 0.25rem; }
.menu-price { font-weight: 700; color: var(--brand-green-dark); }

/* ---- Gallery ---- */
.gallery-grid img {
  border-radius: 18px;
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  transition: transform 0.25s ease;
}
.gallery-grid a:hover img { transform: scale(1.03); }

/* ---- Reviews ---- */
.review-card { padding: 1.5rem; height: 100%; }
.review-stars { color: #F5A623; letter-spacing: 2px; }
.google-badge { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.overall-rating-number { font-size: 2.4rem; font-weight: 800; color: var(--brand-dark); }

/* ---- FAQ ---- */
.accordion-button:not(.collapsed) {
  background: rgba(0,207,87,0.1);
  color: var(--brand-dark);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(0,207,87,0.35); }

/* ---- Info / hours / map ---- */
.info-card { padding: 1.75rem; }
.hours-row { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px dashed rgba(2,34,38,0.1); }
.hours-row:last-child { border-bottom: none; }
.status-pill { border-radius: var(--radius-btn); padding: 0.3rem 0.9rem; font-weight: 700; font-size: 0.8rem; }
.status-open { background: #E4F8EA; color: #12793C; }
.status-closed { background: #FDEAEA; color: #B3261E; }
.map-embed { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-soft); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---- Footer ---- */
.site-footer { background: var(--brand-dark); color: rgba(255,255,255,0.85); }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--brand-green); }
.footer-heading { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin-bottom: 0.75rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-address { font-style: normal; margin-bottom: 0.75rem; }
.footer-rule { border-color: rgba(255,255,255,0.15); margin: 2rem 0 1.25rem; }
.social-icon { font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-btn); padding: 0.3rem 0.9rem; }

/* ---- WhatsApp floating button ---- */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 1500;
  transition: transform 0.15s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }

/* ---- Lazy image fade-in ---- */
img[loading="lazy"] { opacity: 0; transition: opacity 0.3s ease; }
img[loading="lazy"].loaded { opacity: 1; }

/* ---- Responsive tweaks ---- */
@media (max-width: 991.98px) {
  .hero { padding: 3rem 0 3.5rem; text-align: center; }
  .hero-lead { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero::after { display: none; }
}
@media (max-width: 575.98px) {
  .section { padding: 3rem 0; }
}
