/* =============================================
   gallery.css — Bento Gallery Styles
   ============================================= */

.gallery-header { margin-bottom: var(--spacing-xl); }

.gallery-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: rgba(255,255,255,0.12);
}
.gallery-item.tall { grid-row: span 2; }

.gallery-item img,
.gallery-item-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item-placeholder {
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item-placeholder i { font-size: 40px; color: rgba(255,255,255,0.25); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,27,62,0);
  transition: var(--transition-base);
}
.gallery-item:hover::after { background: rgba(13,27,62,0.45); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-placeholder-img { transform: scale(1.06); }

.gallery-zoom {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-base);
}
.gallery-zoom i { font-size: 32px; color: var(--color-white); }
.gallery-item:hover .gallery-zoom { opacity: 1; }

.gallery-more {
  margin-top: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}
