/* ==========================================
   GALLERY SECTION
========================================== */

.about-gallery-section {
  position: relative;
  padding: 30px 0;
  overflow: hidden;
}

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

/* HEADER */
.about-gallery-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.gallery-title {
  font-size: 34px;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.gallery-subtitle {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ==========================================
   GRID
========================================== */

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

/* ITEM */
.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* IMAGE */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* HOVER ZOOM */
.gallery-item:hover img {
  transform: scale(1.1);
}

/* INFO OVERLAY */
.gallery-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 14px;
  background: none;
  color: #fff;
  transform: translateY(10px);
  transition: 0.3s;
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

/* CATEGORY TAG */
.gallery-info span {
  font-size: 11px;
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 6px;
}

/* TITLE */
.gallery-info h4 {
  font-size: 14px;
  font-weight: 600;
}

/* SIZE VARIANTS */
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

/* ==========================================
   FLOATING LEAVES
========================================== */

.gallery-leaf {
  position: absolute;
  width: 60px;
  height: 60px;
  background: url('/assets/images/leaf.png') no-repeat center/contain;
  opacity: 0.25;
  animation: floatLeaf 7s ease-in-out infinite;
}

.leaf-1 { top: 15%; left: 5%; }
.leaf-2 { bottom: 10%; right: 5%; }

@keyframes floatLeaf {
  0% { transform: translateY(0); }
  50% { transform: translateY(-18px) rotate(8deg); }
  100% { transform: translateY(0); }
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1024px) {
  .about-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .about-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.large,
  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}