/* Shared design system + Hero/nav for the four root pages (index.html language picker and
   indexEN/DE/nl.html single-page locale sites). This is the single canonical shared stylesheet
   per STANDARDS.md section 3. The 2000s-era layout it replaced (fixed-pixel .top/.menu/.bgcontent
   stacking, iframe shell) has been removed wholesale, not layered over. Locale iframe-content
   pages still use assets/css/iframe-style.css until those pages are retired in a later pass. */


/* ---- Design tokens ---------------------------------------------------------------------------
   The legacy palette (navy #1D1A61, blue #35439D, gold #FFBA13) is fully retired here: the
   redesign brief replaces it with a warm beige / olive / gold food-trade palette, so keeping the
   old --color-navy/blue/gold tokens would only invite drift. Tokens below are named by role. */

:root {
  --color-bg: #f5f0e6;          /* warm beige page base */
  --color-surface: #fffdf8;     /* near-white card/panel surface, still warm (not pure #fff) */
  --color-primary: #5c6b4f;     /* deep olive/sage — nav, headings, primary buttons */
  --color-primary-dark: #47543d;/* olive hover/active + footer */
  --color-accent: #bb9545;      /* muted gold — highlights, icons, secondary accent */
  --color-accent-dark: #9c7b34; /* gold hover */
  --color-text: #3a362e;        /* warm dark neutral body text (deliberately not pure black) */
  --color-text-soft: #6b6559;   /* muted supporting text */
  --color-border: #e2d9c6;      /* hairline dividers on the beige base */
  --color-on-dark: #f5f0e6;     /* text on olive surfaces */

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
  --space-2xl: 96px;

  --radius: 8px;
  --radius-lg: 16px;
  --max-width: 1120px;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}


/* ---- Base ------------------------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-primary-dark);
  margin: 0 0 var(--space-md);
  letter-spacing: -0.01em;
}

p { margin: 0 0 var(--space-md); }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); }

/* Offset in-page anchor targets so the sticky header never covers a section heading. */
:target { scroll-margin-top: 88px; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}


/* ---- Buttons (component with variants, BEM-lite per STANDARDS.md section 3/6) ---------------- */

.button {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button--primary {
  background-color: var(--color-primary);
  color: var(--color-on-dark);
}
.button--primary:hover { background-color: var(--color-primary-dark); }

.button--accent {
  background-color: var(--color-accent);
  color: #fff;
}
.button--accent:hover { background-color: var(--color-accent-dark); }

.button--ghost {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.button--ghost:hover {
  background-color: var(--color-primary);
  color: var(--color-on-dark);
}


/* ---- Site header + sticky anchor nav -------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100; /* keeps nav above hero media, which is the only positioned content near the top */
  background-color: var(--color-primary);
  color: var(--color-on-dark);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 64px;
  flex-wrap: wrap;
}

.site-brand {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-on-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.site-brand__accent { color: var(--color-accent); }

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius);
  color: var(--color-on-dark);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.site-nav__link:hover { background-color: var(--color-primary-dark); }
.site-nav__link--cta {
  background-color: var(--color-accent);
  color: #fff;
}
.site-nav__link--cta:hover { background-color: var(--color-accent-dark); }

/* Language switch sits in the header next to the nav on the locale pages. */
.lang-switch {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
  font-size: 14px;
}
.lang-switch__link {
  color: var(--color-on-dark);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  opacity: 0.75;
}
.lang-switch__link:hover { opacity: 1; }
.lang-switch__link--active {
  opacity: 1;
  font-weight: 700;
  color: var(--color-accent);
}


/* ---- Hero ----------------------------------------------------------------------------------- */

.hero {
  background-color: var(--color-bg);
  padding-block: var(--space-2xl);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-md);
  color: var(--color-accent-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.hero__title-accent { color: var(--color-accent); }

.hero__lead {
  font-size: 1.2rem;
  color: var(--color-text);
  max-width: 46ch;
}

.hero__origin {
  color: var(--color-text-soft);
  max-width: 48ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Hero media column: a full-height placeholder panel for future photography, with the small
   legacy map.gif framed as an inset. Both are flagged for replacement in the redesign report. */
.hero__media { position: relative; }

.hero__photo-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--color-border);
  background:
    repeating-linear-gradient(135deg,
      rgba(187, 149, 69, 0.06) 0, rgba(187, 149, 69, 0.06) 12px,
      transparent 12px, transparent 24px),
    var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
  color: var(--color-text-soft);
  font-size: 14px;
}

.hero__map {
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 132px;
  border-radius: var(--radius);
  border: 4px solid var(--color-surface);
  box-shadow: 0 6px 20px rgba(58, 54, 46, 0.18);
}


/* ---- Hero highlights (icon-led trust strip; establishes the inline-SVG icon approach) -------- */

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.hero-highlight {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.hero-highlight__icon {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}
.hero-highlight__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 0 0 2px;
}
.hero-highlight__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}


/* ---- Section shell (shared scaffolding for the content sections that follow the hero) --------
   Generic, reused by #about here and by #products/#quality/#contact in later redesign commits.
   Mirrors the hero's eyebrow/title/lead rhythm so the page reads as one system. */

.section {
  padding-block: var(--space-2xl);
}
.section--alt {
  background-color: var(--color-surface);
}

.section__header {
  max-width: 62ch;
  margin-bottom: var(--space-xl);
}
.section__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-md);
  color: var(--color-accent-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}
.section__lead {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 0;
}


/* ---- About ("Who we are"): lead + a short grid of supporting points ------------------------- */

.about__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.about__point {
  padding: var(--space-lg);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.about__point-title {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}
.about__point-text {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.98rem;
}


/* ---- Products: onion specialty feature + categorized herb/spice range ------------------------
   Restructures the legacy 77-line SKU dump (pages/iframes/*/products.html) into a scannable,
   icon-led presentation per the redesign brief: dried onion led as the specialty, then
   representative herb/spice groups, with the complete per-locale list preserved (nothing lost)
   in an expandable <details>. Reuses the shared .section / .section__header shell. */

.product-feature {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
}
.product-feature__label {
  display: inline-block;
  margin-bottom: var(--space-sm);
  color: var(--color-accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product-feature__title {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}
.product-feature__text {
  color: var(--color-text);
  margin-bottom: var(--space-md);
}
.product-feature__aside {
  color: var(--color-text-soft);
  font-size: 0.98rem;
  margin: 0;
}

/* Rounded "chip" list, shared by the onion forms (solid) and category items (soft outline). */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag {
  padding: 7px 14px;
  border-radius: 999px;
  background-color: var(--color-primary);
  color: var(--color-on-dark);
  font-size: 0.9rem;
  font-weight: 500;
}
.tag-list--soft .tag {
  background-color: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  font-weight: 400;
}

.product-range__title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}
.product-range__lead {
  color: var(--color-text-soft);
  max-width: 60ch;
  margin-bottom: var(--space-lg);
}

.product-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.product-category {
  padding: var(--space-lg);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.product-category__icon {
  width: 30px;
  height: 30px;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.product-category__title {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.product-range__note {
  color: var(--color-text-soft);
  font-size: 0.98rem;
  max-width: 62ch;
  margin-bottom: var(--space-lg);
}

/* Expandable complete list: keeps the default view clean while ensuring no SKU from the live
   site disappears. */
.product-full {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-surface);
  padding: 0 var(--space-lg);
  margin-bottom: var(--space-xl);
}
.product-full__summary {
  cursor: pointer;
  padding: var(--space-md) 0;
  font-weight: 600;
  color: var(--color-primary-dark);
}
.product-full__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
}
.product-full__heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-sm);
}
.product-full__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--color-text-soft);
}
.product-full__list li { margin-bottom: 3px; }

.product-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
.product-info__card {
  padding: var(--space-lg);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.product-info__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}
.product-info__text {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.98rem;
}


/* ---- Quality & food safety: icon-led grid of short trust statements --------------------------
   The most icon-forward section of the redesign per the brief. Reworks the food-safety prose from
   pages/iframes/*/aboutus.html into short icon + title + one-line statements, rather than paragraphs.
   Reuses the shared .section shell and the established inline-SVG icon conventions (currentColor,
   0 0 24 24 viewBox, round caps/joins). auto-fit keeps the grid balanced whether a locale carries
   seven items (EN/NL) or six (DE, which omits the traceability item — its source makes no explicit
   traceability claim; see the per-page comments). */

.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}
.quality-item {
  padding: var(--space-lg);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.quality-item__icon {
  width: 30px;
  height: 30px;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.quality-item__title {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}
.quality-item__text {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}


/* ---- Contact: address block + contact-method list (the simplest section per the brief) -------
   Uses the shared .section shell (--alt here, continuing the page's plain/alt alternation). The
   card sits on --color-bg to lift off the surface-toned section, mirroring the products feature
   panel. Address/phone/fax/email are the live details from pages/iframes/*/contact.html; the
   phone/fax labels are localized per page (the legacy source used the Dutch "Telefoon" on every
   locale). Icons follow the established inline-SVG conventions (currentColor, 0 0 24 24, round
   caps/joins). */

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.contact-block__label {
  display: inline-block;
  margin-bottom: var(--space-md);
  color: var(--color-accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-company {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-sm);
}
.contact-address {
  margin: 0;
  font-style: normal;
  color: var(--color-text);
  line-height: 1.7;
}
.contact-note {
  margin: var(--space-md) 0 0;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}
.contact-methods {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-md);
}
.contact-method {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.contact-method__icon {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  margin-top: 3px;
}
.contact-method__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}
.contact-method__value {
  color: var(--color-primary-dark);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
}
a.contact-method__value:hover { color: var(--color-accent-dark); }


/* ---- Footer --------------------------------------------------------------------------------- */

.site-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-on-dark);
  padding-block: var(--space-lg);
  font-size: 14px;
}
.site-footer a { color: var(--color-accent); }


/* ---- Language picker (index.html only) ------------------------------------------------------ */

.language-picker {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  text-align: center;
}
.language-picker__card {
  max-width: 520px;
}
.language-picker__brand {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: var(--space-sm);
}
.language-picker__tagline {
  color: var(--color-text-soft);
  margin-bottom: var(--space-xl);
}
.language-picker__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}


/* ---- Responsive ----------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 380px; margin-inline: auto; }
  .hero-highlights { grid-template-columns: 1fr; gap: var(--space-md); }
  .about__points { grid-template-columns: 1fr; gap: var(--space-md); }
  .site-header__inner { justify-content: center; }
  .product-feature { grid-template-columns: 1fr; gap: var(--space-lg); padding: var(--space-lg); }
  .product-categories { grid-template-columns: 1fr; gap: var(--space-md); }
  .product-full__grid { grid-template-columns: 1fr; }
  .product-info { grid-template-columns: 1fr; gap: var(--space-md); }
  .contact-card { grid-template-columns: 1fr; gap: var(--space-lg); padding: var(--space-lg); }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding-block: var(--space-xl); }
  .hero__actions .button { flex: 1 1 auto; text-align: center; }
}
