@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&display=swap');

:root {
  --background: #000;
  --text: #fff;
  --text-muted: rgba(255, 255, 255, 0.82);
  --border-strong: rgba(255, 255, 255, 0.25);
  --border-light: rgba(255, 255, 255, 0.12);
  --panel-bg: rgba(255, 255, 255, 0.04);
  --panel-hover: rgba(255, 255, 255, 0.12);
  --nav-divider: rgba(255, 255, 255, 0.35);
  --shadow: rgba(0, 0, 0, 0.08);
}

html {
  width: 100%;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
}

.site-header {
  position: relative;
  background: var(--background);
  padding: 1rem 0;
  text-align: center;
  box-shadow: 0 2px 8px var(--shadow);
}

.site-header::after {
  content: "";
  display: block;
  width: 98%;
  height: 1px;
  margin: 0.75rem auto 0;
  background: var(--border-strong);
}

.nav-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.nav-button {
  display: inline-block;
  padding: 0.75rem 0.9rem;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  border: none;
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 2vw, 1.3rem);
  transition: color 0.2s ease;
}

.nav-buttons > * + * {
  border-left: 1px solid var(--nav-divider);
  padding-left: 1.5rem;
}

.nav-button:hover,
.nav-dropdown:hover > .nav-button,
.nav-button.active,
.dropdown-menu a.active {
  color: #ddd;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 190px;
  background: rgba(0, 0, 0, 0.98);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.5rem 0;
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 0);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  transition: background 0.2s ease;
  position: relative;
}

.dropdown-menu a:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.dropdown-menu a:hover {
  background: var(--panel-hover);
}


.hero-section {
  position: relative;
  width: 100%;
}

.hero-section img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-text {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cinzel', serif;
  font-size: 100px;
  color: #fff;
  margin: 0;
  line-height: 1;
  text-align: center;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.7), -4px -4px 4px rgba(0, 0, 0, 0.7), 3px -3px 8px rgba(0, 0, 0, 0.7), -3px 3px 8px rgba(0, 0, 0, 0.7);
}

img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.site-footer {
  background: var(--background);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-family: Arial, sans-serif;
}

@media (max-width: 720px) {
  .nav-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .nav-button {
    width: 100%;
    max-width: 420px;
    font-size: 1.2rem;
    padding: 1rem 0.75rem;
    text-align: center;
  }

  .nav-button + .nav-button {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    padding-left: 1.25rem;
  }

  .hero-text {
    font-size: 2.5rem;
    top: 50%;
  }

  .gallery-grid.bosbomen-grid {
    grid-template-columns: 1fr;
  }
}

.page-content {
  flex: 1;
  margin: 0 2%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-content.page-top {
  justify-content: flex-start;
  padding-top: 1rem;
}

.page-layout {
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 1800px;
  gap: 2rem;
}

.page-layout.centered {
  justify-content: center;
}

.page-layout.centered .content-panel {
  flex: 0 1 1600px;
}

.page-layout.centered .content-panel.bio-content-left {
  flex: 0 1 1400px;
  max-width: 1400px;
}

.bio-content.bio-content-left {
  max-width: 1400px;
}

.page-layout.centered .bio-content {
  text-align: center;
}

.bio-content.bio-content-left,
.bio-content.bio-content-left .bio-text {
  text-align: left;
}

.side-menu {
  flex: 0 0 240px;
  width: 240px;
  background: var(--panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem;
}

.side-menu h2 {
  margin: 0 0 1rem;
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.side-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.side-menu-link {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.2s ease, color 0.2s ease;
}

.side-menu-link:hover,
.side-menu-link.active {
  background: var(--panel-hover);
}

.content-panel {
  flex: 1;
}

.contact-details {
  font-family: 'Cinzel', serif;
  color: var(--text);
}

.contact-details a {
  color: #ffeeaa;
  text-decoration: underline;
}

.contact-details a:hover,
.contact-page a:hover {
  color: #ffffff;
}

.contact-page a {
  color: #ffeeaa;
  text-decoration: underline;
}

.bio-content {
  width: 100%;
  max-width: 860px;
  color: var(--text);
  text-align: left;
}

.bio-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 2rem;
  align-items: start;
}

.bio-text {
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  padding-left: 1.5rem;
}

.bio-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.bio-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  display: block;
}

.page-title-centered {
  text-align: center;
  font-weight: 400;
}

@media (max-width: 900px) {
  .page-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .bio-layout {
    grid-template-columns: 1fr;
  }

  .bio-image {
    justify-content: center;
  }

  .side-menu {
    width: 100%;
  }
}


.bio-content h1 {
  margin-top: 0;
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
}

.bio-body {
  margin-top: 1rem;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #eee;
}

.keramiek-section {
  width: 100%;
  margin-top: 2.5rem;
}

.keramiek-section h2 {
  margin: 0 0 1rem;
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  text-align: center;
}

.contact-page {
  width: 100%;
  max-width: 840px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.contact-page h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: 0.06em;
}

.contact-page .intro {
  margin: 0 0 2rem;
  font-family: Arial, sans-serif;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.contact-field {
  display: grid;
  gap: 0.6rem;
}

.contact-field label {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  font-family: Arial, sans-serif;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-field input {
  min-height: 2.75rem;
}

.contact-field textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.contact-actions {
  display: flex;
  justify-content: flex-start;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: none;
  border-radius: 999px;
  background: #ffe8a3;
  color: #111;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-button:hover {
  background: #fff2c6;
  transform: translateY(-1px);
}

.contact-button:active {
  transform: translateY(0);
}

@media (max-width: 720px) {
  .contact-page {
    padding: 1.5rem;
  }

  .contact-button {
    width: 100%;
  }
}

.keramiek-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.keramiek-slider-track {
  width: 100%;
  max-width: 950px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.keramiek-slider-track::before {
  content: '◀ Klik links / rechts ▶';
  position: absolute;
  inset: auto 0 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  pointer-events: none;
  letter-spacing: 0.08em;
}

.keramiek-slide {
  display: none;
  width: 100%;
}

.keramiek-slide.active {
  display: block;
}

.keramiek-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}


.bio-body p {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.painting-gallery {
  color: #fff;
  max-width: 1920px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-height: 0;
}

.painting-gallery h2 {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  flex: 1;
  min-height: 0;
  grid-auto-rows: 1fr;
}

.gallery-grid.bosbomen-grid,
.gallery-grid.bloemen-grid,
.gallery-grid.stadsgezichten-grid,
.gallery-grid.wadwaterluchten-grid {
  display: block;
  column-count: 2;
  column-gap: 1.5rem;
}

.gallery-grid.bosbomen-grid .gallery-card,
.gallery-grid.bloemen-grid .gallery-card,
.gallery-grid.stadsgezichten-grid .gallery-card,
.gallery-grid.wadwaterluchten-grid .gallery-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 1.5rem;
  vertical-align: top;
  break-inside: avoid;
}

.gallery-grid.bosbomentest-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto 4rem;
}

.gallery-grid.bosbomentest-grid .gallery-card {
  width: 100%;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.gallery-card-inner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.gallery-card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
}

.gallery-card-title {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-card-size {
  color: rgba(255, 255, 255, 0.82);
}

.gallery-grid.bosbomentest-grid img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  display: block;
  border: none;
  box-shadow: none;
}

.gallery-grid.bosbomentest-grid .gallery-card img:hover {
  transform: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  z-index: 100;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: calc(100vw - 4rem);
  max-height: calc(100vh - 4rem);
  width: 100%;
  margin: auto;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: min(60vw, calc(100vw - 28rem));
  max-height: calc(100vh - 4rem);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

.lightbox-info {
  color: #fff;
  max-width: 24rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lightbox-info h3 {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  line-height: 1.1;
}

.lightbox-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .lightbox-content {
    flex-direction: column;
    align-items: stretch;
  }

  .lightbox img {
    max-width: 100%;
  }
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 1280px) {
  .gallery-grid.bosbomentest-grid {
    max-width: 920px;
  }
}

@media (max-width: 900px) {
  .gallery-grid.bosbomentest-grid {
    max-width: 100%;
  }
}

.gallery-card:hover {
  filter: brightness(1.03);
}

.gallery-label {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.gallery-grid.bosbomen-grid .gallery-card img,
.gallery-grid.bloemen-grid .gallery-card img,
.gallery-grid.stadsgezichten-grid .gallery-card img,
.gallery-grid.wadwaterluchten-grid .gallery-card img {
  object-fit: contain;
  height: auto;
}

.gallery-card img:hover {
  transform: scale(1.04);
  transition: transform 0.3s ease;
}

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
