/*
 * HGLT: huisstijl Het Groene Leven Tuinen bovenop Quark 2.
 * Benadert het oorspronkelijke ontwerp: donkergroene menubalk, foto-achtergronden
 * met vaste positie, half-transparante tekstpanelen, Manrope.
 */

:root,
:root[data-theme="light"] {
  --hglt-green: #006600;
  --hglt-green-dark: #004d00;
  --hglt-lime: #9cc414;
  --hglt-text: #4a4a4a;
  --q2-bg: #ffffff;
  --q2-bg-elev: #ffffff;
  --q2-text: var(--hglt-text);
  --q2-text-strong: #2b2b2b;
  --q2-accent: var(--hglt-green);
  --q2-link: var(--hglt-green);
  --q2-nav-bg: var(--hglt-green);
  --q2-nav-border: transparent;
  --q2-header-height: 60px;
  --pico-font-family-sans-serif: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pico-font-family-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pico-primary: var(--hglt-green);
  --pico-primary-hover: var(--hglt-green-dark);
}

body { background: #fff; color: var(--hglt-text); }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: 0; }

/* ---------- Menubalk ---------- */
#header {
  background: var(--hglt-green);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}
#header .navbar { justify-content: center; }
#header .desktop-menu { margin: 0 auto; }
#header .dropmenu > ul > li > a {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 400;
  padding: .35rem 1rem;
  border-radius: var(--q2-radius-pill);
}
#header .dropmenu > ul > li > a:hover,
#header .dropmenu > ul > li > a.active {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}
.mobile-menu .button_container span { background: #fff; }
.mobile-container .overlay { background: var(--hglt-green); }
.mobile-container .overlay a { color: #fff; }
.mobile-logo img { max-width: 160px; margin: 0 auto; }

/* ---------- Knoppen ---------- */
.hglt-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  border-radius: var(--q2-radius-pill);
  background: var(--hglt-green);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}
.hglt-btn:hover { background: var(--hglt-green-dark); }
.hglt-btn--wa { background: #1f8f4e; }
.hglt-btn--wa:hover { background: #18733e; }
.hglt-bel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin: 1.25rem 0;
}
.hglt-bel__label { width: 100%; text-align: center; font-weight: 600; }

/* ---------- Hero (home) ---------- */
.hglt-hero {
  position: relative;
  min-height: calc(100vh - var(--q2-header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #f5f5f5;
}
.hglt-hero__inner { padding: 3rem 1rem; }
.hglt-hero__logo { width: min(260px, 60vw); height: auto; margin: 0 auto 1.5rem; display: block; }
.hglt-hero h1 {
  color: #f5f5f5;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
  margin: 0;
}
.hglt-hero p { color: #f5f5f5; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }

/* ---------- Kopband (overige pagina's) ---------- */
.hglt-pagehero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5rem 0 4rem;
  text-align: center;
}
.hglt-pagehero h1 {
  color: #f5f5f5;
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

/* ---------- Tekst ---------- */
.container.narrow, .hglt-prose { max-width: 760px; margin-inline: auto; }
.hglt-text, .hglt-intro { padding: 3rem 0; }
.hglt-prose { font-size: 1.0625rem; line-height: 1.7; }
.hglt-prose h2 { color: var(--hglt-green); font-size: 1.5rem; margin-top: 2rem; }
#body-wrapper { padding-top: 2.5rem; }

/* ---------- Intro (home) ---------- */
.hglt-intro__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}
.hglt-intro__top > img { width: 100%; height: auto; border-radius: 4px; }
.hglt-intro__brand { text-align: center; }
.hglt-intro__brand img { width: min(240px, 100%); height: auto; margin: 0 auto; display: block; }

/* ---------- Dienstblokken ---------- */
.hglt-dienst {
  display: flex;
  min-height: 440px;
  background-size: cover;
  background-position: center;
}
.hglt-dienst--right { justify-content: flex-end; }
.hglt-dienst__panel {
  width: 50%;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(255, 255, 255, .78);
  color: #2b2b2b;
}
.hglt-dienst__panel h2 { color: var(--hglt-green); font-size: 1.5rem; margin-top: 0; }

/* ---------- Dienstpagina's ---------- */
.hglt-dienstfotos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem auto 0;
  max-width: 1000px;
}
.hglt-dienstfotos img { width: 100%; height: auto; border-radius: 4px; }

/* ---------- Galerij ---------- */
.lightbox-gallery img { border-radius: 4px; }

/* ---------- Formulier ---------- */
.hglt-prose form button[type="submit"],
.hglt-prose form .button { background: var(--hglt-green); border-color: var(--hglt-green); }

/* ---------- Footer ---------- */
.hglt-footer {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #f5f5f5;
  text-align: center;
  padding: 0;
  margin-top: 0;
}
.hglt-footer__inner { padding: 4rem 1rem 3rem; }
.hglt-footer__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 .5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.hglt-footer .hglt-bel__label { text-shadow: 0 1px 8px rgba(0, 0, 0, .6); font-size: 1.25rem; }
.hglt-footer__logo { width: min(220px, 50vw); height: auto; margin: 1.5rem auto 0; display: block; }
.hglt-footer__legal { background: rgba(0, 40, 0, .82); font-size: .875rem; padding: .9rem 0; }
.hglt-footer__legal .container { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.25rem; }
.hglt-footer__legal a { color: #fff; }

/* ---------- Zwevende contactknop ---------- */
.hglt-contactpill {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .8rem .4rem .5rem;
  border-radius: 8px;
  background: #111;
  color: #fff !important;
  font-size: .875rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

/* ---------- Mobiel ---------- */
@media (max-width: 840px) {
  /* iOS en veel Android-browsers ondersteunen geen vaste achtergrond */
  .hglt-hero, .hglt-pagehero, .hglt-footer { background-attachment: scroll; }
  .hglt-intro__top { grid-template-columns: 1fr; }
  .hglt-dienst { min-height: 0; padding-top: 220px; }
  .hglt-dienst__panel { width: 100%; background: rgba(255, 255, 255, .92); }
}

/* ---------- Correcties 23-10 ---------- */
#header .desktop-menu { justify-content: center; }
.hglt-galerij {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 1rem auto 0;
}
.hglt-galerij img { display: block; width: 100%; height: auto; border-radius: 4px; transition: filter .2s; }
.hglt-galerij a:hover img { filter: brightness(.9); }

/* ---------- Correcties 24-10 ---------- */
/* Geen automatische woordafbreking */
body, .hglt-prose, .hglt-dienst__panel, .hglt-text { hyphens: manual; -webkit-hyphens: manual; }
/* Hamburgermenu: groene streepjes op de witte knop */
.mobile-menu .button_container span { background: var(--hglt-green); }
/* Formulierknop: witte tekst */
.hglt-prose form button[type="submit"],
.hglt-prose form .button,
.hglt-prose form button { color: #fff; font-weight: 600; }
/* Footer: lichte tekst op de donkere foto */
.hglt-footer, .hglt-footer p, .hglt-footer span { color: #f5f5f5; }
.hglt-footer__title { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .75); }
.hglt-footer .hglt-bel__label { color: #fff; }
.hglt-footer__legal span, .hglt-footer__legal a { color: #fff; }

/* ---------- Reviews (Trustoo en Google) ---------- */
.hglt-reviews { display: flex; justify-content: center; margin: 1.25rem auto 0; min-height: 60px; }
.hglt-hero { position: relative; }
.hglt-reviews--hero { position: absolute; left: clamp(1rem, 6vw, 5rem); bottom: 2.5rem; margin: 0; }
.hglt-pagehero { position: relative; }
.hglt-reviews--band { margin-top: 1.25rem; }
@media (max-width: 840px) {
  .hglt-reviews--hero { position: static; margin: 0 auto 2rem; }
  .hglt-hero { flex-direction: column; }
}

/* ---------- Correcties 25-10 ---------- */
.hglt-reviews--hero { bottom: 5rem; }
.hglt-footer__legal a, .hglt-footer__legal a:visited { color: #fff !important; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Correcties 25-10 (scherpte) ---------- */
/* Intro-foto in originele resolutie, vierkant bijgesneden met CSS */
.hglt-intro__foto { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
/* Footerachtergrond vullend, ook tegen de #footer-regel van Quark 2 in */
#footer.hglt-footer { background-size: cover; background-position: center; background-repeat: no-repeat; }
/* Dienstfoto's zijn 720-1200 px breed: niet breder oprekken dan 1200 px */
.hglt-dienst { max-width: 1200px; margin-inline: auto; }
