/* LLANI MUA: prototype variant B (zwart & bordeaux) met logovoorstel 3 */

:root {
  --zwart: #141012;
  --bordeaux: #3F2021; /* Pantone 4975 C */
  --olijf: #3E4827;
  --cream: #F3EBDD;
  --cream-zacht: rgba(243, 235, 221, 0.75);
  --lijn: rgba(243, 235, 221, 0.2);

  --font-logo: 'Bodoni Moda', serif;
  --font-titel: 'Mrs Saint Delafield', cursive;
  --font-kop: 'Old Standard TT', serif;
  --font-tekst: 'Montserrat', sans-serif;

  --rand: clamp(16px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--zwart);
  color: var(--cream);
  font-family: var(--font-tekst);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--cream); }
a:hover { color: #FFFFFF; }

:focus-visible { outline: 1px solid var(--cream); outline-offset: 4px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--rand);
  background: rgba(20, 16, 18, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lijn);
}

/* Logo: logovoorstel 3, serif-hoofdletters + script */
.logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.logo__naam { font-family: var(--font-logo); font-size: 28px; letter-spacing: 0.3em; }
.logo__script { font-family: var(--font-titel); font-size: 56px; margin-left: 2px; }
.site-footer .logo__naam { font-size: 22px; }
.site-footer .logo__script { font-size: 44px; }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.nav a { text-decoration: none; padding: 8px 0; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }

.taal { display: flex; gap: 8px; padding-left: 28px; border-left: 1px solid var(--lijn); }
.taal strong { font-weight: 500; }
.nav .taal a { opacity: 0.7; padding: 0; }

.menu-knop {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: var(--cream);
  cursor: pointer;
}

@media (max-width: 820px) {
  .menu-knop { display: flex; align-items: center; justify-content: center; }
  .logo__naam { font-size: 24px; }
  .logo__script { font-size: 48px; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 16px 40px;
    background: var(--zwart);
    border-bottom: 1px solid var(--lijn);
    font-size: 14px;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 0; }
  .taal { border-left: 0; padding-left: 0; margin-top: 12px; }
}

/* ---------- Gedeeld ---------- */

.paginatitel {
  margin: 0;
  padding: clamp(40px, 8vw, 96px) var(--rand) clamp(16px, 3vw, 32px);
  text-align: center;
  font-family: var(--font-titel);
  font-weight: 400;
  font-size: clamp(60px, 13vw, 160px);
  line-height: 1.1;
}

.kop {
  margin: 0 0 20px;
  font-family: var(--font-kop);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.knop {
  display: inline-block;
  padding: 16px 30px;
  background: var(--bordeaux);
  color: var(--cream);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.knop:hover { background: #57302F; color: var(--cream); }
.knop--lijn { background: none; border: 1px solid var(--cream-zacht); padding: 15px 29px; }
.knop--lijn:hover { background: var(--cream); color: var(--zwart); }

.foto-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  background: var(--olijf);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ---------- Home ---------- */

.slider {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.slider::-webkit-scrollbar { display: none; }
.slider__slide {
  flex: 0 0 calc((100% - 16px) / 3);
  height: min(78vh, 760px);
  scroll-snap-align: start;
}
.slider__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

@media (max-width: 900px) {
  .slider__slide { flex-basis: calc((100% - 8px) / 2); }
}
@media (max-width: 560px) {
  .slider__slide { flex-basis: 88%; height: 70vh; }
}

.slider-stippen { display: flex; justify-content: center; gap: 8px; padding: 18px 0 0; }
.slider-stippen button {
  width: 28px;
  height: 24px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.slider-stippen button::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--lijn);
  transition: background 0.3s;
}
.slider-stippen button[aria-current="true"]::after { background: var(--cream); }

.tagline {
  padding: clamp(48px, 8vw, 96px) var(--rand);
  text-align: center;
}
.tagline p {
  margin: 0;
  font-family: var(--font-kop);
  font-style: italic;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.15;
  color: var(--cream);
}
.tagline span {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--bordeaux);
}
.band img { width: 100%; height: 100%; max-height: 720px; object-fit: cover; }
.band__tekst {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: clamp(40px, 7vw, 96px);
}
.band__tekst p {
  margin: 0;
  font-family: var(--font-kop);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
}
.band__knoppen { display: flex; flex-wrap: wrap; gap: 14px; }
.band .knop { background: var(--zwart); }
.band .knop:hover { background: #000; }

@media (max-width: 820px) {
  .band { grid-template-columns: 1fr; }
  .band img { max-height: 520px; }
}

/* ---------- Over mij ---------- */

.verhaal { max-width: 1240px; margin: 0 auto; padding: 0 var(--rand) 40px; }

.blok {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--lijn);
}
.blok:nth-child(even) .blok__foto { order: 2; }
.blok__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.blok__foto--breed img { aspect-ratio: 3 / 2; }
.blok p { margin: 0 0 16px; color: var(--cream-zacht); }
.blok p:first-of-type { color: var(--cream); }

@media (max-width: 820px) {
  .blok { grid-template-columns: 1fr; }
  .blok:nth-child(even) .blok__foto { order: 0; }
}

.afsluiter {
  padding: clamp(56px, 9vw, 120px) var(--rand);
  text-align: center;
  background: var(--bordeaux);
}
.afsluiter p {
  margin: 0 0 8px;
  font-family: var(--font-kop);
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.3;
}
.afsluiter p.script {
  margin: 24px 0 32px;
  font-family: var(--font-titel);
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1.1;
}
.afsluiter .knop { background: var(--zwart); }

/* ---------- Portfolio ---------- */

.galerij {
  columns: 3 320px;
  column-gap: 10px;
  padding: 0 var(--rand) clamp(48px, 8vw, 96px);
}
.galerij img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-column-break-inside: avoid;
  margin-bottom: 10px;
  break-inside: avoid;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.galerij img.zichtbaar { opacity: 1; transform: none; }

@media (max-width: 560px) {
  .galerij { columns: 2; column-gap: 6px; }
  .galerij img { margin-bottom: 6px; }
}

/* ---------- Contact ---------- */

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 0 var(--rand) clamp(64px, 10vw, 140px);
  text-align: center;
}
.contact__intro { margin: 0; font-family: var(--font-kop); font-style: italic; font-size: clamp(24px, 3vw, 34px); color: var(--cream); }
.contact__mail {
  font-family: var(--font-kop);
  font-size: clamp(28px, 5vw, 56px);
  text-decoration: none;
  border-bottom: 1px solid var(--lijn);
  padding-bottom: 6px;
  overflow-wrap: anywhere;
}
.contact__insta { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; letter-spacing: 0.15em; padding: 10px; }

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px var(--rand);
  border-top: 1px solid var(--lijn);
  font-size: 13px;
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 28px; }
.site-footer__links a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; }
.site-footer small { color: var(--cream-zacht); font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .galerij img { opacity: 1; transform: none; transition: none; }
}

/* ---------- Fijnere scriptletters ----------
   Mrs Saint Delafield bestaat maar in één (vrij zware) dikte.
   Een dunne lijn in de achtergrondkleur rond elke letter maakt de
   pennenstreek fijner. --achtergrond moet de kleur zijn waarop de tekst staat. */

:root { --achtergrond: var(--zwart); --verfijning: 0.007em; }
.afsluiter { --achtergrond: var(--bordeaux); }

.paginatitel,
.logo__script,
.afsluiter p.script {
  -webkit-text-stroke: var(--verfijning) var(--achtergrond);
}

/* ---------- Fotocredits ----------
   main.js zet elke foto in een <figure class="foto-credit"> met de fotograaf als onderschrift. */

.foto-credit { position: relative; margin: 0; }
.foto-credit figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 14px 10px;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--cream);
  background: linear-gradient(transparent, rgba(20, 16, 18, 0.8));
}
.foto-credit figcaption a { text-decoration: none; opacity: 0.85; }
.foto-credit figcaption a:hover { opacity: 1; }

.slider__slide .foto-credit,
.band .foto-credit { height: 100%; }

/* In de galerij stapelen foto en onderschrift via grid in plaats van position: absolute:
   Safari (WebKit) plaatst absoluut gepositioneerde elementen in CSS-kolommen vaak verkeerd. */
.galerij .foto-credit {
  display: grid;
  width: 100%;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 10px;
}
.galerij .foto-credit > * { grid-area: 1 / 1; min-width: 0; }
.galerij .foto-credit img { margin-bottom: 0; }
.galerij .foto-credit figcaption { position: static; align-self: end; }
.galerij .foto-credit:has(img:not(.zichtbaar)) figcaption { opacity: 0; }
.galerij .foto-credit figcaption { transition: opacity 0.9s ease; }
@media (max-width: 560px) {
  .galerij .foto-credit { margin-bottom: 6px; }
  .foto-credit figcaption { padding: 24px 10px 8px; font-size: 10px; }
}
