/* ── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --emerald-950: #042f2e;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --cream-50:  #fefdf8;
  --cream-100: #fef9ee;
  --cream-200: #fdf3e0;
  --cream-300: #f5e6c8;
  --stone-50:  #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--stone-800);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Skip Link ──────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--emerald-800); color: #fff;
  padding: 8px 16px; border-radius: var(--radius);
  z-index: 200; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(254,253,248,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone-200);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-serif); font-weight: 800;
  font-size: 1.25rem; color: var(--emerald-900);
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--emerald-800); color: var(--cream-100);
  border-radius: 10px; display: grid; place-items: center;
  font-size: 1rem;
}
.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: .938rem; font-weight: 500; color: var(--stone-700);
  transition: color .2s;
}
.main-nav a:hover { color: var(--emerald-700); }

/* ── Nav Toggle ─────────────────────────────────── */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative;
}
.nav-toggle-bar {
  display: block; width: 22px; height: 2px;
  background: var(--stone-700); border-radius: 2px;
  position: absolute; left: 7px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle-bar:nth-child(1) { top: 9px; }
.nav-toggle-bar:nth-child(2) { top: 17px; }
.nav-toggle-bar:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--cream-50);
    border-bottom: 1px solid var(--stone-200);
    padding: 24px;
    transform: translateY(-110%); opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav ul { flex-direction: column; gap: 20px; align-items: flex-start; }
  .main-nav a { font-size: 1.1rem; }
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: .938rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  border: 2px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--emerald-700); color: #fff;
  border-color: var(--emerald-700);
}
.btn-primary:hover { background: var(--emerald-800); border-color: var(--emerald-800); box-shadow: 0 8px 24px rgba(4,120,87,.3); }
.btn-outline {
  background: transparent; color: var(--cream-50);
  border-color: rgba(254,253,248,.5);
}
.btn-outline:hover { background: rgba(254,253,248,.12); border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .875rem; }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(135deg,
      var(--emerald-950) 0%,
      var(--emerald-800) 30%,
      #0d7a5f 55%,
      var(--emerald-600) 80%,
      #0ea876 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(4,47,46,.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(16,185,129,.25) 0%, transparent 50%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 780px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .813rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream-300); margin-bottom: 20px;
  background: rgba(255,255,255,.1);
  padding: 8px 20px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.12);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 800; line-height: 1.08;
  color: #fff; margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(0,0,0,.2);
}
.text-accent { color: var(--cream-200); }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(254,253,248,.82);
  max-width: 560px; margin: 0 auto 40px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat { text-align: center; }
.stat-value { display: block; font-size: 1.5rem; margin-bottom: 4px; }
.stat-label { font-size: .813rem; color: rgba(254,253,248,.65); font-weight: 500; letter-spacing: .04em; }

/* ── Section Shared ─────────────────────────────── */
.section { padding: 100px 0; }
.section-eyebrow {
  display: inline-block;
  font-size: .813rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--emerald-700); margin-bottom: 12px;
}
.section-eyebrow-center { text-align: center; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; line-height: 1.15;
  color: var(--stone-900); margin-bottom: 20px;
}
.section-title-center { text-align: center; }
.section-lead {
  font-size: 1.1rem; color: var(--stone-600);
  max-width: 560px; line-height: 1.7;
}
.section-lead-center { text-align: center; margin: 0 auto 56px; }

/* ── About ──────────────────────────────────────── */
.about { background: var(--cream-50); }
.grid-2 { display: grid; gap: 56px; align-items: center; }
.about-content .lead { color: var(--stone-600); margin-bottom: 16px; font-size: 1.05rem; }
.about-content p { color: var(--stone-700); margin-bottom: 16px; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.feature-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.feature-list li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500; color: var(--stone-700);
}
.feature-icon {
  flex-shrink: 0; width: 22px; height: 22px;
  color: var(--emerald-600);
}

@media (max-width: 900px) {
  .grid-2-reverse { direction: rtl; }
  .grid-2-reverse > * { direction: ltr; }
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .about-image { order: -1; }
}

/* ── Menu ───────────────────────────────────────── */
.menu { background: var(--cream-100); }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.menu-card {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.menu-card-img { overflow: hidden; aspect-ratio: 4/3; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.menu-card:hover .menu-card-img img { transform: scale(1.05); }
.menu-card-body { padding: 24px; }
.menu-card-title {
  font-family: var(--font-serif); font-size: 1.25rem;
  font-weight: 700; color: var(--stone-900); margin-bottom: 8px;
}
.menu-card-desc { font-size: .938rem; color: var(--stone-600); line-height: 1.65; }

/* ── Groceries ──────────────────────────────────── */
.groceries { background: var(--cream-50); }
.groceries-content .lead { color: var(--stone-600); margin-bottom: 16px; }
.groceries-content p { color: var(--stone-700); margin-bottom: 28px; }
.groceries-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.groceries-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Visit ──────────────────────────────────────── */
.visit { background: var(--emerald-900); color: #fff; }
.visit .section-eyebrow { color: var(--cream-300); }
.visit .section-title { color: #fff; }
.visit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin-bottom: 48px;
}
.visit-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 32px;
  text-align: center;
  transition: background .2s;
}
.visit-card:hover { background: rgba(255,255,255,.1); }
.visit-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: rgba(255,255,255,.1); border-radius: 14px;
  display: grid; place-items: center; color: var(--cream-200);
}
.visit-card-title {
  font-family: var(--font-serif); font-size: 1.15rem;
  font-weight: 700; margin-bottom: 8px; color: #fff;
}
.visit-card-text { font-size: .938rem; color: rgba(254,253,248,.75); line-height: 1.7; }
.visit-card-text a { color: var(--cream-200); text-decoration: underline; text-underline-offset: 3px; }
.visit-card-text a:hover { color: #fff; }
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ── Footer ─────────────────────────────────────── */
.site-footer { background: var(--stone-900); color: rgba(254,253,248,.6); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-tagline { font-size: .938rem; max-width: 280px; line-height: 1.7; }
.footer-heading {
  font-size: .813rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(254,253,248,.4); margin-bottom: 16px;
}
.footer-links ul, .footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a {
  font-size: .938rem; color: rgba(254,253,248,.65);
  transition: color .2s;
}
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom { padding: 24px 0; text-align: center; font-size: .813rem; color: rgba(254,253,248,.35); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 72px 0; }
  .hero { padding: 100px 24px 60px; }
}

/* ── Scroll Reveal (progressive enhancement) ───── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
