.gallery-page__hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  background: linear-gradient(135deg, #0a2420 0%, #113931 50%, #0d2e26 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}

.gallery-page__hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(194,157,93,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194,157,93,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

.gallery-page__hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
}

.gallery-page__eyebrow {
  font-size: 13px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.gallery-page__title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
}

.gallery-page__tabs-wrap {
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  overflow-x: auto;
}

.gallery-page__tabs {
  display: flex;
  gap: 0;
  min-width: max-content;
}

.gallery-page__tab {
  padding: 20px 32px;
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: -1px;
  white-space: nowrap;
}

.gallery-page__tab:hover { color: rgba(255,255,255,0.7); }

.gallery-page__tab--active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.gallery-page__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
}

.gallery-page__item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}

.gallery-page__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-page__item:hover img { transform: scale(1.05); }

.gallery-page__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,36,32,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-page__item:hover .gallery-page__item-overlay { opacity: 1; }


.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 28px;
  cursor: pointer;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gold);
  font-size: 64px;
  cursor: pointer;
  padding: 0 24px;
  line-height: 1;
}

.lightbox__prev { left: 0; }
.lightbox__next { right: 0; }

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .gallery-page__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-page__hero-content { padding: 0 24px; }
  .gallery-page__tabs-wrap { padding: 0 24px; }
}

@media (max-width: 500px) {
  .gallery-page__grid { grid-template-columns: 1fr; }
}
