/* ==========================================================
   TrimToko.nl — statische versie (HTML + CSS, geen WordPress)
   ========================================================== */

:root {
  --groen: #9ddb95;
  --achtergrond: #f4f6f4;
  --tekst: #4e5652;
  --kop: #14261c;
  --nav: #4f4b4b;
  --footer-tekst: #545454;
  --container: 1200px;
  --kopfont: "Prata", serif;
  --tekstfont: "Lato", sans-serif;
  --labelfont: "Montserrat", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  margin: 0;
  background: var(--achtergrond);
  color: var(--tekst);
  font-family: var(--tekstfont);
  font-size: 16px;
  line-height: 1.857;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--kop); text-decoration: none; transition: color .2s; }

h1, h2, h3 {
  font-family: var(--kopfont);
  font-weight: 400;
  color: var(--kop);
  margin: 0 0 20px;
}
h1 { font-size: 104px; line-height: 1.4; }
h2 { font-size: 48px; line-height: 1.3; }
h3 { font-size: 32px; line-height: 1.3; }
h4 {
  font-family: var(--labelfont);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--kop);
  margin: 0 0 10px;
}
p { margin: 0 0 20px; }

.container { max-width: var(--container); margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #fff; padding: 10px 20px; z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Knop ---------- */
.knop {
  display: inline-block;
  background: var(--groen);
  border: 1px solid var(--groen);
  border-radius: 24px;
  color: #000;
  font-family: var(--tekstfont);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 16px 32px;
  text-align: center;
  transition: background .25s, border-color .25s, color .25s;
}
.knop:hover, .knop:focus { background: #86cf7c; border-color: #86cf7c; color: #000; }
.knop--capitalize { text-transform: capitalize; }
.knop-rij { text-align: center; margin-top: 30px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  min-height: 70px;
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}
.logo img { width: 120px; height: auto; }

.hoofdmenu ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center;
}
.hoofdmenu a {
  display: block;
  padding: 13px 20px;
  color: var(--nav);
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
}
.hoofdmenu a:hover, .hoofdmenu a:focus { color: #6fbf64; }
.hoofdmenu svg { width: 15px; height: 15px; fill: currentColor; vertical-align: -2px; }

.menu-knop {
  display: none;
  background: transparent;
  border: 0;
  padding: 5.5px;
  color: var(--nav);
  cursor: pointer;
}
.menu-knop svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.menu-knop .icoon-sluit { display: none; }
.menu-open .menu-knop .icoon-open { display: none; }
.menu-open .menu-knop .icoon-sluit { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--achtergrond) url("../images/victor-grabarczyk-N04FIfHhv_k-unsplash-scaled.jpg") no-repeat;
  background-size: 100% auto;
  background-position: 0 -100px;
  padding: 200px 40px;
  min-height: 560px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 7%, rgba(242, 41, 91, 0) 100%);
}
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}
.hero__tekst { max-width: 600px; padding: 10px; color: #000; }
.hero__tekst p { margin-bottom: 15px; }
.hero__tekst .knop { margin-top: 20px; }

.hero--portfolio .hero__tekst { max-width: 480px; }
.hero--portfolio h1 { margin-bottom: 10px; }

/* ---------- De TrimToko ---------- */
.sectie-titel { padding: 60px 10px 0; }
.sectie-titel h2 { margin: 0; }

.over {
  position: relative;
  padding: 90px 25px;
}
.over::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../images/Naamloos.png") no-repeat center / 65% auto;
  opacity: .11;
  pointer-events: none;
}
.over__grid {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 50px;
  align-items: start;
}
.over__wie { text-align: center; }
.over__wie h3, .over__tijden h3 { text-align: center; margin-bottom: 15px; }
.over__wie p {
  color: #113040;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.tijden {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.tijden td { padding: 10px; border-bottom: 1px solid #eee; width: 50%; }
.tijden tr:nth-child(odd) { background: var(--groen); }
.tijden tr:nth-child(even) { background: var(--achtergrond); }

/* ---------- Fotogalerij (carrousel) ---------- */
.galerij { padding: 50px; }
.carrousel {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.carrousel__venster { overflow: hidden; }
.carrousel__spoor {
  display: flex;
  gap: 20px;
  transition: transform .5s ease;
}
.carrousel__dia {
  flex: 0 0 calc((100% - 40px) / 3);
}
.carrousel__dia img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 7px;
}
.carrousel__pijl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  padding: 5px;
  cursor: pointer;
  color: #333;
}
.carrousel__pijl svg { width: 25px; height: 25px; fill: currentColor; display: block; }
.carrousel__pijl--vorige { left: 0; }
.carrousel__pijl--volgende { right: 0; }

/* ---------- Mijn Werk ---------- */
.werk { padding: 80px 20px; }
.werk__inner { max-width: var(--container); margin: 0 auto; }
.werk__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 30px 0 20px;
}
.werk__item h3 { text-align: center; margin-top: 20px; }

.voorna {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.voorna img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.voorna__voor { clip-path: inset(0 50% 0 0); z-index: 1; }
.voorna__lijn {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; margin-left: -1.5px;
  background: #fff;
  z-index: 2;
  pointer-events: none;
}
.voorna__greep {
  position: absolute; top: 50%; left: 50%;
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 3px solid #fff;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
  background: rgba(0, 0, 0, .15);
}
.voorna__greep::before, .voorna__greep::after {
  content: "";
  position: absolute; top: 50%;
  border: 6px solid transparent;
  margin-top: -6px;
}
.voorna__greep::before { left: 2px; border-right-color: #fff; }
.voorna__greep::after { right: 2px; border-left-color: #fff; }
.voorna__label {
  position: absolute; top: 20px;
  z-index: 4;
  background: var(--groen);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  padding: 10px 18px;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.voorna:hover .voorna__label { opacity: 1; }
.voorna__label--voor { left: 10px; }
.voorna__label--na { right: 10px; }
.voorna input[type="range"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  z-index: 5;
  cursor: ew-resize;
}

/* ---------- Tarieven ---------- */
.tarieven { padding: 0; }
.tarieven__titel { max-width: var(--container); margin: 0 auto; padding: 10px 10px 0; }
.tarieven__titel h2 { margin: 0; }
.tarieven__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 10px;
}
.prijslijst { list-style: none; margin: 0; padding: 0; }
.prijslijst li {
  display: flex;
  align-items: baseline;
  margin-bottom: 20px;
  color: #000;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.857;
}
.prijslijst__naam { max-width: 80%; }
.prijslijst__puntjes {
  flex: 1 1 auto;
  border-bottom: 2px dotted #000;
  margin: 0 10px;
  min-width: 20px;
}
.prijslijst__prijs { white-space: nowrap; }

/* ---------- Contact ---------- */
.contact { padding: 100px 0; }
.contact__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contact__links { padding: 0 40px; }
.contact__rechts { padding: 0 50px 0 100px; }
.contact h2 { margin-bottom: 30px; }

.iconen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 0;
  margin-bottom: 30px;
}
.icoonblok { display: flex; gap: 15px; align-items: flex-start; }
.icoonblok__icoon {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--groen);
  display: flex; align-items: center; justify-content: center;
}
.icoonblok__icoon svg { width: 21px; height: 21px; fill: currentColor; }
.icoonblok h4 { margin: 0; }
.icoonblok h4 a { color: inherit; }
.icoonblok p { margin: 0; font-size: 14px; line-height: 1.857; }

.lottie-hond { width: 100%; max-width: 280px; aspect-ratio: 1 / 1; }

.plattegrond img { width: 100%; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--groen);
  padding: 80px 20px 40px;
  color: var(--footer-tekst);
}
.site-footer__golf {
  position: absolute; top: -1px; left: 0;
  width: 100%; height: 39px;
  line-height: 0;
}
.site-footer__golf svg { width: 100%; height: 100%; display: block; }
.site-footer__golf path { fill: var(--achtergrond); }
.site-footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.site-footer h4 { color: var(--footer-tekst); margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { font-size: 13px; line-height: 1.857; padding-bottom: 2.5px; }
.site-footer a { color: var(--footer-tekst); }
.site-footer a:hover { color: #000; }
.site-footer__logo { display: flex; justify-content: center; align-items: flex-start; }
.site-footer__logo img { width: 221px; }

/* ---------- Portfolio ---------- */
.portfolio { padding: 0 10px; }
.portfolio__item {
  max-width: var(--container);
  margin: 0 auto;
  padding-bottom: 50px;
}
.scheiding {
  width: 300px;
  max-width: 60%;
  height: 0;
  border: 0;
  border-top: 2px solid var(--groen);
  margin: 0 auto 40px;
}
.portfolio__fotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.portfolio__fotos img { width: 100%; }

/* ---------- Voorwaarden ---------- */
.tekstpagina {
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 20px 80px;
}
.tekstpagina ul { padding-left: 20px; margin: 0 0 20px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .9);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button {
  position: absolute; top: 15px; right: 20px;
  background: none; border: 0;
  color: #fff; font-size: 40px; line-height: 1;
  cursor: pointer;
}

/* ---------- Animaties (fade-in bij scrollen) ---------- */
.anim { opacity: 0; transition: opacity 1.25s ease, transform 1.25s ease; }
.anim--links { transform: translateX(-60px); }
.anim--rechts { transform: translateX(60px); }
.anim--omhoog { transform: translateY(60px); }
.anim.is-zichtbaar { opacity: 1; transform: none; }
.anim--d1 { transition-delay: .1s; }
.anim--d2 { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
.no-js .anim { opacity: 1; transform: none; }

/* ==========================================================
   Tablet (≤ 1024px): hamburgermenu
   ========================================================== */
@media (max-width: 1024px) {
  .menu-knop { display: block; }
  .hoofdmenu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .06);
  }
  .menu-open .hoofdmenu { max-height: 500px; }
  .hoofdmenu ul { flex-direction: column; align-items: stretch; }
  .hoofdmenu a { padding: 16px 20px; }

  .hero {
    background-size: 56% auto;
    background-position: 327px 76px;
  }
  .hero--portfolio .hero__tekst { max-width: 420px; }
  h1 { font-size: 80px; }

  .carrousel__dia { flex-basis: calc((100% - 20px) / 2); }

  .contact__rechts { padding: 0 40px; }
}

/* ==========================================================
   Mobiel (≤ 767px)
   ========================================================== */
@media (max-width: 767px) {
  h1 { font-size: 50px; }
  h2 { font-size: 25px; line-height: 1.3; }
  h3 { font-size: 25px; }
  h4 { font-size: 20px; }

  .logo img { width: 140px; }

  .hero {
    min-height: 0;
    padding: 104px 24px 40px;
    background-size: cover;
    background-position: 50% 100%;
    font-size: 14.6px;
    text-align: center;
  }
  .hero__tekst, .hero--portfolio .hero__tekst { max-width: none; }
  .hero__tekst p { background: rgba(255, 255, 255, .35); }

  .sectie-titel { text-align: center; padding-top: 50px; }

  .over { padding: 40px 20px; }
  .over__grid { grid-template-columns: 1fr; gap: 40px; }
  .over__wie, .over__wie h3, .over__tijden h3 { text-align: left; }
  .over__wie p { line-height: 2; }

  .galerij { padding: 30px 20px; }
  .carrousel { padding: 0 30px; }
  .carrousel__dia { flex-basis: 100%; }

  .werk { padding: 50px 20px; }
  .werk h2 { text-align: center; }
  .werk__grid { grid-template-columns: 1fr; gap: 30px; }

  .tarieven__titel { text-align: center; padding: 10px 20px 0; }
  .tarieven__grid { grid-template-columns: 1fr; padding: 10px 20px; }
  .prijslijst li { font-size: 16px; }

  .contact { padding: 60px 0; }
  .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .contact__links, .contact__rechts { padding: 0 20px; }
  .contact h2 { text-align: center; }
  .iconen { grid-template-columns: 1fr; }

  .site-footer { padding-top: 70px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer__logo { justify-content: flex-start; }

  .portfolio h2 { text-align: center; }
  .portfolio__fotos { grid-template-columns: 1fr; gap: 10px; }

  .tekstpagina { padding: 110px 20px 60px; }
}
