/* Glass card for dark theme */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Fade-in animation for glass cards */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

/* Achtergrond pseudo-element */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%) blur(4px) brightness(0.4);
  z-index: -1;
  opacity: 0.9;
  transition: background-image 0.8s ease-in-out;
}

/* Boekkaft kaarten */
.boekkaft-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  overflow: hidden;
  padding: 1rem;
  box-shadow: 0 8px 30px rgba(255,255,255,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.boekkaft-card img {
  display: block;
  max-width: 100%;
  max-height: 550px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.25s ease;
  border-radius: 0.5rem;
}

.boekkaft-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(255,255,255,0.08);
}

/* Lightbox overlay */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

#lightbox:not(.hidden) {
  display: flex;
}

#lightbox img {
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.15);
  transition: transform 0.3s ease;
}

/* Fade effect bij openen/sluiten */
#lightbox {
  transition: opacity 0.3s ease;
}
