/* ============================================================
   Farma koza GoldenHorn — stijl afgeleid van het flesetiket:
   zwart label, wit/crème, oranje vlamaccenten, ronde letters.
   ============================================================ */

:root {
  --ink: #1a1410;            /* etiket-zwart, warm */
  --ink-soft: #2a221b;
  --cream: #faf5ec;          /* melk-crème */
  --cream-dark: #f1e8d8;
  --orange: #f2962e;         /* vlam-oranje van de geit */
  --orange-deep: #d97b14;
  --viber: #7360f2;
  --text: #3d352c;
  --radius: 22px;
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Karla", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* ruimte voor sticky header */
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
}

.section { padding: clamp(64px, 9vw, 120px) clamp(20px, 6vw, 72px); }

.section-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--orange-deep);
  margin-bottom: 10px;
}
.section-kicker.light { color: var(--orange); }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 6px 22px rgba(242, 150, 46, 0.45);
}
.btn-primary:hover { background: var(--orange-deep); color: #fff; box-shadow: 0 10px 30px rgba(217, 123, 20, 0.5); }

.btn-ghost {
  color: #fff;
  border: 2px solid rgba(255,255,255,0.65);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; }

.btn-viber { background: var(--viber); color: #fff; box-shadow: 0 6px 22px rgba(115, 96, 242, 0.4); }
.btn-viber:hover { background: #5b48e0; }

.btn.big { font-size: 1.12rem; padding: 16px 34px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(26, 20, 16, 0.0);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.site-header.scrolled {
  background: rgba(26, 20, 16, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--orange);
  display: grid;
  place-items: center;
  color: #fff;
}
.goat-svg { width: 30px; height: 34px; object-fit: contain; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-display); }
.brand-text small { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.brand-text strong { font-size: 1.25rem; font-weight: 800; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); }
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 4px 0;
}
.site-nav a:not(.nav-phone)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 3px;
  border-radius: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
}
.site-nav a:not(.nav-phone):hover::after,
.site-nav a.active::after { transform: scaleX(1); }

.nav-phone {
  background: var(--orange);
  color: var(--ink) !important;
  padding: 8px 18px !important;
  border-radius: 999px;
  transition: background 0.25s ease;
}
.nav-phone:hover { background: var(--orange-deep); color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  border-radius: 3px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: -6% 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26,20,16,0.88) 0%, rgba(26,20,16,0.55) 48%, rgba(26,20,16,0.18) 100%),
    radial-gradient(ellipse at 20% 110%, rgba(242,150,46,0.28), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px clamp(20px, 6vw, 72px) 140px;
}
.hero-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--orange);
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  font-weight: 800;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 56ch;
  color: rgba(255,255,255,0.88);
  margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

.drip {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%;
  height: clamp(56px, 8vw, 110px);
  z-index: 3;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--orange);
  color: var(--ink);
  overflow: hidden;
  padding: 13px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  transform: rotate(-0.6deg) scale(1.01);
  box-shadow: 0 8px 26px rgba(217,123,20,0.25);
}
.marquee-track { display: inline-flex; animation: scroll 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   O NAMA
   ============================================================ */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.about-photo { position: relative; }
.about-photo img {
  border-radius: var(--radius) 90px var(--radius) var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(26,20,16,0.22);
}
.photo-badge {
  position: absolute;
  right: -18px; bottom: -18px;
  width: 116px; height: 116px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--orange);
  color: var(--cream);
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--font-display);
  transform: rotate(8deg);
  box-shadow: 0 14px 34px rgba(26,20,16,0.3);
}
.photo-badge strong { font-size: 1.7rem; color: var(--orange); line-height: 1; }
.photo-badge span { font-size: 0.82rem; letter-spacing: 0.06em; }

.about-text h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; max-width: 58ch; }

.about-points {
  list-style: none;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 24px;
}
.about-points li {
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--ink);
  padding-left: 30px;
  position: relative;
}
.about-points li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ============================================================
   PROIZVODI
   ============================================================ */
.products {
  background: var(--ink);
  border-radius: 56px 56px 0 0;
}
.products-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.products-head h2 { color: var(--cream); font-size: clamp(2rem, 4.2vw, 3.1rem); }
.products-sub { color: rgba(250,245,236,0.72); margin-top: 12px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 26px;
  max-width: 1240px;
  margin: 0 auto;
}

.card {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.07); }

.card-body { padding: 20px 22px 24px; }
.card-body h3 { font-size: 1.28rem; margin-bottom: 6px; }
.card-body p { font-size: 0.94rem; color: var(--text); }

.card-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  transform: rotate(-3deg);
}

/* ============================================================
   KONTAKT
   ============================================================ */
.contact {
  background: var(--ink);
  color: rgba(250,245,236,0.85);
  padding-top: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid rgba(250,245,236,0.14);
  padding-top: clamp(56px, 7vw, 96px);
}
.contact h2 { color: var(--cream); font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 16px; }
.contact-info p { max-width: 50ch; }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px 0;
}
.contact-address {
  font-style: normal;
  line-height: 1.7;
  padding-left: 18px;
  border-left: 3px solid var(--orange);
}
.contact-address strong { color: var(--cream); font-family: var(--font-display); }

.contact-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  filter: saturate(0.9);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #120e0b;
  color: rgba(250,245,236,0.65);
  padding: 44px clamp(20px, 6vw, 72px);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-tagline { font-family: var(--font-display); color: var(--orange); font-weight: 600; }
.footer-meta { font-size: 0.9rem; }
.footer-meta a { color: var(--cream); text-decoration: none; }
.footer-meta a:hover { color: var(--orange); }

/* ============================================================
   REVEAL-ANIMATIES
   ============================================================ */
/* Alleen verbergen wanneer JS draait (body.js) — zonder JS blijft alles zichtbaar */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.22,.9,.36,1);
}
.js .reveal.d1 { transition-delay: 0.12s; }
.js .reveal.d2 { transition-delay: 0.24s; }
.js .reveal.d3 { transition-delay: 0.36s; }
.js .reveal.visible { opacity: 1; transform: none; }

/* Testmodus (?noanim): vaste herohoogte zodat full-page screenshots kloppen */
html:has(.noanim) { scroll-behavior: auto; }
.noanim .hero { min-height: 720px; }
.noanim .hero-bg { animation: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  .marquee-track { animation-duration: 90s; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav-toggle { display: flex; z-index: 110; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    font-size: 1.3rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .site-nav.open { opacity: 1; pointer-events: auto; }
  .site-nav a { font-size: 1.35rem; }

  /* Pagina vastzetten zolang het menu open is (voorkomt doorscrollen erachter) */
  body.nav-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map iframe { height: 300px; }
  .hero-content { padding-top: 140px; padding-bottom: 120px; }
}
