/* Lightbox CSS */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 24, 0.94);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  user-select: none;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 14px;
  text-align: center;
  letter-spacing: 0.5px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 1010;
  transition: color 0.2s;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.lightbox-close:hover {
  color: #ff8a00;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 1010;
  transition: all 0.25s;
}

.lightbox-nav:hover {
  background: #ff8a00;
  border-color: #ff8a00;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

@media (max-width: 768px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-close { top: 12px; right: 12px; }
}

