/* ===============================
   GALLERY – LUXURY MASONRY
================================ */
.gallery-page {
  padding: 90px 20px;
  background: #f7f5f0;
}

.container {
  max-width: 1300px;
  margin: auto;
}

/* INTRO */
.gallery-intro {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-intro .heritage {
  color: #ac8a17;
  font-weight: 600;
  letter-spacing: 1px;
}

.gallery-intro h1 {
  font-size: 42px;
  color: #0f5c4c;
}

/* FILTERS */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  border: 1px solid #ac8a17;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: #ac8a17;
  color: #fff;
}

/* MASONRY */
.gallery-masonry {
  column-count: 4;
  column-gap: 22px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 22px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img,
.video-thumb {
  width: 100%;
  border-radius: 14px;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

/* VIDEO */
.video-thumb {
  position: relative;
  background: #000;
  padding-top: 56%;
}

.play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 50px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
}

/* LIGHTBOX */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay iframe,
.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

/* CTA */
.gallery-cta {
  text-align: center;
  margin-top: 80px;
}

.btn-primary {
  background: #ac8a17;
  color: #fff;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .gallery-masonry {
    column-count: 2;
  }
}
@media (max-width: 600px) {
  .gallery-masonry {
    column-count: 1;
  }
}
