/* lightbox.css */
#lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox-overlay.active {
  display: flex;
}

#lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 0 20px #fff;
  border-radius: 8px;
  position: relative;
}

#lightbox-caption {
  color: #fff;
  margin-top: 10px;
  text-align: center;
  font-family: Arial, sans-serif;
}

#lightbox-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

#lightbox-prev,
#lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  transition: background 0.3s;
}

#lightbox-prev:hover,
#lightbox-next:hover {
  background: rgba(255,255,255,0.3);
}

#lightbox-prev {
  left: 20px;
}

#lightbox-next {
  right: 20px;
}
