/* Lightbox Styles */

/* Basic Lightbox Modal */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#lightbox.flex {
  display: flex;
}

#lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
}

#lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 1rem;
  font-size: 1.125rem;
}

/* Media Lightbox */
.media-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.media-lightbox.active {
  display: flex;
}

.media-lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.media-lightbox-close {
  position: absolute;
  top: -4rem;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.media-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-brand-yellow);
}

.media-lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
}

.media-lightbox-video {
  width: 100%;
  max-width: 1200px;
  min-width: 800px;
  aspect-ratio: 16/9;
  border-radius: 0.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.media-lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
} 