/* =========================================================
   GALLERY.CSS — Creative gallery (3x3 image grid + CTA)
   ========================================================= */

.gallery {
  padding: clamp(2.75rem, 5vw, 4rem) 1.5rem;
}

.gallery .section-head {
  margin-bottom: 2rem;
}

/* 3 columns desktop, 2 tablet, 1 mobile */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-light), var(--navy-light));
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

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

/* CTA row */
.gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Full gallery page variant */
.gallery-page .section-head {
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.gallery-grid-page {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

/* Lightbox gallery items — zoom-in cursor + hover hint */
.gallery-page .gallery-item {
  cursor: zoom-in;
}

.gallery-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  margin: 1.25rem 0 0;
}

.gallery-hint [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--green-dark);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    gap: 0.4rem;
  }
}
