/* Section Styles */
#celebration-events {
  padding: 100px 20px;
  margin-top: 0px;
  background: linear-gradient(#fff);
  font-family: 'Roboto', sans-serif;
  text-align: center;
}

#celebration-events h2 {
  font-size: 2.5rem;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  color:#444;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
}

#celebration-events p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 50px;
}
.gallery-grid {
  column-count: 4;
  column-gap: 15px;
  /* fix footer overlap */
  overflow: auto; /* ensures container expands to tallest column */
  padding-bottom: 20px;
}

/* Masonry Gallery Grid */
.gallery-grid {
  column-count: 4;
  column-gap: 15px;
}

@media (max-width: 1200px) { .gallery-grid { column-count: 3; } }
@media (max-width: 900px)  { .gallery-grid { column-count: 2; } }
@media (max-width: 600px)  { .gallery-grid { column-count: 1; } }

.gallery-item {
  position: relative;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 15px;
  break-inside: avoid;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 15px;
  background: #0a3d62;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  text-align: center;
  padding-top: 60px;
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}
.lightbox .close {
  position: absolute;
  top: 20px; right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.lightbox .close:hover {
  color: #ff4444;
}
