/* ======== GALLERY SECTION ======== */
.gallery-section {
  padding: 50px 0;
  background: #f7f7f7;
}

.gallery-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 5px;
  color: #222;
}

.gallery-text {
  text-align: center;
  color: #666;
  margin-bottom: 25px;
}

/* Filter Buttons */
.gallery-filters {
  text-align: center;
  margin-bottom: 30px;
}

.filter-btn {
  background: white;
  border: 1px solid #ddd;
  padding: 8px 18px;
  margin: 5px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #0a1c48;
  color: white;
  border-color: #0a1c48;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  gap: 16px;
}

/* Responsive Columns */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (min-width: 600px) and (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Gallery Item */
.gallery-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #eee;
  transition: 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.gallery-item h4 {
  padding: 10px;
  margin: 0;
  text-align: center;
  font-size: 16px;
  color: #222;
}

.hidden {
  display: none;
}

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

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 45px;
  cursor: pointer;
}
