/* ============================================
   Annet van der Vlugt — Beeldend Kunstenaar
   Statische site · stijl
   ============================================ */

/* --- Reset & basis --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --clr-bg:       #f5f0eb;
  --clr-bg-warm:  #ebe3d9;
  --clr-bg-dark:  #2c2825;
  --clr-text:     #2c2825;
  --clr-text-inv: #f5f0eb;
  --clr-muted:    #8a7e72;
  --clr-accent:   #b8562e;
  --clr-accent2:  #3a6b5c;
  --clr-line:     #c9bfb2;

  --ff-heading:   'Georgia', 'Times New Roman', serif;
  --ff-body:      'Segoe UI', system-ui, -apple-system, sans-serif;

  --space:        clamp(1.5rem, 4vw, 3rem);
  --space-lg:     clamp(3rem, 8vw, 7rem);
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--ff-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--clr-accent);
  text-decoration: none;
  transition: color .2s;
}
a:hover {
  color: var(--clr-accent2);
}

::selection {
  background: var(--clr-accent);
  color: white;
}

/* --- Container --- */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--space);
}


/* ============================================
   Navigatie
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--clr-line);
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 240, 235, .92);
  backdrop-filter: blur(10px);
  z-index: -1;
}

.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.2rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--clr-text);
  letter-spacing: .02em;
}
.nav-logo:hover {
  color: var(--clr-accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--clr-muted);
  transition: color .2s;
}
.nav-links a:hover {
  color: var(--clr-text);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  transition: transform .3s, opacity .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 700px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 202;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 200;
  }
  .nav-overlay.open {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(75vw, 280px);
    background: var(--clr-bg);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -4px 0 20px rgba(0,0,0,.12);
    z-index: 201;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    font-size: 1rem;
  }
}


/* ============================================
   Hero
   ============================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--clr-bg-dark);
  color: var(--clr-text-inv);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44, 40, 37, .55) 0%,
    rgba(44, 40, 37, .3) 40%,
    rgba(44, 40, 37, .6) 100%
  );
  z-index: 1;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: var(--space);
}

.hero-label {
  font-size: clamp(.75rem, 1.2vw, .9rem);
  text-transform: uppercase;
  letter-spacing: .3em;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: clamp(.85rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.45);
  letter-spacing: .1em;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-block;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.25);
  padding: .75rem 2rem;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  transition: all .3s;
}
.hero-cta:hover {
  color: white;
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.05);
}

/* Decoratieve verfstrepen — niet meer nodig met hero-afbeelding */


/* ============================================
   Secties — gemeenschappelijk
   ============================================ */
.section {
  padding: var(--space-lg) 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
}

@media (max-width: 700px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
}

.section-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding-top: .45rem;
}
.label-line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--clr-line);
  margin-top: .55em;
  flex-shrink: 0;
}
.label-text {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--clr-muted);
  white-space: nowrap;
}

.section-content h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-content p {
  max-width: 38rem;
  margin-bottom: 1rem;
  color: var(--clr-muted);
}

.section-content .lead {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--clr-accent);
}


/* ============================================
   Over mij — CV
   ============================================ */
.section-over {
  background: var(--clr-bg);
}

.over-portrait {
  float: right;
  width: 160px;
  margin: 0 0 1.5rem 2rem;
  shape-outside: margin-box;
}
.over-portrait img {
  width: 100%;
  filter: grayscale(.2);
  border: 3px solid var(--clr-line);
}

@media (max-width: 500px) {
  .over-portrait {
    float: none;
    margin: 0 auto 1.5rem;
  }
}

.cv {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-line);
}
.cv h3 {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.cv-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .4rem 1.5rem;
}
.cv-list dt {
  font-size: .85rem;
  color: var(--clr-accent);
  font-weight: 600;
  white-space: nowrap;
}
.cv-list dd {
  font-size: .95rem;
  color: var(--clr-muted);
}


/* ============================================
   Kwartaalschilderijen
   ============================================ */
.section-kwartaal {
  background: var(--clr-bg-warm);
}


/* ============================================
   Galerij
   ============================================ */
.section-werk {
  background: var(--clr-bg-dark);
  color: var(--clr-text-inv);
}
.section-werk .label-line {
  background: rgba(255,255,255,.2);
}
.section-werk .label-text {
  color: rgba(255,255,255,.4);
}
.section-werk .section-content h2 {
  color: var(--clr-text-inv);
}
.section-werk .section-content p {
  color: rgba(255,255,255,.5);
}

.gallery {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .3s, border-color .3s;
  cursor: pointer;
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
}
.gallery-item--tall img {
  aspect-ratio: 3/5;
}

.gallery-item--tall {
  grid-row: span 2;
}
.gallery-item--wide {
  grid-column: span 2;
}

.gallery-caption {
  padding: 1.2rem;
}
.gallery-caption h3 {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 400;
  color: var(--clr-text-inv);
  margin-bottom: .3rem;
}
.gallery-caption p {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery-item--wide {
    grid-column: span 1;
  }
  .gallery-item--tall {
    grid-row: span 1;
  }
}


/* ============================================
   Exposities — tijdlijn
   ============================================ */
.section-expo {
  background: var(--clr-bg);
}

.expo-timeline {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.expo-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--clr-line);
  transition: background .2s;
}
.expo-card:last-child {
  border-bottom: 1px solid var(--clr-line);
}
.expo-card:hover {
  background: rgba(0,0,0,.015);
}

.expo-date {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.expo-year {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  color: var(--clr-text);
  line-height: 1.2;
}
.expo-period {
  font-size: .8rem;
  color: var(--clr-muted);
}

.expo-info h3 {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: .3rem;
}
.expo-info p {
  font-size: .9rem;
  color: var(--clr-muted);
}
.expo-theme {
  font-style: italic;
  color: var(--clr-accent) !important;
}

.expo-badge {
  display: inline-block;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  background: var(--clr-accent);
  color: white;
  padding: .25rem .7rem;
  border-radius: 2px;
  margin-bottom: .5rem;
}

.expo-card--current {
  background: rgba(184, 86, 46, .04);
}

@media (max-width: 600px) {
  .expo-card {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
  .expo-date {
    flex-direction: row;
    align-items: baseline;
    gap: .75rem;
  }
}


/* ============================================
   Schilderlessen
   ============================================ */
.section-lessen {
  background: var(--clr-bg-warm);
}

.lessen-fotos {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}
.lessen-fotos img {
  border: 1px solid var(--clr-line);
  object-fit: cover;
  max-height: 260px;
  flex: 1 1 0;
  min-width: 0;
}

.lessen-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.lessen-detail {
  padding: 1.5rem;
  background: var(--clr-bg);
  border: 1px solid var(--clr-line);
  transition: box-shadow .2s;
}
.lessen-detail:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.lessen-icon {
  display: block;
  font-size: 1.3rem;
  color: var(--clr-accent);
  margin-bottom: .75rem;
}

.lessen-detail h4 {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: .3rem;
  color: var(--clr-text);
}
.lessen-detail p {
  font-size: .85rem;
  color: var(--clr-muted);
}

@media (max-width: 700px) {
  .lessen-details {
    grid-template-columns: 1fr;
  }
}

.btn {
  display: inline-block;
  padding: .8rem 2rem;
  background: var(--clr-accent);
  color: white;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  border: none;
  transition: background .2s, transform .2s;
}
.btn:hover {
  background: var(--clr-accent2);
  color: white;
  transform: translateY(-2px);
}


/* ============================================
   Contact / Footer
   ============================================ */
.section-contact {
  background: var(--clr-bg-dark);
  color: var(--clr-text-inv);
}
.section-contact .label-line {
  background: rgba(255,255,255,.2);
}
.section-contact .label-text {
  color: rgba(255,255,255,.4);
}
.section-contact .section-content h2 {
  color: var(--clr-text-inv);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.contact-block h4 {
  font-family: var(--ff-heading);
  font-size: .85rem;
  font-weight: 400;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .5rem;
}
.contact-block p {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
}
.contact-block a {
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: border-color .2s, color .2s;
}
.contact-block a:hover {
  color: white;
  border-color: rgba(255,255,255,.5);
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.footer-bottom p {
  font-size: .75rem;
  color: rgba(255,255,255,.25);
  letter-spacing: .08em;
}

@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* ============================================
   Lightbox
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 17, 14, .92);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: min(90vw, 1000px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 8px 60px rgba(0,0,0,.6);
  transition: opacity .25s ease, transform .25s ease;
}
.lightbox-img.transitioning {
  opacity: 0;
  transform: scale(.96);
}

.lightbox-caption {
  margin-top: 1.2rem;
  text-align: center;
  color: rgba(255,255,255,.75);
}
.lightbox-caption h3 {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 400;
  color: white;
  margin-bottom: .2rem;
}
.lightbox-caption p {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: color .2s, transform .2s;
  line-height: 1;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: white;
}

.lightbox-close {
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.2rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  padding: .5rem 1rem;
}
.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 600px) {
  .lightbox-prev { left: .25rem; }
  .lightbox-next { right: .25rem; }
}


/* ============================================
   Subtiele kunst-achtige accenten
   ============================================ */

/* Textuurachtige overlay op warme secties */
.section-kwartaal::before,
.section-lessen::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .02;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.section-kwartaal,
.section-lessen {
  position: relative;
}
