/* ==========================================================================
   Jashim's Tante-Emma-Laden — Stylesheet
   ========================================================================== */

:root {
  --color-primary: #f4770c;      /* signage orange, from the real logo */
  --color-primary-dark: #d2620a;
  --color-secondary: #2f7d4f;    /* fresh green, from the logo leaf */
  --color-accent: #c62828;       /* warm red, small accents only */
  --color-background: #fbf6ec;   /* warm cream */
  --color-surface: #ffffff;
  --color-surface-alt: #fff3e3;
  --color-text: #221c14;
  --color-muted: #6d6154;
  --color-border: #ead9c3;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-width: 1180px;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow-s: 0 2px 10px rgba(34, 28, 20, 0.08);
  --shadow-m: 0 12px 32px rgba(34, 28, 20, 0.14);
  --header-height: 78px;
}

/* ---- Reset & base ---- */
*, *::before, *::after { 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;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 0.5em; line-height: 1.1; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

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

.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--alt { background: var(--color-surface-alt); }
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.6em;
}
.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
}
.section-lead {
  max-width: 62ch;
  color: var(--color-muted);
  font-size: 1.05rem;
}
.section-head { margin-bottom: clamp(28px, 5vw, 48px); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s ease; flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-secondary { background: transparent; border-color: var(--color-text); color: var(--color-text); }
.btn-secondary:hover { background: var(--color-text); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--color-text); }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 236, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-s); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-height);
  transition: height 0.25s ease;
}
.site-header.is-scrolled .site-header__inner { height: 62px; }

.brand { display: flex; align-items: center; }
.brand img { height: 64px; width: 64px; border-radius: 50%; transition: height 0.25s ease, width 0.25s ease; box-shadow: var(--shadow-s); }
.site-header.is-scrolled .brand img { height: 50px; width: 50px; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--color-primary);
  transition: right 0.25s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; border: 1.5px solid var(--color-border); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  background: none; border: none; padding: 7px 12px; font-size: 0.8rem; font-weight: 700; color: var(--color-muted);
}
.lang-switch button.is-active { background: var(--color-text); color: #fff; }
.header-cta { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--color-text); margin: 0 auto; transition: transform 0.25s ease, opacity 0.25s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--color-background);
  z-index: 99;
  padding: calc(var(--header-height) + 20px) 24px 40px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 16px 4px; font-size: 1.3rem; font-family: var(--font-display); border-bottom: 1px solid var(--color-border); }
.mobile-nav .btn { margin-top: 24px; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-nav { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-text);
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,15,10,0.94) 20%, rgba(20,15,10,0.72) 48%, rgba(20,15,10,0.35) 78%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: clamp(120px, 22vw, 190px) 0 clamp(64px, 12vw, 100px);
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
  opacity: 0;
  animation: reveal-up 0.7s ease forwards 0.1s;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.7rem);
  max-width: 15ch;
  margin-bottom: 0.35em;
  opacity: 0;
  animation: reveal-up 0.8s ease forwards 0.25s;
}
.hero p {
  max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(255,255,255,0.86);
  opacity: 0;
  animation: reveal-up 0.8s ease forwards 0.4s;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  opacity: 0;
  animation: reveal-up 0.8s ease forwards 0.55s;
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__tag, .hero h1, .hero p, .hero__actions { opacity: 1; animation: none; transform: none; }
}
.hero__scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  z-index: 2;
}
.hero__scroll-cue::before {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 4px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll-cue 1.8s ease infinite;
}
@keyframes scroll-cue { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 18px; } 100% { opacity: 0; top: 18px; } }
@media (prefers-reduced-motion: reduce) { .hero__scroll-cue::before { animation: none; } }
@media (max-width: 640px) { .hero__scroll-cue { display: none; } }

/* Page header (non-home hero) */
.page-header {
  background: var(--color-text);
  color: #fff;
  padding: clamp(110px, 18vw, 150px) 0 56px;
}
.page-header .section-eyebrow { color: #ffb877; }
.page-header h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); color: #fff; max-width: 22ch; }
.page-header p { max-width: 56ch; color: rgba(255,255,255,0.82); }

/* ==========================================================================
   Category / quick nav chips
   ========================================================================== */
.chip-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.chip:hover, .chip.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ==========================================================================
   Cards: category / product / value
   ========================================================================== */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.category-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
}
.category-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.category-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.category-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-m); }
.category-card:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 4px; }
.category-card__label {
  display: block;
  padding: 20px;
}
.category-card__label h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 0.3em; }
.category-card__label span { font-size: 0.9rem; color: var(--color-muted); }
@media (min-width: 600px) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.value-card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-surface-alt);
  border-radius: 50%;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.value-card .icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 1.1rem; }
.value-card p { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
}
.gallery-grid figure {
  margin: 0;
  min-width: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
}
.gallery-grid figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (min-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid figure img { aspect-ratio: 4 / 5; }
}
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Keep the supporting photos together, even inside a narrow split column. */
.gallery-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.gallery-grid--compact figure img { aspect-ratio: 1 / 1; }
@media (max-width: 359px) {
  .gallery-grid--compact { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Split sections (about / local / etc.)
   ========================================================================== */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}
.split > * { min-width: 0; }
.split__media { border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-s); }
.split__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split__media img { aspect-ratio: 1 / 1; }
  .split--reverse .split__media { order: 2; }
}

.stat-row { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 28px; }
.stat-row div strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--color-primary); }
.stat-row div span { font-size: 0.85rem; color: var(--color-muted); }

/* ==========================================================================
   Info / hours / map card
   ========================================================================== */
.info-card {
  background: var(--color-surface);
  border-radius: var(--radius-m);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-s);
}
.info-list { display: flex; flex-direction: column; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon {
  width: 40px; height: 40px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-surface-alt); border-radius: 50%; color: var(--color-primary);
}
.info-list .icon svg { width: 19px; height: 19px; }
.info-list a:hover { color: var(--color-primary); }
.info-list strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); margin-bottom: 2px; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--color-border); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr:last-child td { border-bottom: none; }

.map-card {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--color-surface-alt);
  min-height: 260px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-s);
}
.map-card iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.split--contact { align-items: stretch; }
.split--contact .map-card { position: relative; min-height: 320px; }
.split--contact .map-card iframe { position: absolute; inset: 0; min-height: 0; }
.map-card--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  border: 1px dashed var(--color-border);
}
.map-card--placeholder svg { width: 34px; height: 34px; color: var(--color-primary); margin-bottom: 10px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.two-col { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field small { color: var(--color-muted); font-weight: 400; font-size: 0.8rem; }
.field input, .field textarea, .field select {
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(244, 119, 12, 0.15);
}
.field.error input, .field.error textarea { border-color: var(--color-accent); }
.field-error { color: var(--color-accent); font-size: 0.8rem; min-height: 1em; }
.form-note { font-size: 0.85rem; color: var(--color-muted); margin-top: 14px; }
.form-success {
  display: none;
  background: #e9f5ec;
  border: 1px solid #bfe3c9;
  color: #205c33;
  padding: 16px 18px;
  border-radius: var(--radius-s);
  margin-top: 18px;
}
.form-success.is-visible { display: block; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--color-primary); transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; color: var(--color-muted); max-width: 68ch; }

/* ==========================================================================
   Final CTA band
   ========================================================================== */
.cta-band {
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(36px, 6vw, 60px);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 50ch; margin-left: auto; margin-right: auto; }
.cta-band .hero__actions { justify-content: center; margin-top: 24px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #211a12; color: rgba(255,255,255,0.78); padding: 56px 0 18px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; margin-bottom: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; margin-bottom: 14px; }
.footer-brand img { height: 58px; width: 58px; border-radius: 50%; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: 0.82rem;
}
.footer-bottom ul { flex-direction: row; gap: 18px; }

/* ==========================================================================
   Mobile quick-action bar
   ========================================================================== */
.quick-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -6px 18px rgba(0,0,0,0.08);
  padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));
}
.quick-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 4px;
  color: var(--color-text);
}
.quick-bar svg { width: 20px; height: 20px; color: var(--color-primary); }
@media (min-width: 720px) { .quick-bar { display: none; } }
.quick-bar-spacer { height: 64px; }
@media (min-width: 720px) { .quick-bar-spacer { display: none; } }

/* ==========================================================================
   Scroll reveal utility
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ==========================================================================
   Misc / placeholders
   ========================================================================== */
.placeholder-note {
  display: inline-block;
  background: #fdecc8;
  color: #7a5300;
  border: 1px dashed #e0b555;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-text);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

.legal-content h2 { margin-top: 1.6em; font-size: 1.3rem; }
.legal-content p, .legal-content li { color: var(--color-muted); }
.legal-content ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal-content ul li { margin-bottom: 0.4em; }
