.event-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
}


.container p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

/* GALLERY SECTION */
.gallery-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.gallery-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

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

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 85%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #ccc;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Tablet */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item img { height: 200px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* Mobile */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item img { height: 220px; }
}

.event-section {
    padding: 40px 20px;
    background-color: #f9f9f9; /* Optional: light background to define the section */
}

.container {
    text-align: center; /* Centers the text inside */
}

.container p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}