/* css/gallery.css - Gallery page specific styles */

/* PAGE HERO */
.page-hero {
  padding-top: 72px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,34,64,0.85) 0%, rgba(10,34,64,0.3) 60%, transparent 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 80px;
}
@media (max-width: 900px) {
  .page-hero-content {
    padding: 60px 28px;
  }
}
.page-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 20px;
}
.page-h1 em {
  font-style: italic;
  color: var(--gold);
}
.page-sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  line-height: 1.75;
}

/* FILTER BAR */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 80px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  position: sticky;
  top: 72px;
  z-index: 100;
  scrollbar-width: thin;
}
@media (max-width: 900px) {
  .filter-bar {
    padding: 0 20px;
  }
}
.filter-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 18px 24px;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--trans), border-color var(--trans);
}
.filter-btn:hover,
.filter-btn.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* GALLERY SECTION */
.gallery-section {
  padding: 80px 80px;
  background: var(--light);
}
@media (max-width: 900px) {
  .gallery-section {
    padding: 48px 20px;
  }
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 4px;
}
@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}
@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform var(--trans), box-shadow var(--trans);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 34, 64, 0.12);
  z-index: 5;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 34, 64, 0.9) 0%, transparent 100%);
  padding: 20px 16px 12px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}
.gallery-caption {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.gallery-location {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.gallery-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
}

/* LIGHTBOX MODAL */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 34, 64, 0.96);
  z-index: 2000;
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.lightbox.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.lightbox-caption {
  background: rgba(10, 34, 64, 0.9);
  margin-top: 16px;
  padding: 20px 28px;
  border-radius: 8px;
  max-width: 90%;
  text-align: center;
  border-left: 4px solid var(--gold);
}
.lb-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.lb-description {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 8px;
}
.lb-location {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--white);
  cursor: pointer;
  transition: color var(--trans);
  z-index: 2001;
}
.lightbox-close:hover {
  color: var(--gold);
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
  transition: background var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
}
.lightbox-prev {
  left: 24px;
}
.lightbox-next {
  right: 24px;
}
@media (max-width: 700px) {
  .lightbox-prev,
  .lightbox-next {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-close { top: 12px; right: 16px; font-size: 28px; }
  .lb-title { font-size: 18px; }
  .lb-description { font-size: 12px; }
  .lightbox-caption { padding: 16px 20px; }
}

/* STATS BAND */
.stats-band {
  background: var(--navy);
  padding: 72px 80px;
}
@media (max-width: 900px) {
  .stats-band {
    padding: 60px 28px;
  }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat-block {
  background: var(--navy);
  padding: 48px 32px;
  text-align: center;
}
.stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1;
}
.stat-n em {
  font-style: italic;
  color: var(--gold);
}
.stat-l {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: block;
  margin-top: 8px;
}

/* CTA BAND */
.cta-band {
  background: var(--gold);
  padding: 72px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .cta-band {
    padding: 52px 28px;
    flex-direction: column;
    text-align: center;
  }
}
.cta-band-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--white);
}
.cta-band-h em {
  font-style: italic;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--navy);
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--white);
  transition: background var(--trans), color var(--trans);
}
.btn-white:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-outline-w {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color var(--trans), color var(--trans);
}
.btn-outline-w:hover {
  border-color: var(--white);
  color: var(--white);
}
.arr::after {
  content: ' →';
  display: inline-block;
  transition: transform 0.2s;
}
.arr:hover::after {
  transform: translateX(4px);
}

/* SCROLL REVEAL */
.rev {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s, transform 0.6s;
}
.rev.in {
  opacity: 1;
  transform: translateY(0);
}