/* ============================================================
   gallery.css — Gallery Page Specific Styles
   ============================================================ */

/* ── Gallery Grid (Masonry) ── */
.gallery-grid {
  columns: 3;
  column-gap: var(--space-md);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

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

/* Hover overlay */
.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  background: rgba(13, 148, 136, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-lg);
}

.gallery-item:hover::after {
  opacity: 1;
}


/* ── Virtual Tour CTA ── */
.virtual-tour-cta {
  padding: var(--space-3xl) 0;
  text-align: center;
  background: var(--clr-bg-teal-tint);
  border-radius: var(--radius-xl);
  margin-top: var(--space-3xl);
}

.virtual-tour-cta h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.virtual-tour-cta p {
  color: var(--clr-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}


/* ── Responsive ── */
@media (max-width: 1024px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    columns: 1;
  }
}
