/* ===== Album Page — premium/modern gallery ===== */
.album-section {
  position: relative;
  padding: 90px 0 90px;
  background: #ffffff;
  overflow: hidden;
  color: #2a2621;
}

.album-section .glow-orb {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.album-section .glow-orb.one {
  top: -160px;
  left: -140px;
  background: #1e4847;
}

.album-section .glow-orb.two {
  bottom: -200px;
  right: -160px;
  background: #8fb8b3;
}

.album-section .auto-container {
  position: relative;
  z-index: 2;
}

.album-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.album-heading .sub-title {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 13px;
  color: #1e4847;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 14px;
}

.album-heading .sub-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: #1e4847;
}

.album-heading h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 54px;
  font-weight: 600;
  color: #1c1a17;
  margin-bottom: 18px;
}

.album-heading p {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(42, 38, 33, 0.65);
}

/* Filter tabs */
.album-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
}

.album-filters button {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 26px;
  background: transparent;
  border: 1px solid rgba(30, 72, 71, 0.3);
  color: #2a2621;
  cursor: pointer;
  border-radius: 30px;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

.album-filters button:hover {
  border-color: #1e4847;
  color: #1e4847;
}

.album-filters button.active {
  background: #1e4847;
  border-color: #1e4847;
  color: #ffffff;
}

/* Masonry grid via CSS columns */
.album-grid {
  column-count: 3;
  column-gap: 26px;
}

.album-item {
  break-inside: avoid;
  margin-bottom: 26px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(28, 26, 23, 0.06);
}

.album-item img,
.album-item video,
.album-item .album-youtube {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.album-item .album-youtube {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.album-item .album-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.album-item:hover img,
.album-item:hover video,
.album-item:hover .album-youtube {
  transform: scale(1.06);
}

.album-item .item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 72, 71, 0) 40%,
    rgba(20, 40, 39, 0.85) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.album-item:hover .item-overlay {
  opacity: 1;
}

.album-item .item-overlay .cat {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8fb8b3;
  margin-bottom: 6px;
}

.album-item .item-overlay .cap {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  color: #ffffff;
}

.album-item .zoom-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e4847;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.album-item:hover .zoom-icon {
  opacity: 1;
  transform: translateY(0);
}

.album-item.hide-item {
  display: none;
}

/* Lightbox */
.album-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 20, 19, 0.92);
  backdrop-filter: blur(6px);
}

.album-lightbox.is-open {
  display: flex;
}

.album-lightbox .lb-stage {
  position: relative;
  max-width: 88vw;
  max-height: 84vh;
}

.album-lightbox .lb-stage img,
.album-lightbox .lb-stage video,
.album-lightbox .lb-stage iframe {
  display: block;
  max-width: 88vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.album-lightbox .lb-stage iframe {
  width: min(88vw, 960px);
  height: min(78vh, 540px);
  border: 0;
  background: #000;
}

.album-lightbox .lb-stage video[hidden],
.album-lightbox .lb-stage img[hidden],
.album-lightbox .lb-stage iframe[hidden] {
  display: none;
}

.album-lightbox .lb-caption {
  text-align: center;
  margin-top: 18px;
  font-family: "Manrope", sans-serif;
  color: #f4f8f7;
}

.album-lightbox .lb-caption .cat {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8fb8b3;
  margin-bottom: 6px;
}

.album-lightbox .lb-caption .cap {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: #ffffff;
}

.album-lightbox .lb-close,
.album-lightbox .lb-nav {
  position: fixed;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.album-lightbox .lb-close:hover,
.album-lightbox .lb-nav:hover {
  background: #1e4847;
  border-color: #1e4847;
}

.album-lightbox .lb-close {
  top: 30px;
  right: 30px;
}

.album-lightbox .lb-prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.album-lightbox .lb-next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.album-lightbox .lb-counter {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(244, 248, 247, 0.6);
}

@media (max-width: 991px) {
  .album-section {
    padding: 48px 0 52px;
  }

  .album-grid {
    column-count: 2;
  }
}

@media (max-width: 575px) {
  .album-section {
    padding: 32px 0 36px;
  }

  .album-grid {
    column-count: 1;
  }

  .album-heading h1 {
    font-size: 38px;
  }

  .album-lightbox .lb-prev,
  .album-lightbox .lb-next {
    width: 40px;
    height: 40px;
  }

  .album-lightbox .lb-close {
    top: 16px;
    right: 16px;
  }

  .album-lightbox .lb-prev {
    left: 10px;
  }

  .album-lightbox .lb-next {
    right: 10px;
  }
}
