/* ===========================
   CELEBRATO EVENTS — gallery.css
   =========================== */

/* FILTER BAR */
.filter-bar {
  position: sticky;
  top: 72px;
  z-index: 100;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.filter-bar .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.filter-btn.active,
.filter-btn:hover {
  color: #080808;
  background: var(--gold);
  border-color: var(--gold);
}

/* MASONRY GRID */
.gallery-section {
  padding: var(--space-lg) 0 var(--space-xl);
}
.gallery-section .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}
.gallery-grid {
  columns: 3;
  column-gap: 1rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  aspect-ratio: unset;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay .zoom-icon {
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.gallery-overlay .category-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 0.3rem 0.9rem;
  border-radius: 2px;
}

/* Hidden items */
.gallery-item.hidden {
  display: none;
}
.gallery-item.filtered-out {
  display: none;
}

/* Load More */
.load-more-wrap {
  text-align: center;
  margin-top: var(--space-md);
}

/* Instagram CTA */
.gallery-insta-cta {
  padding: var(--space-lg) 0;
  background: var(--bg-secondary);
  text-align: center;
  border-top: 1px solid var(--border);
}
.gallery-insta-cta .container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}
.gallery-insta-cta p { color: var(--text-secondary); margin-bottom: 1rem; font-size: 1rem; }
.insta-handle {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-grid { columns: 2; }
  .filter-bar { top: 60px; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
}
