/* gallery.css */

.gallery-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

.gallery-section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  font-family: 'Marcellus', serif;
  color: #444;
}

.gallery-category {
  margin-bottom: 50px;
}

.gallery-category h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2c3e50;
  text-transform: capitalize;
  border-left: 4px solid #2f9c5b;
  padding-left: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gallery-grid a:hover {
  transform: scale(1.03);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .gallery-section h2 {
    font-size: 26px;
  }

  .gallery-category h3 {
    font-size: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}
