/* ======================================================
   VOEDSELBOS BIEZENMORTEL — STYLESHEET
   Palet: Warm & organisch (ivoor, oker, warmgroen)
   ====================================================== */

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #fdf6ec;
  --accent:       #8b6914;
  --accent-dark:  #6b5010;
  --accent-light: #c49a2a;
  --green:        #5a7a3a;
  --green-dark:   #3d5427;
  --green-light:  #7aaa50;
  --text:         #2c1f0e;
  --text-light:   #6b5a3e;
  --card-bg:      #f5ede0;
  --border:       #e0cdb0;
  --white:        #ffffff;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Lato', 'Helvetica Neue', system-ui, sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 20px rgba(44, 31, 14, 0.1);
  --shadow-lg: 0 10px 40px rgba(44, 31, 14, 0.15);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-dark); }

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Layout ───────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--card-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  color: var(--text);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  gap: 0.5rem;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139, 105, 20, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }


/* ======================================================
   NAVIGATION
   ====================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(253, 246, 236, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(44, 31, 14, 0.1);
  padding: 0.65rem 0;
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo svg { color: var(--green-light); transition: color var(--transition); }
#navbar.scrolled .nav-logo { color: var(--green-dark); }
#navbar.scrolled .nav-logo svg { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links li a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 400;
  transition: color var(--transition);
  text-decoration: none;
}
.nav-links li a:hover { color: var(--white); }
#navbar.scrolled .nav-links li a { color: var(--text-light); }
#navbar.scrolled .nav-links li a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.3rem;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
#navbar.scrolled .nav-toggle span { background: var(--text); }


/* ======================================================
   HERO
   ====================================================== */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    var(--green-dark)   0%,
    #4a6e2e            30%,
    var(--green)        55%,
    #7a6020            80%,
    var(--accent)      100%
  );
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(90, 122, 58, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 15%, rgba(61, 84, 39, 0.55) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 9rem 1.5rem 7rem;
  color: var(--white);
}

.hero-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}
.hero-content h1 em {
  font-style: italic;
  color: #e8c96a;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 1;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: clamp(50px, 8vw, 100px);
  display: block;
}


/* ======================================================
   OVER ONS
   ====================================================== */
.over-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.over-text .lead {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.over-text p {
  color: var(--text-light);
}
.over-text strong { color: var(--text); }

.over-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.stat-icon {
  width: 44px;
  height: 44px;
  background: rgba(90, 122, 58, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.stat-card strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--green-dark);
}
.stat-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}


/* ======================================================
   NIEUWS / UPDATES
   ====================================================== */
.nieuws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.nieuws-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  transition: transform var(--transition), box-shadow var(--transition);
}
.nieuws-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.nieuws-datum {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.nieuws-card h3 {
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

.nieuws-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.65;
}


/* ======================================================
   AANBOD
   ====================================================== */
.aanbod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.aanbod-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 2px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.aanbod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.aanbod-active {
  border-color: var(--green);
  background: linear-gradient(155deg, #f4fbed 0%, var(--white) 60%);
}

.aanbod-toekomst {
  border-style: dashed;
}

.aanbod-icon {
  width: 60px;
  height: 60px;
  background: rgba(90, 122, 58, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.aanbod-toekomst .aanbod-icon {
  background: rgba(139, 105, 20, 0.08);
  color: var(--accent);
}

.aanbod-card h3 {
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}

.aanbod-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.aanbod-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.aanbod-card ul li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding-left: 1.3rem;
  position: relative;
  line-height: 1.4;
}
.aanbod-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.badge-active {
  background: rgba(90, 122, 58, 0.14);
  color: var(--green-dark);
}
.badge-toekomst {
  background: rgba(139, 105, 20, 0.1);
  color: var(--accent-dark);
}


/* ======================================================
   GALERIJ
   ====================================================== */
.galerij-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.foto-placeholder,
.galerij-foto {
  border-radius: var(--radius);
  overflow: hidden;
}

.foto-placeholder {
  background: var(--white);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}
.foto-placeholder:hover {
  border-color: var(--accent);
  background: rgba(139, 105, 20, 0.03);
}

.foto-tall {
  grid-row: span 2;
}

.foto-inner {
  text-align: center;
  color: var(--text-light);
  padding: 1.5rem;
}
.foto-inner svg {
  margin: 0 auto 0.75rem;
  opacity: 0.35;
  display: block;
}
.foto-inner p {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}
.foto-inner small {
  font-size: 0.72rem;
  opacity: 0.65;
  display: block;
}
.foto-inner code {
  background: rgba(0, 0, 0, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-family: 'SF Mono', Consolas, monospace;
}

/* Echte galerij-foto's (nadat je eigen afbeeldingen toevoegt) */
.galerij-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.galerij-hint {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
}
.galerij-hint a {
  font-weight: 700;
  color: var(--accent);
}


/* ======================================================
   CONTACT
   ====================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 0.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(90, 122, 58, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.contact-item p {
  color: var(--text);
  margin: 0;
  line-height: 1.55;
}
.contact-item em {
  font-size: 0.87rem;
  color: var(--text-light);
}
.contact-item a {
  color: var(--accent);
  font-weight: 600;
}

/* Form */
.contact-form {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b5a3e' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(90, 122, 58, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b8a88a;
}


/* ======================================================
   FOOTER
   ====================================================== */
#footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2.5rem;
}

.footer-content { text-align: center; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.88rem;
  opacity: 0.55;
  margin-bottom: 1.75rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover { color: #e8c96a; }

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.38;
  margin: 0;
}


/* ======================================================
   ANIMATIONS (Intersection Observer)
   ====================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================
   RESPONSIVE — Tablet (≤ 960px)
   ====================================================== */
@media (max-width: 960px) {
  .over-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nieuws-grid {
    grid-template-columns: 1fr 1fr;
  }

  .aanbod-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .galerij-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .foto-tall {
    grid-row: span 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}


/* ======================================================
   RESPONSIVE — Mobile (≤ 768px)
   ====================================================== */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  /* Nav mobile */
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 8px 30px rgba(44, 31, 14, 0.12);
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { color: var(--text-light) !important; font-size: 1.05rem; }
  .nav-cta { margin-top: 0.5rem; }

  /* Hero */
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Nieuws */
  .nieuws-grid { grid-template-columns: 1fr; }

  /* Galerij */
  .galerij-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 0.75rem;
  }
  .galerij-grid .foto-placeholder:nth-child(3) {
    grid-column: span 2;
  }

  /* Contact form */
  .contact-form { padding: 1.75rem; }

  /* Footer nav */
  .footer-nav { gap: 1rem 1.75rem; }
}

@media (max-width: 480px) {
  .galerij-grid { grid-template-columns: 1fr; }
  .galerij-grid .foto-placeholder:nth-child(3) { grid-column: span 1; }
}
