/* ===========================================================
   ZENTRA — Shared Design System
   Used by both Zentra Holding and Zentra Fruits
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Zentra Holding palette */
  --holding-charcoal: #1E201C;
  --holding-charcoal-light: #2A2D25;
  --holding-off-white: #F7F6F2;
  --holding-text-muted: #5C5D57;
  --holding-border: #E4E2DA;

  /* Zentra Fruits palette */
  --fruits-olive: #2E3A1F;
  --fruits-olive-light: #3A3D2E;
  --fruits-cream: #F6F1E4;
  --fruits-ink: #21241A;
  --fruits-text-muted: #6B6A5A;
  --fruits-border: #E4E0D2;

  /* Shared */
  --gold: #A08A4C;
  --gold-dark: #8A7640;
  --success-green: #3E6B4F;
  --white: #FFFFFF;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  --radius-card: 12px;
  --radius-control: 8px;
  --radius-pill: 20px;

  --max-width: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fruits-ink);
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Typography ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 19px; }

p { font-size: 16px; }

.text-muted { color: var(--fruits-text-muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-control);
  cursor: pointer;
  border: none;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.btn:active { transform: scale(0.98); }

.btn-gold {
  background: var(--gold);
  color: var(--fruits-ink);
}
.btn-gold:hover { background: var(--gold-dark); }

.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: #EDEAD9;
}
.btn-outline-light:hover { border-color: rgba(255,255,255,0.6); }

.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--fruits-border);
  color: var(--fruits-text-muted);
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold-dark); }

/* ---------- Top catalogue banner (Fruits only) ---------- */

.top-banner {
  background: var(--gold);
  color: var(--fruits-ink);
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
}
.top-banner a { text-decoration: underline; }

/* ---------- Nav ---------- */

.site-nav {
  padding: 18px 0;
  position: relative;
}
.site-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 14px;
}
.nav-links a { opacity: 0.85; transition: opacity 0.15s; }
.nav-links a:hover { opacity: 1; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 22px; line-height: 1; padding: 4px; }

/* Holding nav = charcoal */
.nav-holding { background: var(--holding-charcoal); }
.nav-holding .nav-logo, .nav-holding .nav-links a, .nav-holding .nav-toggle { color: #F2F0E8; }

/* Fruits nav = olive */
.nav-fruits { background: var(--fruits-olive); }
.nav-fruits .nav-logo, .nav-fruits .nav-links a, .nav-fruits .nav-toggle { color: #F6F1E4; }

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 0.5px solid var(--fruits-border);
  border-radius: var(--radius-card);
  padding: 20px;
}

.card-live {
  border: 1.5px solid var(--gold);
}

/* ---------- Badges / tags ---------- */

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: #EDE7D0;
  color: #4A4227;
}

.pill-tab {
  display: inline-block;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 0.5px solid #C9BE9C;
  color: var(--fruits-text-muted);
  cursor: pointer;
  background: transparent;
}
.pill-tab.active {
  background: var(--fruits-olive);
  color: var(--fruits-cream);
  border-color: var(--fruits-olive);
}

/* ---------- Sections ---------- */

section { padding: 64px 0; }

.section-tight { padding: 40px 0; }

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

.site-footer {
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-links { list-style: none; font-size: 14px; }
.footer-links li { margin-bottom: 10px; opacity: 0.85; }
.footer-bottom {
  border-top: 0.5px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-holding { background: var(--holding-charcoal); color: #F2F0E8; }
.footer-fruits { background: var(--fruits-ink); color: #F6F1E4; }

/* ---------- Forms ---------- */

input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 0.5px solid var(--fruits-border);
  background: var(--white);
  color: var(--fruits-ink);
}
textarea { resize: vertical; min-height: 90px; }
label { font-size: 12px; color: var(--fruits-text-muted); margin-bottom: 5px; display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { margin-bottom: 14px; }

/* ---------- Modal ---------- */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 14, 0.55);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--fruits-cream);
  border-radius: 14px;
  padding: 32px;
  width: 100%;
  max-width: 380px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--fruits-text-muted);
}

/* ---------- Utility ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

.img-placeholder {
  background: #EDE7D6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A39A7C;
  font-size: 13px;
  min-height: 220px;
}

/* ---------- Holding hero background ---------- */

.hero-holding {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(30,32,28,0.97) 0%, rgba(30,32,28,0.75) 38%, rgba(30,32,28,0.15) 68%, rgba(30,32,28,0.05) 100%),
    url('../images/holding-hero-map.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 860px) {
  .hero-holding {
    background-image:
      linear-gradient(180deg, rgba(30,32,28,0.95) 0%, rgba(30,32,28,0.75) 32%, rgba(30,32,28,0.25) 55%, rgba(30,32,28,0.15) 100%),
      url('../images/holding-hero-map-mobile.png');
    background-position: top center;
  }
}


/* ---------- Icon badges ---------- */

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
}
.icon-badge svg { width: 19px; height: 19px; }
.icon-badge-light { border-color: rgba(160,138,76,0.6); color: #C7B378; }

@media (max-width: 860px) {
  h1 { font-size: 30px; }
  h2 { font-size: 23px; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 18px 20px;
    gap: 16px;
    z-index: 50;
  }
  .nav-holding .nav-links.nav-open { background: var(--holding-charcoal); }
  .nav-fruits .nav-links.nav-open { background: var(--fruits-olive); }
  .container { padding: 0 20px; }
  section { padding: 44px 0; }
}

/* ---------- Photo slider (facility tour) ---------- */

.photo-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #EDE7D6;
}
.photo-slider img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--fruits-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.slider-arrow:hover { background: #FFFFFF; }
.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
}
.slider-dot.active { background: #FFFFFF; }


.hero-fruits-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--fruits-olive);
  height: 520px;
}
.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 32px;
  padding-left: max(32px, calc((100vw - 1160px) / 2 + 32px));
  overflow: hidden;
}
.hero-image-col { height: 100%; overflow: hidden; }
.hero-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .hero-fruits-split { grid-template-columns: 1fr; height: auto; }
  .hero-image-col { display: none; }
  .hero-text-col { padding: 40px 20px; }
}

/* ---------- Horizontal scroll carousel (mobile product cards) ---------- */

.carousel-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .carousel-row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .carousel-row > * {
    flex: 0 0 44%;
    scroll-snap-align: start;
  }
}
