/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--gold);
}

.lightbox-close {
  top: -40px;
  right: -10px;
  font-size: 30px;
}

.lightbox-prev {
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
}

.lightbox-next {
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .lightbox-prev {
    left: 5px;
    font-size: 36px;
  }

  .lightbox-next {
    right: 5px;
    font-size: 36px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    position: fixed;
  }
}
