/* ============================================================
   Casa Verde Sistemas — gedeelde stijl
   (Tailwind doet het zware werk; dit is wat Tailwind niet kan)
   ============================================================ */

html { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
body { overflow-x: hidden; }

/* Donkere sluier over hero-foto's, zodat witte tekst altijd leesbaar is */
.hero-veil {
  background: linear-gradient(180deg,
    rgba(11, 22, 15, 0.72) 0%,
    rgba(11, 22, 15, 0.42) 45%,
    rgba(11, 22, 15, 0.88) 100%);
}
.hero-veil-soft {
  background: linear-gradient(180deg,
    rgba(11, 22, 15, 0.62) 0%,
    rgba(11, 22, 15, 0.50) 55%,
    rgba(11, 22, 15, 0.80) 100%);
}

/* Kaarten */
.card-hover { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.10); }

/* ✓-bolletje in checklijsten */
.check {
  flex-shrink: 0;
  width: 1.25rem; height: 1.25rem;
  margin-top: 0.1rem;
  border-radius: 9999px;
  background: #e7f1e9;
  color: #1b5d29;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; line-height: 1;
}
.check-lg {
  flex-shrink: 0;
  width: 1.6rem; height: 1.6rem;
  border-radius: 9999px;
  background: #e7f1e9;
  color: #1b5d29;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; line-height: 1;
}

/* Navigatie */
.nav-link { position: relative; color: #2b3a31; transition: color 0.2s ease; }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: #1b5d29; transition: width 0.2s ease;
}
.nav-link:hover { color: #1b5d29; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: #1b5d29; }

#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

/* Taalwisselaar — hogere specificiteit dan Tailwinds hover-klasse,
   anders verliest de actieve knop zijn groene vlak zodra je erover hovert */
.lang-btn { transition: all 0.15s ease; cursor: pointer; }
button.lang-btn.active,
button.lang-btn.active:hover { background: #1b5d29; color: #fff; }

/* Galerij: subtiele zoom bij hover */
.gal { overflow: hidden; }
.gal img { transition: transform 0.4s ease; display: block; }
.gal:hover img { transform: scale(1.045); }

/* Genummerde techniek-kaarten */
.num {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.9rem;
  background: #e7f1e9; color: #1b5d29;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .card-hover, .gal img { transition: none; }
  .card-hover:hover { transform: none; }
  .gal:hover img { transform: none; }
  html { scroll-behavior: auto; }
}
