/* Lightbox modal styles */
.lightbox-trigger {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.lightbox-trigger:hover {
  opacity: 0.9;
}

.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 10000;
  background: none;
  border: none;
  padding: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 35px;
  }

  .lightbox-content {
    max-width: 98%;
    max-height: 98%;
  }
}
