/* ============================================================
   COLOUR PALETTE — change these variables to restyle the site
   ============================================================ */
:root {
  --color-brand:        #2b5d32;   /* primary green (buttons, accents) */
  --color-brand-dark:   #24472a;   /* darker green (hover states) */
  --color-brand-light:  #e8f5eb;   /* very light green (backgrounds) */
  --color-accent:       #d4a017;   /* warm gold (highlighted labels) */

  --color-bg:           #faf8f5;   /* page background */
  --color-bg-dark:      #1a1f1b;   /* dark section background */
  --color-bg-alt:       #f2ede6;   /* alternate light section */

  --color-text:         #1a1f1b;   /* primary text */
  --color-text-muted:   #4c5b4e;   /* secondary / muted text */
  --color-text-on-dark: #e8f5eb;   /* text on dark backgrounds */

  --color-border:       #d6dfd7;   /* subtle borders */
  --color-placeholder:  #c8d9cb;   /* photo placeholder fill */

  /* Typography */
  --font-heading:  'DM Sans', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;

  /* Spacing & layout */
  --max-width:     1140px;
  --section-gap:   7rem;
  --radius:        12px;
  --radius-sm:     6px;

  /* Transitions */
  --transition:    0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: inherit;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

em { font-style: italic; color: var(--color-accent); }

.lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-brand-dark);
  margin-bottom: 1rem;
}

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

.section-intro {
  max-width: 640px;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--section-gap) 0; }

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.section-dark h2,
.section-dark h3,
.section-dark .section-label { color: var(--color-text-on-dark); }

.section-dark .section-label { color: var(--color-accent); }
.section-dark .section-intro { color: #8aab8e; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}

.btn-primary {
  background: var(--color-brand);
  color: #fff;
  border: 2px solid var(--color-brand);
}
.btn-primary:hover {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  margin-left: 1rem;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn-full { width: 100%; text-align: center; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(26, 31, 27, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
}
.logo:hover { color: var(--color-accent); }

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

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--color-brand);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
}
.nav-cta:hover { background: var(--color-brand-dark) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: #fff;
  background-image: url('photos/omslag-bos-algemeen.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 0 1.5rem;
}

.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
}

.hero h1 { margin-bottom: 1.2rem; }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin: 0 auto 2.2rem;
  line-height: 1.65;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--color-bg-alt); }

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.about-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.about-stats strong {
  font-size: 2rem;
  font-family: var(--font-heading);
  color: var(--color-brand);
}

.about-stats span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.about-image .photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  display: block;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: background var(--transition);
}

/* .service-card:hover {
  background: rgba(255,255,255,0.09);
} */

.service-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
  border-color: transparent;
}

.service-card--featured h3 {
  font-size: 1.4rem;
}

.service-icon {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  font-size: 11rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.15;
  pointer-events: none;
}

.service-card--featured .service-icon {
  opacity: 0.16;
  color: #ffffff;
}

/* .service-card--featured:hover .service-icon {
  opacity: 0.24;
} */

.contact-icon i,
.contact-v2-icon i {
  color: var(--color-accent);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
}

.service-card--featured p {
  color: rgba(255,255,255,0.88);
}



/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--color-bg-alt); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.gallery-item {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item--video .gallery-caption {
  bottom: auto;
  top: 0;
  background: linear-gradient(rgba(0,0,0,0.6), transparent);
  padding: 1rem 1rem 2rem;
}

/* Knotwilg voor/tijdens/na showcase */
.gallery-trio {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}

.trio-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.trio-header h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin: 0;
}

.trio-header span {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.trio-item {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
}

.trio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.trio-item:hover img { transform: scale(1.04); }

.trio-item--knotwilg-na img {
  transform: scale(1.25);
  transform-origin: top center;
}

.trio-item--knotwilg-na:hover img { transform: scale(1.29); }

.trio-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(10,20,12,0.60);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
}

.trio-badge--na {
  background: var(--color-brand);
}

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

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 1.5rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
  z-index: 2;
}

.gallery-caption strong { font-weight: 600; }

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

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.testimonial-card p {
  font-style: italic;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.testimonial-card p::before { content: '\201C'; }
.testimonial-card p::after  { content: '\201D'; }

.testimonial-card footer {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout {
  align-items: start;
  gap: 5rem;
}

.contact-text p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1rem;
}

.contact-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details a {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-brand);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px var(--color-brand-light);
}

/* ============================================================
   CONTACT V2 — no form, card-based layout
   ============================================================ */
.contact-v2 { background: var(--color-bg-alt); color: var(--color-text); }

.contact-v2-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 3rem;
  align-items: center;
}

.contact-v2-video {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: 70vh;
  margin: 0 auto;
}

.contact-v2-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-v2-inner {
  text-align: center;
}

.contact-v2 .section-label { color: var(--color-accent); }

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

.contact-v2-sub {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.8rem;
}

.contact-v2-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-v2-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.4rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: inherit;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}

.contact-v2-card:hover {
  background: var(--color-brand-light);
  border-color: var(--color-brand);
  color: inherit;
}

.contact-v2-card--primary {
  background: var(--color-brand);
  border-color: transparent;
}

.contact-v2-card--primary:hover {
  background: var(--color-brand-dark);
  border-color: transparent;
}

.contact-v2-card--muted { cursor: default; }
.contact-v2-card--muted:hover {
  background: var(--color-bg);
  border-color: var(--color-border);
  color: var(--color-text-muted);
}

.contact-v2-icon { font-size: 1.6rem; margin-bottom: 0.2rem; }

.contact-v2-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.contact-v2-card--primary .contact-v2-label { color: rgba(255,255,255,0.75); }

.contact-v2-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  overflow-wrap: anywhere;
  hyphens: none;
}

.contact-v2-card--primary .contact-v2-value { 
  color: var(--color-text-on-dark); 
  font-size: 0.85rem;
}


.contact-v2-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .contact-v2-cards { flex-direction: column; }
  .contact-v2-layout { grid-template-columns: 1fr; }
  .contact-v2-video { max-height: 50vh; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 3rem 1.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
}

.footer-tagline {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--color-accent);
}

.footer-contact {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0.5rem 0;
}

.footer-contact a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.footer-contact a:hover { color: #fff; }
.footer-contact span { color: rgba(255,255,255,0.3); }

.footer-copy {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .two-col,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card--featured {
    grid-column: span 2;
  }

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

  .contact-v2-layout {
    grid-template-columns: 1fr;
  }

  .about-image { order: -1; }
  .about-image .photo-placeholder { aspect-ratio: 16 / 9; }
}

@media (max-width: 600px) {
  :root { --section-gap: 4rem; }

  .nav-links { display: none; }  /* add a hamburger menu for production */

  .services-grid,
  .testimonial-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-card--featured { grid-column: span 1; }

  .about-stats { gap: 1.5rem; }

  .btn-outline { margin-left: 0; margin-top: 0.8rem; }

  .hero-content .btn { display: block; margin: 0 auto 0.8rem; }

  .contact-v2-cards { grid-template-columns: 1fr; }

  .footer-contact {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-contact span { display: none; }
}
