/* ============================================================
   Best Fresh International Market — stylesheet
   ============================================================ */

:root {
  --green-900: #0f3d22;
  --green-700: #1f7a3d;
  --green-600: #2a8c49;
  --green-100: #e8f4ec;
  --amber: #f4a72c;
  --amber-dark: #d98a0c;
  --ink: #16201a;
  --ink-soft: #45554c;
  --cream: #fbfaf5;
  --cream-2: #f4f1e8;
  --white: #ffffff;
  --line: #e4e0d4;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(16, 40, 26, .06);
  --shadow: 0 16px 40px rgba(16, 40, 26, .12);
  --maxw: 1180px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  clip: auto; background: var(--green-700); color: #fff; padding: 10px 16px;
  border-radius: 10px; z-index: 200;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 10px 22px rgba(31,122,61,.28); }
.btn--primary:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(31,122,61,.34); }
.btn--ghost { background: transparent; color: var(--green-900); border-color: var(--green-700); }
.btn--ghost:hover { background: var(--green-700); color: #fff; transform: translateY(-2px); }
.btn--small { padding: 11px 18px; font-size: .92rem; background: var(--amber); color: var(--green-900); }
.btn--small:hover { background: var(--amber-dark); color: #fff; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber-dark);
  margin-bottom: 14px;
}
.eyebrow--green { color: var(--green-700); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--green-900); letter-spacing: -.01em; }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-900); color: #dff0e4; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 9px 24px; text-align: center; }
.topbar__sep { opacity: .4; }
.topbar__item--accent { color: var(--amber); font-weight: 700; }
.topbar__link { transition: color .15s ease; }
.topbar__link:hover { color: var(--amber); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 245, .85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { height: 54px; width: auto; }

/* ---------- Nav ---------- */
.nav__menu { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav__menu a { font-weight: 600; font-size: .98rem; color: var(--ink-soft); transition: color .15s ease; }
.nav__menu a:hover { color: var(--green-700); }
.nav__menu .btn--small { color: var(--green-900); }
.nav__menu .btn--small:hover { color: #fff; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 24px; height: 2.5px; background: var(--green-900); border-radius: 3px; transition: .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--green-900); color: #fff; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(11,40,24,.94) 0%, rgba(15,61,34,.86) 42%, rgba(15,61,34,.45) 100%),
    url("../images/produce.webp") center/cover no-repeat;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .10;
  background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1.4px);
  background-size: 26px 26px;
}
.hero__inner { position: relative; padding: 84px 24px 76px; }
.hero__content { max-width: 720px; }
.hero .eyebrow { color: var(--amber); }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.4rem); color: #fff; margin-bottom: 22px; }
.hero__title span { color: var(--amber); }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #d9ecdf; max-width: 620px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero__actions .btn--ghost:hover { background: #fff; color: var(--green-900); }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.hero__badges li { font-size: .95rem; color: #cfe6d6; display: flex; gap: 7px; align-items: baseline; }
.hero__badges strong { color: var(--amber); font-weight: 700; }

/* Hero marquee */
.hero__marquee { position: relative; border-top: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.18); overflow: hidden; }
.marquee__track { display: flex; gap: 0; white-space: nowrap; animation: marquee 32s linear infinite; }
.marquee__track span {
  font-family: var(--font-head); font-style: italic; font-size: 1.15rem;
  color: #eafdf0; padding: 16px 30px; position: relative; opacity: .85;
}
.marquee__track span::after { content: "✦"; position: absolute; right: -4px; color: var(--amber); font-style: normal; font-size: .8rem; top: 50%; transform: translateY(-50%); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Generic section ---------- */
.section { padding: 88px 0; }
.section--tint { background: var(--green-100); }
.section__head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 16px; }
.section__head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- About / Feature ---------- */
.feature__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.feature__figure {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.feature__figure img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.feature__figure-tag {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(255,255,255,.94); color: var(--green-900); font-weight: 700;
  padding: 10px 18px; border-radius: 999px; font-size: .92rem; box-shadow: var(--shadow-sm);
}
.feature__body h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 18px; }
.feature__body > p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 18px; }
.feature__body > p:last-of-type { margin-bottom: 26px; }

/* ---------- Products ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 40px;
}
.product-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__icon {
  width: 64px; height: 64px; margin: 30px 30px 0; display: grid; place-items: center;
  font-size: 2rem; background: var(--green-100); border-radius: 18px;
}
.product-card__body { padding: 24px 30px 30px; }
.product-card__body h3 { font-size: 1.42rem; margin-bottom: 8px; }
.product-card__body p { color: var(--ink-soft); }
.product-card--lg { grid-row: span 1; }
.product-card:not(.product-card--lg) { grid-column: span 1; }

/* ---------- Deli & Bakery ---------- */
.deli-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.deli-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease;
}
.deli-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.deli-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.deli-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.deli-card:hover .deli-card__img img { transform: scale(1.05); }
.deli-card__body { padding: 24px 28px 28px; }
.deli-card__body h3 { font-size: 1.34rem; margin-bottom: 8px; }
.deli-card__body p { color: var(--ink-soft); }

.checklist { list-style: none; display: grid; gap: 13px; margin-bottom: 30px; }
.checklist li { position: relative; padding-left: 36px; color: var(--ink); font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px;
  background: var(--green-700); color: #fff; border-radius: 50%; display: grid; place-items: center;
  font-size: .82rem; font-weight: 800;
}

/* ---------- Chips ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; max-width: 880px; margin: 0 auto; }
.chips li {
  background: var(--white); border: 1px solid #cfe3d6; color: var(--green-900);
  font-weight: 600; padding: 13px 22px; border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.chips li:hover { transform: translateY(-3px); background: var(--green-700); color: #fff; border-color: var(--green-700); }

/* ---------- Reviews ---------- */
.rating { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 8px; }
.rating__stars { color: var(--amber); font-size: 1.4rem; letter-spacing: 2px; }
.rating__text { color: var(--ink-soft); font-size: .95rem; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
}
.review__stars { color: var(--amber); letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote { font-family: var(--font-head); font-size: 1.12rem; line-height: 1.5; color: var(--green-900); font-style: italic; }
.review figcaption { color: var(--ink-soft); font-weight: 600; font-size: .9rem; margin-top: auto; }

/* ---------- Visit ---------- */
.visit { padding: 90px 0; background: var(--green-900); color: #eafdf0; }
.visit__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: stretch; }
.visit .eyebrow { color: var(--amber); }
.visit__info h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.visit__info > p { color: #cfe6d6; font-size: 1.08rem; margin-bottom: 30px; max-width: 520px; }
.visit__list { list-style: none; display: grid; gap: 18px; margin-bottom: 32px; }
.visit__list li { display: flex; gap: 16px; align-items: flex-start; }
.visit__icon { font-size: 1.4rem; line-height: 1.4; }
.visit__list strong { display: block; color: var(--amber); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.visit__list a, .visit__list span { color: #eafdf0; }
.visit__list a:hover { color: var(--amber); text-decoration: underline; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.visit__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.visit__actions .btn--ghost:hover { background: #fff; color: var(--green-900); }

.visit__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 4px solid rgba(255,255,255,.1); min-height: 420px; }
.visit__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: #0b2c18; color: #b9d2c2; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding: 64px 24px 44px; }
.footer__logo {
  height: 58px; width: auto; background: var(--cream);
  padding: 8px 14px; border-radius: 14px;
}
.footer__brand p { margin-top: 16px; max-width: 320px; font-size: .96rem; }
.footer__col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col a:hover { color: var(--amber); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 20px 24px; font-size: .85rem; color: #8eac9b; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .feature__grid, .visit__grid { grid-template-columns: 1fr; gap: 40px; }
  .product-grid, .reviews-grid, .deli-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .feature__figure img { min-height: 300px; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px; box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
    padding-top: 0; padding-bottom: 0;
  }
  .nav__menu.is-open { max-height: 420px; padding-top: 8px; padding-bottom: 18px; }
  .nav__menu li { border-bottom: 1px solid var(--line); }
  .nav__menu li:last-child { border-bottom: 0; padding-top: 12px; }
  .nav__menu a { display: block; padding: 14px 6px; }
  .nav__menu .btn--small { display: inline-flex; }
  .topbar__inner { font-size: .76rem; gap: 8px; }
}

@media (max-width: 560px) {
  .product-grid, .reviews-grid, .deli-grid, .footer__grid { grid-template-columns: 1fr; }
  .hero__inner { padding: 60px 24px 56px; }
  .section { padding: 64px 0; }
  .footer__bar-inner { flex-direction: column; }
}
