/* Image lightbox */
.image-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox-inner {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  cursor: default;
}

.image-lightbox-inner img {
  max-width: 95vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-lightbox-caption {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 16px;
  font-size: 0.95rem;
}

.image-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.image-lightbox-close:hover {
  background: rgba(0, 212, 255, 0.3);
}

.image-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.image-lightbox-nav:hover {
  background: rgba(0, 212, 255, 0.3);
}

.image-lightbox-prev { left: -56px; }
.image-lightbox-next { right: -56px; }

@media (max-width: 768px) {
  .image-lightbox-prev { left: 10px; top: auto; bottom: -50px; transform: none; }
  .image-lightbox-next { right: 10px; top: auto; bottom: -50px; transform: none; }
  .image-lightbox-inner { padding-bottom: 50px; }
}
