/* ==========================================================================
   Tuinaanleg Sven Hendrikx — statische kopie van de live site
   (tuinaanleg-svenhendrikx.be, november 2026)
   ========================================================================== */

:root {
  --green: #2c5444;
  --green-head: #1c4b37;
  --teal: #1f4e51;
  --sage: #e5ece1;
  --sun: #ffbe3f;
  --ink: #242424;
  --white: #fbfbfb;
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
.skip {
  position: absolute;
  left: 10px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--sun);
  color: var(--teal);
}
.skip:focus {
  top: 10px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 10px;
}

/* knop (geel, pil) */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: 0;
  border-radius: 99px;
  background: var(--sun);
  color: var(--teal);
  font-family: Manrope, sans-serif;
  font-size: 20px;
  line-height: 34px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn:hover {
  background: #ffcd66;
}
.btn-small {
  padding: 12px 24px;
  border-radius: 60px;
  line-height: 20px;
}

/* ==========================================================================
   Header (transparant boven de hero)
   ========================================================================== */
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo {
  padding: 10px;
}
.logo img {
  width: 186px;
  height: auto;
}
.nav {
  display: flex;
  padding: 10px;
}
.nav a {
  padding: 4px 16px;
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 34px;
  color: #fff;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--sun);
}
.burger {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 746px;
  display: flex;
  align-items: center;
  background: var(--green) url("../media/decor/hero-achtergrond.webp") center / cover no-repeat;
  color: #fff;
  text-align: center;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 142px;
  padding-bottom: 54px;
}
.hero-logo {
  width: 155px;
  height: auto;
}
.hero h1 {
  margin-top: 13px;
  font-family: Archivo, sans-serif;
  font-size: 80px;
  font-weight: 900;
  line-height: 80px;
  text-transform: uppercase;
  color: var(--white);
}
.hero p {
  max-width: 1024px;
  margin: 12px 0 12px;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 1px;
}

/* ==========================================================================
   Over
   ========================================================================== */
.about {
  position: relative;
  margin-top: 20px;
  padding: 127px 0 0;
  min-height: 394px;
  overflow: hidden;
}
.about-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 108px;
  padding-left: 20px;
  padding-right: 20px;
}
h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
  color: var(--green-head);
}
.about-text {
  color: var(--teal);
}
.about-text p + p {
  margin-top: 26px;
}
.plant {
  position: absolute;
  pointer-events: none;
}
.plant-1 {
  left: calc(50% - 632px);
  top: 234px;
}
.plant-2 {
  right: calc(50% - 580px);
  top: 289px;
}

/* ==========================================================================
   Diensten
   ========================================================================== */
.services {
  padding: 106px 0 48px;
}
.services h2 {
  padding: 0 10px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.card {
  position: relative;
  grid-column: span 8;
  padding: 24px;
  border-radius: 12px;
  background: var(--sage) right bottom / auto 100% no-repeat;
}
.card-wide {
  grid-column: span 12;
}
.card h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 34px;
  color: var(--ink);
}
.card p {
  margin-top: 8px;
  max-width: 694px;
}
.card-tuinaanleg {
  background-image: url("../media/decor/dienst-tuinaanleg.webp");
}
.card-tegels {
  background-image: url("../media/decor/dienst-klinkers-tegels.webp");
}
.card-omheining {
  background-image: url("../media/decor/dienst-omheiningen.webp");
}
.card-onderhoud {
  background-image: url("../media/decor/dienst-tuinonderhoud.webp");
}

/* galerij: drie uitgelijnde rijen van vijf, zoals op de live site */
.gallery {
  display: grid;
  gap: 8px;
  margin-top: 96px;
}
.g-row {
  display: flex;
  gap: 8px;
}
.gallery a {
  flex: var(--r) 1 0;
  min-width: 0;
  aspect-ratio: var(--r);
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery a:hover img {
  transform: scale(1.05);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: rgba(0, 0, 0, 0.9);
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
}
.lightbox button {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}
.lightbox button:hover {
  opacity: 1;
}
.lb-close {
  top: 10px;
  right: 10px;
}
.lb-prev {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.lb-next {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   Contact + footer
   ========================================================================== */
.footer {
  margin-top: 0;
  padding: 48px 48px 0;
  background: var(--green) url("../media/decor/footer-achtergrond.webp") center bottom / cover no-repeat;
  color: #fff;
}
.contact {
  display: grid;
  grid-template-columns: 556fr 620fr;
  gap: 84px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.contact h2 {
  margin-top: 26px;
  color: #fff;
}
.contact-text > p {
  margin-top: 16px;
}
.contact-list {
  margin-top: 32px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
}
.contact-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: #fff;
}
.contact-list a:hover {
  color: var(--sun);
}

.form {
  display: flex;
  flex-direction: column;
}
.form label {
  color: var(--sage);
}
.form label:not(:first-child) {
  margin-top: 16px;
}
.form input,
.form textarea {
  width: 100%;
  min-height: 59px;
  padding: 7px 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 20px;
  color: #000;
}
.form textarea {
  min-height: 96px;
  resize: vertical;
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--sun);
  outline-offset: 0;
}
.form .btn {
  align-self: flex-start;
  margin-top: 26px;
  font-family: Roboto, Arial, sans-serif;
}
.form-note {
  margin-top: 12px;
  font-size: 15px;
}
.form-note:empty {
  display: none;
}
.form-note.is-ok,
.form-note.is-error {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--sun);
}
.form-note.is-error {
  border-left-color: #ff8a65;
}
.form-privacy {
  margin-top: 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--sage);
}
.form-privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form .btn:disabled {
  opacity: 0.7;
  cursor: wait;
}
/* lokveld voor spambots: onzichtbaar voor bezoekers */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Privacybeleid
   ========================================================================== */
.legal-hero {
  padding: 150px 0 56px;
  background: var(--green) url("../media/decor/hero-achtergrond.webp") center / cover no-repeat;
  color: #fff;
}
.legal-hero h1 {
  padding: 0 10px;
  font-family: Archivo, sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 60px;
  text-transform: uppercase;
}
.prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 20px 96px;
  color: var(--teal);
}
.prose .updated {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}
.prose h2 {
  margin: 40px 0 12px;
  font-size: 24px;
  line-height: 32px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p + p {
  margin-top: 14px;
}
.prose ul {
  margin: 12px 0 0;
  padding-left: 22px;
  list-style: disc;
}
.prose li + li {
  margin-top: 4px;
}
.prose a {
  color: var(--green-head);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-slim {
  padding-top: 0;
  background-size: cover;
}
.footer-slim .legal {
  padding-top: 32px;
  padding-bottom: 32px;
}

.legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 64px;
  padding-bottom: 40px;
  font-size: 14px;
  line-height: 18px;
}
.legal a:hover {
  color: var(--sun);
}

/* ==========================================================================
   Responsief
   ========================================================================== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 64px;
    line-height: 66px;
  }
  .about-inner,
  .contact {
    gap: 40px;
  }
  .plant {
    display: none;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .card,
  .card-wide {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
    line-height: 24px;
  }
  .header-inner {
    height: 96px;
  }
  .logo img {
    width: 140px;
  }
  .burger {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .burger span {
    height: 2px;
    background: #fff;
  }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--green);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.25s,
      visibility 0.25s;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    font-size: 26px;
  }
  .hero {
    min-height: 0;
  }
  .hero-inner {
    padding-top: 120px;
    padding-bottom: 64px;
  }
  .hero-logo {
    width: 110px;
  }
  .hero h1 {
    font-size: 40px;
    line-height: 44px;
  }
  .hero p {
    font-size: 17px;
    line-height: 25px;
    letter-spacing: 0.5px;
  }
  .about {
    padding-top: 56px;
  }
  .about-inner,
  .contact,
  .cards {
    grid-template-columns: 1fr;
  }
  .about-inner {
    padding-left: 10px;
    padding-right: 10px;
    gap: 20px;
  }
  h2 {
    font-size: 30px;
    line-height: 38px;
  }
  .services {
    padding-top: 56px;
  }
  .card h3 {
    font-size: 24px;
    line-height: 30px;
  }
  .gallery {
    margin-top: 48px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .g-row {
    display: contents;
  }
  .gallery a {
    aspect-ratio: 4 / 3;
  }
  .footer {
    padding: 32px 10px 0;
  }
  .legal {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 40px;
  }
  .legal-hero {
    padding: 120px 0 40px;
  }
  .legal-hero h1 {
    font-size: 36px;
    line-height: 40px;
  }
  .prose {
    padding: 40px 10px 64px;
  }
}
