/* gallery.css — styles for the Gallery page */

/* ========= Hero Banner ========= */
.gallery-hero {
  width: 100%;
  overflow: hidden;
  margin-bottom: 3rem;
}

.gallery-banner {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0 0 16px 16px;
}

/* ========= Gallery Grid Layout ========= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 5rem;
  padding: 2rem;
  font-family: 'Inter', sans-serif;
}

/* ========= Individual Image Card ========= */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

/* ========= Responsive Adjustments ========= */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    padding: 1rem;
  }
}
