/* ============ GALLERY HERO ============ */
.gallery-hero {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-hero-overlay {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.gallery-hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.gallery-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  width: 100%;
}

.gallery-hero-inner h1 {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.gallery-hero-inner p {
  font-size: 16px;
  color: var(--white);
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ GALLERY GRID SECTION ============ */
.gallery-grid-section {
  padding: 60px 0;
  background: var(--white);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-masonry-item {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gallery-masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .gallery-hero-inner h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .gallery-hero-inner h1 {
    font-size: 30px;
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .gallery-hero-inner h1 {
    font-size: 26px;
  }

  .gallery-masonry {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
