/* Gallery Modal and Lightbox Styles */
.video-modal, .lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.video-modal-content, .lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-close, .lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.video-close:hover, .lightbox-close:hover {
  opacity: 0.7;
}

#videoFrame {
  width: 80vw;
  height: 45vw;
  max-width: 1200px;
  max-height: 675px;
}

#lightbox-img {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gallery-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

.gallery-overlay {
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-filter-modern {
  background: transparent;
  border: 2px solid var(--bs-primary);
  color: var(--bs-primary);
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 25px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-filter-modern:hover,
.gallery-filter-modern.active {
  background: var(--bs-primary);
  color: white;
}