/* Gallery Modal Styles */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}
.gallery-close {
  color: white;
  font-size: 2rem;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 10px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 90%;
  max-width: 700px;
}
.gallery-thumb {
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-thumb:hover {
  transform: scale(1.001);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
}
.lightbox .close, .lightbox .prev, .lightbox .next {
  position: absolute;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  background: transparent;
}
.lightbox .close { top: 20px; right: 30px; }
.lightbox .prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 20px; top: 50%; transform: translateY(-50%); }

.event-btn{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.no-scroll {
  overflow: hidden;
}

.images-container {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}


.images-container .gallery-thumb:hover {
  transform: scale(1.05);
}


.images-container img {
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}





.videos-container {
  display: grid;
  grid-template-columns: repeat(2,auto);
  gap: 1rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Iframe inside wrapper */
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}


@media screen and (max-width: 768px) {

  .images-container {
    grid-template-columns: repeat(2,1fr);
  }

  .images-container img {
    height: 120px;
  }
  .modal-inner{
    padding:10px;
    width: 100%;
  }
  .videos-container {
    display: grid;
    grid-template-columns: repeat(1,auto);
  }
  .lightbox .close, .lightbox .prev, .lightbox .next{
    font-size: 0.5rem;
    border: 1px solid white;
  }
}