/* Akiva's Kulinary Kraft — styles match the landing page mockup */
:root {
  --green: #1E4D2B;
  --green-hero: #163A21;
  --green-dark: #14301C;
  --gold: #E3B85C;
  --gold-hover: #EEC977;
  --gold-soft: #E2C27A;
  --gold-text: #8A6420;
  --tan: #C8A27A;
  --cream: #FBF7EF;
  --cream-2: #F3EBDB;
  --ink: #1D2A20;
  --muted: #4C5A4E;
  --muted-2: #5E6A5F;
  --line: #D8CCB4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: 'Assistant', system-ui, sans-serif; font-size: 17px; line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: #B8892E; }
p { margin: 0; }

.wrap {
  max-width: 1180px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.wrap.narrow {
  padding-left: max(96px, env(safe-area-inset-left, 0px));
  padding-right: max(96px, env(safe-area-inset-right, 0px));
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-family: 'Assistant', system-ui, sans-serif; font-weight: 700; font-size: 17px;
  text-decoration: none; text-align: center; transition: background .2s, color .2s;
}
.btn-sm { min-height: 44px; font-size: 15px; }
.btn-lg { min-height: 54px; font-size: 18px; padding: 0 30px; }
.btn-gold { background: var(--gold); color: #0F2716; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(15,39,22,.12); }
.btn-gold:hover { background: var(--gold-hover); color: #0F2716; }
.btn-gold:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; }
.btn-line { border: 2px solid var(--cream); color: var(--cream); }
.btn-line:hover { background: var(--cream); color: var(--green); }
.btn-wa { gap: 10px; }
.wa-logo { width: 24px; height: 24px; flex: none; background: #fff; border-radius: 50%; padding: 2px; box-sizing: content-box; }
.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-dark); color: var(--cream); }
.btn-green:focus-visible { outline: 3px solid #B8892E; outline-offset: 2px; }

/* Wordmark (top bar + footer) */
.wordmark {
  font-family: 'Rye', 'Fraunces', Georgia, serif; font-size: 22px; line-height: 1.2;
  letter-spacing: .03em; text-decoration: none; color: var(--cream);
}
.wordmark span { color: var(--gold-soft); }
a.wordmark:hover { color: var(--cream); }

/* Top bar */
.topbar { background: var(--green); color: var(--cream); position: sticky; top: 0; z-index: 40; }
.topbar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-block: 14px;
}

/* Hero */
.hero { background: var(--green-hero); color: var(--cream); }
.hero-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 18px; padding-block: 56px 52px;
}
.logo { margin: 0; line-height: 0; }
.logo img { width: 300px; max-width: 80vw; height: auto; }
.tagline {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 14px;
  line-height: 1.7; letter-spacing: .18em; color: var(--gold-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* Carousel */
.carousel {
  width: 100%; max-width: 988px; display: flex; align-items: center; gap: 12px; margin-top: 22px;
}
.track {
  flex: 1 1 auto; min-width: 0; display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 calc((100% - 56px) / 5); scroll-snap-align: start; aspect-ratio: 1 / 1;
  border-radius: 14px; overflow: hidden; padding: 0; border: 0; cursor: zoom-in;
  background: rgba(255,255,255,.06);
}
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.slide:hover img { transform: scale(1.05); }
.slide:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: -3px; }
.arrow {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px;
  border: 2px solid rgba(251,247,239,.6); background: transparent; color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.arrow:hover { background: var(--cream); color: var(--green-hero); border-color: var(--cream); }
.arrow:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }

/* Occasions strip */
.occasions { background: var(--tan); color: var(--green-dark); }
.occ {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px 36px; padding-block: 18px;
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 15px; letter-spacing: .12em;
}
.occ-pair { display: inline-flex; align-items: center; gap: 36px; white-space: nowrap; }

/* Kind words */
.kind-words {
  background-color: var(--cream-2); background-image: url(assets/pattern.png);
  background-size: 620px 620px; background-repeat: repeat;
}
.kw-inner { display: flex; flex-direction: column; align-items: center; gap: 44px; padding-block: 72px 80px; }
.kind-words h2 {
 text-align: center;
}
.quotes {
  width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px 48px; align-items: start;
}
.quotes figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.quotes blockquote {
  margin: 0; 
  font-size: 22px; line-height: 1.5; color: var(--ink);
}
.quotes figcaption { font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--gold-text); }

/* Order */
.order { background: var(--cream); }
.order-inner { display: flex; flex-wrap: wrap; gap: 48px; padding-block: 80px 88px; }
.order-info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
h2 {
  margin: 0; font-family: 'Fraunces', 'Frank Ruhl Libre', Georgia, serif;
  font-weight: 900; font-size: 44px; line-height: 1.1; color: var(--green);
}
.he-sub {
  font-family: 'Frank Ruhl Libre', 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: 26px; color: var(--gold-text); align-self: flex-start;
}
.intro { font-size: 18px; line-height: 1.55; color: var(--muted); }
.info-block { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.info-block p { font-size: 17px; }
.info-block .label {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 13px;
  letter-spacing: .14em; color: var(--gold-text);
}
.info-block a { text-decoration: none; }
.info-block a:hover { text-decoration: underline; }
.num { font-variant-numeric: tabular-nums; }
.contact-line { display: flex; align-items: center; gap: 10px; }
.contact-line .icon { width: 20px; height: 20px; flex: none; color: var(--green); }

.order-form { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.form-card {
  padding: 28px; border-radius: 20px; background: #FFFFFF; border: 1px solid #DCCFB6;
  min-height: 320px;
}
.form-fallback { font-size: 15px; color: var(--muted-2); text-align: center; }

/* Footer */
.footer { background: var(--green-dark); color: #D9E3D6; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-block: 36px;
}
.footer-inner p:last-child { font-size: 16px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(12, 28, 17, .95);
  display: flex; align-items: center; justify-content: center; padding: 56px 72px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.lb-figure img {
  max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto;
  min-width: min(560px, 100%); object-fit: contain; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lb-figure figcaption {
  color: var(--cream); margin-top: 14px; text-align: center;
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 17px;
}
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid rgba(251,247,239,.6); background: transparent; color: var(--cream);
  font-size: 30px; line-height: 1; display: grid; place-items: center; cursor: pointer;
}
.lb-btn:hover { background: var(--cream); color: var(--green-hero); }
.lb-btn:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 900px) {
  .slide { flex-basis: calc((100% - 42px) / 4); }
  .wrap.narrow {
    padding-left: max(40px, env(safe-area-inset-left, 0px));
    padding-right: max(40px, env(safe-area-inset-right, 0px));
  }
}
@media (max-width: 760px) {
  .occ-mid { display: none; }
  .occ .occ-pair { flex-basis: 100%; justify-content: center; gap: 14px; }
  .occ { font-size: 13px; letter-spacing: .08em; padding-block: 14px; }
}
@media (max-width: 600px) {
  .slide { flex-basis: calc((100% - 14px) / 2); }
  .wrap.narrow {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
  .wordmark { font-size: 16px; }
  .topbar-inner { flex-wrap: nowrap; gap: 10px; padding-block: 10px; }
  .topbar .btn-sm { padding: 0 14px; font-size: 14px; white-space: nowrap; }
  .order-info h2 { font-size: 36px; }
  .form-card { padding: 16px 12px; }
  .carousel .arrow { width: 40px; height: 40px; }
  .lightbox { padding: 60px 8px 76px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-figure img { min-width: 0; max-height: calc(100vh - 190px); }
}
@media (prefers-reduced-motion: reduce) {
  html, .track { scroll-behavior: auto; }
  .slide img { transition: none; }
}
