/* Gallery Section */

.h2 {
  font-size: 45px;
  color: goldenrod;
  font-weight: 900;
}

.gallery-section {
  background-color: #f9f9f9;
  padding: 50px 0;
}

.gallery-item {
  border: 5px solid #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* Image Grid Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.gallery-item {
  border: 4px solid #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.lightbox.show {
  display: flex;
  animation: fadeIn 0.5s forwards;
}

.lightbox.hide {
  animation: fadeOut 0.5s forwards;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox .close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.video-section {
  margin-bottom: 30px;
  background-color: #ffffff;
  padding: 50px 0;
}

.video-section .h2 {
  font-size: 45px;
  color: goldenrod;
  font-weight: 900;
  margin-bottom: 50px;
}

.video-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;
  background-color: transparent;
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-item video {
  width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
  filter: brightness(1.05) contrast(1.05);
  max-width: 100%;
}

/* Desktop - Large screens (1200px and above) */
@media (min-width: 1200px) {
  .video-section {
    padding: 60px 0;
  }
  
  .video-section .h2 {
    margin-bottom: 60px;
  }
  
  .video-item {
    margin-bottom: 40px;
    border-radius: 16px;
  }
  
  .video-item video {
    max-height: 500px;
    border-radius: 16px;
  }
}

/* Tablet/Medium screens (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .video-section {
    padding: 45px 0;
  }
  
  .video-section .h2 {
    font-size: 40px;
    margin-bottom: 45px;
  }
  
  .video-item {
    margin-bottom: 35px;
    border-radius: 15px;
  }
  
  .video-item video {
    max-height: 550px;
    border-radius: 15px;
  }
}

/* Small devices (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .video-section {
    padding: 35px 0;
  }
  
  .video-item {
    margin-bottom: 25px;
    border-radius: 13px;
  }
  
  .video-item video {
    max-height: 420px;
    border-radius: 13px;
  }
}

/* Mobile - Small phones (below 576px) */
@media (max-width: 575px) {
  .video-section {
    padding: 30px 0;
  }
  
  .video-section .h2 {
    font-size: 32px;
    margin-bottom: 25px;
  }
  
  .video-item {
    margin-bottom: 18px;
    border-radius: 12px;
  }
  
  .video-item video {
    max-height: 340px;
    border-radius: 12px;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


@keyframes fadeOut {
  0% {
     opacity: 1; 
    }
  100% {
     opacity: 0;
   }
}
@media (max-width: 550px){

.hero-section .display-4 {
  font-size: 40px;
  font-family: 'Cinzel', serif;
}
  .hero-section .lead {
  font-size: 1rem;
  font-family: 'Cinzel', cursive;
}
}