/* Gallery Container */
.gallery-container {
  width: 100%;
  max-width: 1500px;
  padding: 20px;
  overflow-x: hidden;
}

/* Gallery Layout */
.gallery {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 10px;
}

/* Gallery Items */
.gallery-item,
.gallery-itembig {
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  filter: brightness(70%);
  object-fit: contain;
}

.gallery-item { height: 100px; }
.gallery-itembig { height: 180px; }

.gallery-item:hover,
.gallery-itembig:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  filter: brightness(100%);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Lightbox Image */
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* Video Wrapper */
.video-wrapper {
  display: none;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* Close Button */
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 40px;
  color: white;
  cursor: pointer;
      z-index: 2;
}

/* Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0);
  border: none;
  padding: 15px;
  border-radius: 50%;
  z-index: 2000;
  opacity: 0.8;
}
.nav-btn:hover { opacity: 1; }

.prev-btn { left: 20px; }
.prev-btn::before { content: '\2190'; font-size: 30px; }
.next-btn { right: 20px; }
.next-btn::before { content: '\2192'; font-size: 30px; }

/* Video Thumbnail Play Button Overlay */
.video-thumb {
  position: relative;
}
.video-thumb::after {
  content: '\25BA'; /* Play icon */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.video-thumb:hover::after {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-container { width: 90%; }
  .gallery-item { width: 180px; }
  .nav-btn { font-size: 30px; padding: 10px; }
}

@media (max-width: 768px) {
  .gallery { justify-content: center; gap: 15px; }
  .gallery-item { width: 150px; }
}

@media (max-width: 480px) {
  .gallery-item { width: 120px; }
  .nav-btn { font-size: 24px; padding: 10px; }
}


