/* ==========================================================================
   Embert Boerdery – stylblad
   Palet: room (agtergrond), donkergroen (teks), salie (gedemp), sand (rande),
   klei (aksent).
   ========================================================================== */

:root {
  --cream: #f6f3ec;
  --cream-2: #ede7d8;
  --paper: #fffdf8;
  --ink: #2f3a2c;
  --moss: #4a5a44;
  --sage: #6b7563;
  --sand: #c7c0ae;
  --sand-light: #ddd7c7;
  --clay: #a8562c;
  --clay-dark: #8b4622;
  --gold: #e6cf94;

  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;

  --max-width: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 16px;
  --shadow: 0 12px 32px rgba(47, 58, 44, 0.08);
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a { color: var(--clay-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1rem; }
ul { margin: 0; }

.container {
  width: min(100% - 2 * var(--gutter), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

.eyebrow {
  display: block;
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}
.section-dark .eyebrow { color: var(--gold); }

/* --------------------------------------------------------------------------
   Knoppies
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
}
.btn-primary:hover {
  background: var(--clay-dark);
  border-color: var(--clay-dark);
}
.btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   Kopstuk / navigasie
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-light);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.brand-mark {
  flex: none;
  width: 40px;
  height: 40px;
  color: var(--ink);
}
.brand-name { line-height: 1; }
.brand-name small {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  color: var(--moss);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current] {
  color: var(--ink);
  border-bottom-color: var(--clay);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.6rem;
  background: none;
  border: 1px solid var(--sand);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 780px) {
  .brand-name small { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    display: none;
    background: var(--cream);
    border-bottom: 1px solid var(--sand);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1rem;
  }
  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--sand-light);
    font-size: 1.05rem;
  }
  .site-nav a:hover,
  .site-nav a[aria-current] { border-bottom-color: var(--clay); }
}

/* --------------------------------------------------------------------------
   Tuis / hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f3ec 0%, #f3ead6 45%, #ecdfbf 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(14rem, 34vh, 22rem);
}
.hero-content { max-width: 40rem; }
.hero h1 {
  margin: 0.5rem 0 1.25rem;
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  letter-spacing: 0.01em;
}
.hero .lead {
  max-width: 30em;
  margin-bottom: 2rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--moss);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero-landscape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(220px, 40vh, 420px);
}

@media (max-width: 780px) {
  /* Korter landskap op klein skerms sodat die diere en son sigbaar bly */
  .hero-inner { padding-bottom: clamp(11rem, 26vh, 16rem); }
  .hero-landscape { height: clamp(200px, 30vh, 300px); }
}

/* --------------------------------------------------------------------------
   Afdelings
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  scroll-margin-top: var(--header-height);
}
.section-alt { background: var(--cream-2); }
.section-dark {
  background: var(--ink);
  color: var(--cream);
}
.section-dark h2,
.section-dark h3 { color: var(--cream); }

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}
.section-head p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--sage);
}

/* Oor ons */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-text h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}
.about-text p {
  font-size: 1.1rem;
  color: var(--moss);
}
.about-text p:last-child { margin-bottom: 0; }

.facts {
  padding: 1.75rem 2rem;
  background: var(--paper);
  border: 1px solid var(--sand-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.facts h3 {
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.facts dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1.5rem;
  margin: 0;
}
.facts dt {
  padding-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}
.facts dd {
  margin: 0;
  color: var(--ink);
}
.facts dd a { color: var(--clay-dark); text-decoration: none; border-bottom: 1px solid var(--sand); }
.facts dd a:hover { border-bottom-color: var(--clay); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* Ons boerdery – kaarte */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.75rem;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  background: var(--paper);
  border: 1px solid var(--sand-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 1.25rem;
  padding: 0.9rem;
  background: var(--cream);
  border: 1px solid var(--sand-light);
  border-radius: 50%;
  color: var(--moss);
}
.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.75rem;
}
.card p { color: var(--moss); }
.card ul {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--sand-light);
  list-style: none;
}
.card li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--sage);
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--clay);
}

/* Ons benadering – waardes */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.5rem;
}
.value {
  padding: 1.75rem 1.75rem 2rem;
  background: var(--paper);
  border: 1px solid var(--sand-light);
  border-top: 3px solid var(--clay);
  border-radius: 6px 6px var(--radius) var(--radius);
}
.value-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  color: var(--clay);
}
.value h3 {
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
}
.value p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--moss);
}

/* Kontak */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-intro h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}
.contact-intro > p {
  font-size: 1.1rem;
  color: var(--sand);
}
.email-cta {
  display: inline-block;
  margin: 0.5rem 0 2rem;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid var(--clay);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  color: var(--cream);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s, border-color 0.2s;
}
.email-cta:hover {
  color: #fff;
  border-bottom-color: var(--gold);
}
.contact-note {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  max-width: 30em;
}
.contact-note svg {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 0.15rem;
  color: var(--gold);
}
.contact-note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--sand);
}

.contact-form {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 243, 236, 0.16);
  border-radius: var(--radius);
}
.contact-form h3 {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sand);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(246, 243, 236, 0.28);
  border-radius: 10px;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(230, 207, 148, 0.25);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.form-help {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  color: var(--sand);
}
.form-status {
  min-height: 1.4em;
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  color: var(--gold);
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Voetstuk
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--cream-2);
  border-top: 1px solid var(--sand-light);
  color: var(--sage);
  font-size: 0.95rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem 3rem;
  align-items: flex-start;
}
.footer-brand .brand { font-size: 1.2rem; }
.footer-brand p {
  max-width: 28em;
  margin: 0.9rem 0 0;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-label {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-nav a,
.footer-contact a {
  color: var(--moss);
  text-decoration: none;
}
.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--clay-dark);
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sand-light);
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--moss); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Sagte inskuif-animasie (slegs met JavaScript; inhoud bly sonder JS sigbaar)
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Druk
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .hero-landscape,
  .hero-actions,
  .contact-form,
  .skip-link { display: none; }
  .section-dark {
    background: none;
    color: var(--ink);
  }
  .section-dark h2,
  .section-dark h3,
  .email-cta,
  .contact-intro > p,
  .contact-note p { color: var(--ink); }
}
