/* ==========================================
   SECTION
========================================== */
.about-gallery-section {
  padding: 60px 0;
}

/* CONTAINER */
.about-gallery-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* HEADER */
.about-gallery-header {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-title {
  font-size: 36px;
  margin-bottom: 10px;
  color: #222;
}

.gallery-subtitle {
  font-size: 15px;
  color: #777;
  max-width: 600px;
  margin: auto;
}

/* ==========================================
   MASONRY GRID (IMPROVED)
========================================== */
.about-gallery-grid {
  column-count: 3; /* was 4 → bigger images */
  column-gap: 20px;
}

/* ITEM */
.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* IMAGE */
.gallery-item img {
  width: 100%;
  height: auto; /* keeps full image visible */
  display: block;
  border-radius: 18px;
  transition: transform 0.6s ease, filter 0.4s ease;
}

/* HOVER EFFECT */
.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.06);
}

/* FLOAT EFFECT (premium feel) */
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1024px) {
  .about-gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .about-gallery-grid {
    column-count: 1;
  }
}