/* 🌄 GALLERY SECTION */
.gallery-section {
  padding: 3rem 1.5rem;
  background-color: #f9fafb;
  min-height: 100vh;
}

.gallery-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
}

/* 🔘 Filter Buttons */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  background-color: #e5e7eb;
  border: none;
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background-color: #d1d5db;
}

.filter-btn.active {
  background-color: #2563eb;
  color: white;
}

/* 📅 Dropdown Filters */
.gallery-dropdowns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-dropdowns select {
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: white;
  font-size: 1rem;
  color: #1f2937;
  cursor: pointer;
}

/* 🖼️ Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

/* 🪟 Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 50;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  transition: transform 0.2s ease;
}

.close-lightbox:hover {
  transform: scale(1.2);
}

/* 📱 Responsive */
@media (max-width: 600px) {
  .gallery-title {
    font-size: 1.5rem;
  }

  .gallery-dropdowns {
    flex-direction: column;
    gap: 0.5rem;
  }

  .filter-btn {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }
}
