/* Opmaak gebaseerd op de oorspronkelijke site van Nicolette Biessels, nu responsive. */
@font-face { font-family: "Lato"; font-weight: 300; font-style: normal; font-display: swap; src: url(/assets/fonts/lato-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/lato-latin-400-normal.woff2) format("woff2"); }

:root {
  --mint: #549190;
  --mint-donker: #387675;
  --mint-licht: #74b2b0;
  --olijf: #707c62;
  --leisteen: #3f424b;
  --nacht: #29292e;
  --tekst: #656565;
  --lijn: #dcdcdc;
  --kop-hoogte: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--kop-hoogte); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; padding-top: var(--kop-hoogte); background: #fff; color: var(--tekst); font: 300 1.25rem/1.5 "Lato", system-ui, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--mint); }
h1, h2, h3, p { margin: 0; }
h2, h3 { font-weight: 400; }
::selection { background: var(--mint-licht); color: #fff; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
button { font: inherit; }

.binnen { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.smal { max-width: 900px; }
.visueel-verborgen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: #000; color: #fff; padding: 0.5rem 1rem; z-index: 200; }
.skip:focus { top: 1rem; }

/* Knop zoals op de oude site: witte rand, wordt wit bij hover */
.knop { display: inline-block; margin-top: 15px; padding: 7px 15px 10px; font-size: 20px; font-weight: 400; line-height: 1; color: #fff; background: transparent; border: 1px solid #fff; border-radius: 4px; text-decoration: none; cursor: pointer; transition: all 0.2s ease-in-out; }
.knop:hover, .knop:focus-visible { background: #fff; color: #424b51; }

/* Kop */
.kop { position: fixed; top: 0; left: 0; right: 0; z-index: 110; height: var(--kop-hoogte); background: #fff; border-bottom: 1px solid var(--lijn); }
.kop__binnen { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: block; transition: opacity 0.2s; }
.logo:hover { opacity: 0.7; }
.logo img { display: block; width: 331px; }
.menu { display: flex; align-self: stretch; }
.menu a { display: flex; align-items: center; padding: 0 10px; color: #000; text-decoration: none; font-size: 1.5rem; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.menu a:hover { border-bottom-color: var(--mint-licht); }
.menu a[aria-current="true"] { border-bottom-color: var(--mint); }
.menuknop { display: none; }

@media (max-width: 900px) {
  .menu a { font-size: 1.15rem; padding: 0 7px; }
  .logo img { width: 260px; }
}
@media (max-width: 720px) {
  :root { --kop-hoogte: 60px; }
  .logo img { width: 210px; }
  .menuknop { display: block; background: none; border: 1px solid #000; color: #000; border-radius: 4px; padding: 5px 12px; font-size: 1rem; cursor: pointer; }
  .menu { display: none; position: absolute; top: var(--kop-hoogte); left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--lijn); padding: 0 20px 10px; }
  .menu.is-open { display: flex; }
  .menu a { padding: 12px 0; font-size: 1.25rem; border-bottom: 1px solid var(--lijn); }
  .menu a[aria-current="true"] { color: var(--mint); border-bottom-color: var(--lijn); }
}

/* Streamer (grote kopfoto) */
.streamer { background: #555 url(/assets/ui/streamer-1920.webp) center / cover no-repeat; color: #fff; }
@media (max-width: 960px) { .streamer { background-image: url(/assets/ui/streamer-960.webp); } }
.streamer__binnen { min-height: 492px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-top: 140px; padding-bottom: 20px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.streamer h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 400; line-height: 1.1; }
.streamer__sub { font-size: clamp(1.4rem, 3.2vw, 2.5rem); line-height: 1.15; margin-top: 0.2em; }
.streamer .knop { text-shadow: none; }
.streamer__scroll { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 50px; color: #fff; text-decoration: none; font-size: 20px; }
.streamer__scroll img { transition: transform 0.2s; }
.streamer__scroll:hover img { transform: translateY(5px); }

/* Meer informatie (olijfgroen vlak) */
.olijf { background: var(--olijf); color: #fff; text-align: center; padding: 40px 0; line-height: 1.4; }
.olijf[hidden] { display: none; }
.olijf p + p { margin-top: 1em; }
.olijf__sluit { margin-top: 20px; background: none; border: 0; cursor: pointer; padding: 6px; transition: transform 0.2s; }
.olijf__sluit:hover { transform: translateY(-7px); }

/* Werk: één beeld tegelijk in een carrousel */
.werk { padding-top: 100px; }
.werkstuk[hidden] { display: none; }
.carrousel { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 4vw, 88px); }
.carrousel__dia { list-style: none; margin: 0; padding: 0; width: min(800px, 100%); aspect-ratio: 4 / 3; border: 1px solid #ddd; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carrousel__dia::-webkit-scrollbar { display: none; }
.dia { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; }
.dia img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.carrousel__pijl { flex: 0 0 auto; background: none; border: 0; padding: 4px; cursor: pointer; transition: transform 0.2s; }
.carrousel__pijl img { display: block; }
.carrousel__pijl--links:hover { transform: translateX(-7px); }
.carrousel__pijl--rechts:hover { transform: translateX(7px); }
.carrousel__pijl[disabled] { visibility: hidden; }
.carrousel__stippen { display: flex; justify-content: center; gap: 10px; padding-top: 12px; min-height: 27px; }
.carrousel__stippen button { width: 13px; height: 13px; padding: 0; border-radius: 50%; border: 1px solid var(--mint); background: #fff; cursor: pointer; }
.carrousel__stippen button[aria-current="true"] { background: var(--mint); }
.werkstuk__tekst { text-align: center; padding: 10px 0 100px; line-height: 1.3; }
.werkstuk__tekst h3 { font-size: 1.5rem; margin-bottom: 0.3em; }
@media (max-width: 600px) { .carrousel__pijl img { width: 22px; } .werkstuk__tekst { padding-bottom: 60px; } }

/* Overzicht van alle beelden */
.portfolio { padding-bottom: 100px; }
.tegels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px clamp(30px, 6vw, 85px); }
.tegel { position: relative; display: block; aspect-ratio: 310 / 198; overflow: hidden; background: #ccc; }
.tegel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tegel__tekst { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(0, 0, 0, 0.55); color: #fff; transition: opacity 0.5s ease; }
.tegel__titel { font-size: 1.6rem; font-weight: 400; text-align: center; padding: 0 10px; }
.tegel__lijn { width: 200px; max-width: 70%; height: 2px; background: #fff; }
.tegel:hover .tegel__tekst, .tegel:focus-visible .tegel__tekst, .tegel.is-actief .tegel__tekst { opacity: 0; }

/* Expositie */
.expositie { background: var(--leisteen); color: #fff; text-align: center; padding: 60px 0; }
.expositie p { font-size: clamp(1.6rem, 4vw, 3.25rem); font-weight: 400; line-height: 1.3; }

/* Over mij */
.over-mij { padding-top: 130px; }
.over-mij__binnen { display: flex; gap: 40px; align-items: flex-start; justify-content: space-between; }
.over-mij h2 { display: flex; align-items: center; gap: 20px; font-size: 30px; margin-bottom: 1em; color: var(--tekst); }
.over-mij__tekst { max-width: 910px; line-height: 1.5; margin-bottom: 80px; }
.over-mij__portret { margin-top: 37px; width: 166px; flex: 0 0 auto; }
@media (max-width: 700px) { .over-mij { padding-top: 80px; } .over-mij__binnen { flex-direction: column; } .over-mij__portret { margin: -40px 0 40px; width: 200px; } }
.naar-boven { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-bottom: 20px; width: max-content; margin: 0 auto; }
.naar-boven img:first-child { transition: transform 0.2s; }
.naar-boven:hover img:first-child { transform: translateY(-7px); }

/* Contact */
.contact { background: var(--mint); color: #fff; text-align: center; padding: 20px 0 40px; }
.contact h2 { font-size: clamp(2.5rem, 5vw, 3.3rem); font-weight: 300; }
.contact__lijn { width: 100px; height: 1px; border: 0; background: #68a6a5; margin: 15px auto 30px; }
.formulier { display: flex; flex-direction: column; gap: 25px; }
.formulier__rij { display: flex; gap: 8%; }
.formulier__rij input { flex: 1 1 0; min-width: 0; }
@media (max-width: 600px) { .formulier__rij { flex-direction: column; gap: 25px; } }
.formulier input:not([type="hidden"]), .formulier textarea { width: 100%; border: 0; border-radius: 0; outline: none; background: var(--mint-donker); color: #fff; font: 300 clamp(1.1rem, 2.4vw, 1.6rem) "Lato", sans-serif; padding: 15px 10px; }
.formulier textarea { height: 160px; resize: vertical; }
.formulier ::placeholder { color: var(--mint-licht); opacity: 1; }
.formulier input:focus, .formulier textarea:focus { box-shadow: inset 0 0 0 2px var(--mint-licht); }
.formulier [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #f3c6b8; }
.veld--verborgen { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { align-self: center; min-height: 65px; }
.formulier__privacy { font-size: 0.9rem; color: #e6f1f0; }
.formulier__privacy a { color: #fff; }
.formulier__knop { align-self: center; width: min(340px, 100%); height: 57px; background: #fff; color: var(--mint-donker); border: 0; border-radius: 0; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 300; cursor: pointer; transition: all 0.2s ease-in-out; }
.formulier__knop:hover { background: var(--mint-donker); color: var(--mint-licht); }
.formulier__knop[disabled] { opacity: 0.7; cursor: progress; }
.formulier__status { min-height: 1.5em; font-size: 1.1rem; }
.formulier__status.is-fout { color: #ffe1d6; font-weight: 400; }

/* Voet */
.voet { background: var(--nacht); color: #f5f5f5; padding: 15px 20px; font-size: 0.8rem; text-align: center; }
.voet p { opacity: 0.6; }
.voet a { color: #f5f5f5; }

/* Tekstpagina's (privacy, 404) */
.tekstpagina { padding: 60px 0 80px; line-height: 1.6; }
.tekstpagina h1 { color: #333; font-size: 2.4rem; font-weight: 400; margin-bottom: 0.6em; }
.tekstpagina h2 { color: #333; font-size: 1.5rem; margin: 1.6em 0 0.4em; }
.tekstpagina p { margin-bottom: 0.8em; }
