/* ============================================================
   Power Hub Zeeland — style.css
   Groen/energie-thema, witte header met eigen logo,
   hero-foto, partnerlogos en groene golf in de CTA-band.
   ============================================================ */

:root {
  --green-950: #041712;
  --green-900: #0a2e23;
  --green-800: #123f30;
  --green-700: #1c6b48;
  --green-600: #2f9e57;
  --green-500: #4caf50;
  --green-100: #e3f2e8;
  --blue-500: #1e9be0;

  --ink: #16241d;
  --muted: #5c6b62;
  --cream: #faf7f0;
  --line: #e7e2d5;

  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 18px 40px -22px rgba(6, 35, 27, 0.35);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, #2f9e57, #1c6b48);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(28, 107, 72, 0.6);
  border: none;
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(28, 107, 72, 0.75); }

/* Statusmelding onder het contactformulier */
.form-status {
 margin-top: 1rem;
 font-weight: 600;
 color: var(--green-700);
}
.form-status:empty { display: none; }

.btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.16); }

/* ---------- Header (licht, zoals voorbeeld) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--green-900);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.brand em { font-style: normal; color: var(--green-600); }

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 6px 14px -8px rgba(6, 35, 27, 0.3);
  display: grid;
  place-items: center;
  padding: 6px;
  flex-shrink: 0;
}

.logo-mark { width: 100%; height: 100%; }

.main-nav { margin-left: auto; }

.main-nav ul {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding-block: 0.4rem;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--green-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover, .main-nav a.active { color: var(--green-900); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-cta { padding: 0.7rem 1.3rem; font-size: 0.9rem; white-space: nowrap; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--green-900);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero (met echte luchtfoto) ---------- */
.hero {
  position: relative;
  overflow: hidden; /* voorkomt horizontale scrollbar door het blaadje */
  color: #fff;
  padding-block: clamp(6rem, 12vw, 9.5rem);
  background:
    linear-gradient(100deg, rgba(4, 23, 18, 0.88) 0%, rgba(4, 23, 18, 0.62) 45%, rgba(4, 23, 18, 0.25) 100%),
    url("../assets/lans-locaties-17_websize.jpg") center / cover no-repeat;
}

.hero__inner { position: relative; z-index: 2; max-width: 640px; }

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-block: 1rem 1.4rem;
}

.hero h1 span { color: #7fd69a; }

.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 54ch;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }

/* Witte infokaart in de hero (zoals voorbeeld) */
.hero__card {
  margin-top: 2rem;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  max-width: 430px;
  box-shadow: var(--shadow-soft);
}

.hero__card strong { display: block; font-size: 1.05rem; color: var(--green-800); }

.hero__card span {
  display: block;
  margin-top: 0.25rem;
  font-style: italic;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-600);
}

/* Groen blaadje rechts in de hero (zoals voorbeeld) */
.hero__leaf {
  position: absolute;
  top: 16%;
  right: 0;
  width: clamp(90px, 14vw, 150px);
  z-index: 1;
  opacity: 0.9;
  transform: rotate(14deg);
  pointer-events: none;
}

/* ---------- Eyebrows ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
}

.eyebrow--pill {
  background: rgba(47, 158, 87, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ---------- Secties ---------- */
.section { padding-block: clamp(4.5rem, 8vw, 6.5rem); }
.section--cream { background: var(--cream); }

.section-head { max-width: 620px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.02em; margin-block: 0.5rem 0.8rem; }
.section-head p { color: var(--muted); }

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}

.section-head--split > div { max-width: 460px; }
.section-head--split > p { max-width: 380px; color: var(--muted); }

.head-underline {
  display: block;
  width: 72px;
  height: 5px;
  border-radius: 4px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--green-600), #8fe3a6);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.mission-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.02em; margin-block: 0.6rem 1.2rem; }
.mission-copy p { color: var(--muted); margin-bottom: 1rem; }

.checklist { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.7rem; }

.checklist li {
  position: relative;
  padding-left: 2rem;
  font-weight: 600;
  color: var(--ink);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--green-100);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.68rem;
  width: 0.55rem;
  height: 0.3rem;
  border-left: 2.5px solid var(--green-700);
  border-bottom: 2.5px solid var(--green-700);
  transform: rotate(-45deg);
}

/* Foto in de welkom-sectie */
.media-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3.1;
}

.media-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Kernwaarden ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.value-card {
  background: var(--green-100);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.value-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  color: var(--green-700);
  margin-bottom: 1.1rem;
}

.value-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Partners (lichte sectie met echte logos) ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.partner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.partner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: #cfe6d8;
}

.partner img {
  max-width: 78%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---------- CTA-band met groene golf ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: clamp(6rem, 10vw, 8rem) clamp(4.5rem, 8vw, 6rem);
  background:
    linear-gradient(120deg, rgba(6, 35, 27, 0.9), rgba(15, 74, 55, 0.72)),
    url("../assets/20170323-Glastuinbouwdag-1-1080x675.jpg") center / cover no-repeat;
}

/* De coole groene golf boven de CTA-band */
.cta-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(52px, 7vw, 92px);
  z-index: 1;
  display: block;
}

.cta-inner { position: relative; z-index: 2; max-width: 640px; }

.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.cta-inner p { color: rgba(255, 255, 255, 0.85); max-width: 46ch; }

.cta-contacts { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.9rem; }

.cta-contacts a,
.cta-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
}

.cta-contacts a:hover { background: rgba(255, 255, 255, 0.2); }
.cta-contacts svg { color: #8fe3a6; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.75);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.site-footer .brand { color: #fff; }
.site-footer .brand em { color: #7fd69a; }
.site-footer .footer-brand p { margin-top: 1.1rem; font-size: 0.95rem; max-width: 34ch; }

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-links, .footer-contact { list-style: none; display: grid; gap: 0.6rem; }

.footer-links a { color: rgba(255, 255, 255, 0.75); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: #8fe3a6; }

.footer-contact li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; }
.footer-contact svg { color: #7fd69a; flex-shrink: 0; }
.footer-contact a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer-contact a:hover { color: #8fe3a6; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Contactpagina ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  padding-block: clamp(4rem, 8vw, 6rem);
}

.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.02em; margin-top: 0.6rem; }
.page-hero p { color: rgba(255, 255, 255, 0.85); max-width: 52ch; margin-top: 0.8rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-cards { display: grid; gap: 1.2rem; align-content: start; }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.contact-card p, .contact-card a { color: var(--muted); text-decoration: none; font-weight: 600; }
.contact-card a:hover { color: var(--green-700); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-soft);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.field { margin-bottom: 1.1rem; }

.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.4rem; }

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fbfaf7;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(47, 158, 87, 0.15);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-featured { grid-template-columns: auto 1fr; }
  .partner-featured__link { display: none; }
  .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .media-photo { order: -1; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-cta { display: none; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 30px -24px rgba(6, 35, 27, 0.4);
    display: none;
  }

  .main-nav.open { display: block; }

  .main-nav ul { flex-direction: column; gap: 0; padding: 0.8rem 4%; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding-block: 0.95rem; color: var(--ink); font-size: 1rem; }
  .main-nav a::after { display: none; }

  .hero__leaf { opacity: 0.5; right: 0; }
}

@media (max-width: 560px) {
  .values-grid, .partners-grid, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .partner-featured {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .partner-featured__info p:last-child { margin-inline: auto; }
}
