* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #111;
  color: #fff;
}

/* Laat de fotoroll de volledige breedte pakken */
.photo-carousel {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 75vh;      /* GROTERE HOOGTE */
  max-height: 800px; /* Meer ruimte op grote schermen */
}

.carousel-image {
  position: absolute;
  max-width: 85%;    /* GROTERE BREEDTE */
  max-height: 100%;
  opacity: 0;
  transform: scale(0.5);
  filter: blur(2px);
  transition: 0.3s ease;
  border-radius: 16px;
  cursor: zoom-in;
  object-fit: cover;
}

/* Grote foto in het midden */
.carousel-image.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  z-index: 3;
}

/* Linker kleine foto */
.carousel-image.left {
  opacity: 0.7;
  transform: translateX(-35%) scale(0.7); /* Iets groter */
}

/* Rechter kleine foto */
.carousel-image.right {
  opacity: 0.7;
  transform: translateX(35%) scale(0.7);
}

/* Verberg alle andere foto's verder weg */
.carousel-image.hidden {
  opacity: 0;
  transform: scale(0.4);
}

.carousel-btn {
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 99px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lightbox overlay (full screen) */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 999;
}

.lightbox-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

#lightbox-image {
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}


.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Mobiel: iets lagere hoogte en bredere foto */
@media (max-width: 768px) {
  .carousel-track {
    height: 60vh;
  }

  .carousel-image {
    max-width: 95%;
  }

  .carousel-image.left {
    transform: translateX(-28%) scale(0.65);
  }

  .carousel-image.right {
    transform: translateX(28%) scale(0.65);
  }
}
