/* ==========================================================================
   Maatschap Koks - design system
   Kleuren en typografie afgeleid van de huisstijl (logo-voorstel).
   ========================================================================== */

:root {
  --color-dark: #2F3B26;
  --color-green: #577042;
  --color-gold: #A88C5A;
  --color-tan: #DCC7A3;
  --color-cream: #F3F2EE;
  --color-white: #FFFFFF;

  --font-heading: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --wrap-width: 1120px;
  --radius: 14px;
  --shadow: 0 10px 30px -18px rgba(47, 59, 38, 0.35);
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap-width);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---- header ---- */
.site-header {
  background: var(--color-cream);
  border-bottom: 1px solid rgba(47, 59, 38, 0.1);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__name, .brand__tagline { white-space: nowrap; }
.brand__mark {
  height: 40px;
  width: auto;
  flex: none;
  display: flex;
  align-items: center;
}
.brand__mark img { height: 100%; width: auto; display: block; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand__name {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--color-dark);
}
.brand__tagline {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--color-dark);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { background: var(--color-tan); }
.site-nav a.is-active {
  background: var(--color-green);
  color: var(--color-cream);
}

.nav-toggle-state { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
}

/* ---- hero (home) ---- */
.hero {
  background: linear-gradient(180deg, var(--color-dark) 0%, #384730 100%);
  color: var(--color-cream);
  text-align: center;
  padding-block: 44px 56px;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__mark {
  height: clamp(80px, 10vw, 130px);
  width: auto;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.hero__mark img { height: 100%; width: auto; display: block; }
.hero h1 {
  color: var(--color-cream);
  font-size: clamp(2.1rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.hero__tagline {
  font-family: var(--font-heading);
  color: var(--color-tan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero__text {
  max-width: 46ch;
  color: rgba(243, 242, 238, 0.88);
  font-size: 1.05rem;
}

/* ---- intro ---- */
.intro {
  text-align: center;
  padding-block: 56px 24px;
  max-width: 720px;
}
.intro h2 { font-size: 1.6rem; }

/* ---- highlight cards (home grid) ---- */
.home-photo { padding-block: 24px 0; }
.home-photo .content-image { margin: 0; }

.highlights { padding-block: 32px 72px; }
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.highlight-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(47, 59, 38, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px -16px rgba(47, 59, 38, 0.4);
}
.highlight-card__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  color: var(--color-green);
  margin-bottom: 14px;
}
.highlight-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.highlight-card p {
  color: #4b5544;
  font-size: 0.94rem;
}

/* ---- section pages (Activiteiten, Caravanstalling, ...) ---- */
.page-hero {
  background: var(--color-tan);
  padding-block: 56px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
}
.page-hero__intro {
  max-width: 60ch;
  color: #46512f;
  font-size: 1.05rem;
}

.section-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding-block: 48px 72px;
  align-items: start;
}
.section-body--single { grid-template-columns: 1fr; }

.content-block { margin-bottom: 36px; }
.content-block:last-child { margin-bottom: 0; }

.external-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-green);
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}
.external-cta::after { content: "\2197"; }
.external-cta:hover { background: var(--color-dark); }

.content-image {
  margin: 18px 0 0;
}
.content-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-image figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #6b7460;
}
.content-block h2 {
  font-size: 1.3rem;
  color: var(--color-green);
}

.section-body__aside {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(47, 59, 38, 0.06);
}
.section-body__aside h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 14px;
}
.highlight-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.94rem;
}
.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
}
.highlight-list li:last-child { margin-bottom: 0; }

/* ---- links page ---- */
.link-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(47, 59, 38, 0.1);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.link-list li:last-child { border-bottom: none; }
.link-list a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-green);
}
.link-list a:hover { text-decoration: underline; }
.link-list__desc { font-size: 0.9rem; color: #55604a; }

/* ---- footer ---- */
.site-footer {
  background: var(--color-dark);
  color: var(--color-cream);
  margin-top: 40px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-block: 48px;
}
.site-footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.brand__mark--footer {
  height: 34px;
  width: auto;
}
.site-footer__brand p { color: rgba(243, 242, 238, 0.75); font-size: 0.92rem; }
.site-footer__contact p { margin-bottom: 6px; font-size: 0.92rem; color: rgba(243, 242, 238, 0.85); }
.site-footer__contact a:hover { text-decoration: underline; }
.site-footer__nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer__nav a { font-size: 0.92rem; color: rgba(243, 242, 238, 0.85); }
.site-footer__nav a:hover { color: var(--color-gold); }
.site-footer__legal {
  border-top: 1px solid rgba(243, 242, 238, 0.12);
  padding-block: 16px;
  font-size: 0.8rem;
  color: rgba(243, 242, 238, 0.55);
}

/* ---- responsive ---- */
@media (max-width: 860px) {
  .section-body { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(47, 59, 38, 0.1);
    box-shadow: var(--shadow);
  }
  .site-nav a { padding: 12px 8px; border-radius: 8px; }
  .nav-toggle-state:checked ~ .site-header .site-nav { display: flex; }
  .site-header { position: relative; }
}
