/* =============================================
   PHOTO GALLERY - photo-gallery.css
   ============================================= */

.site-header.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav-active-sub {
  color: var(--white) !important;
  background: rgba(255,255,255,0.08) !important;
}

/* PAGE HERO */
.page-hero {
  background: var(--navy-deep);
  padding: 160px 40px 80px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-eyebrow-sm {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 16px;
}
.page-hero-heading {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero-sub {
  font-family: var(--font-body);
  font-size: 20px;
  color: rgba(255,255,255,0.85);
}

/* ALBUMS */
.pg-section {
  background: var(--off-white);
  padding: 80px 0 100px;
}
.pg-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.pg-intro {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 40px;
}
.pg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pg-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pg-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(94, 15, 30, 0.14);
}
.pg-card-img {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--stone);
  overflow: hidden;
}
.pg-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s var(--ease);
}
.pg-card:hover .pg-card-img img { transform: scale(1.04); }
.pg-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px 22px;
  border-top: 3px solid var(--gold);
}
.pg-card-title {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
.pg-card-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-mid);
}
.pg-card-count {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke);
}
.pg-more {
  margin-top: 56px;
  padding: 40px;
  background: var(--rose);
  border-radius: 4px;
  text-align: center;
}
.pg-more p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* LIGHTBOX */
.pg-lightbox {
  border: none;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  padding: 0;
  margin: 0;
  color: var(--white);
}
.pg-lightbox::backdrop { background: rgba(42, 35, 37, 0.94); }
.pg-lightbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 72px;
}
.pg-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.pg-lb-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.4);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pg-lb-btn:hover { background: var(--navy); border-color: var(--white); }
.pg-lb-close { top: 16px; right: 16px; }
.pg-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.pg-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.pg-lb-count {
  position: absolute;
  bottom: 20px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

@media (max-width: 960px) {
  .pg-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 680px) {
  .page-hero { padding: 130px 24px 56px; }
  .pg-container { padding: 0 24px; }
  .pg-section { padding: 56px 0 72px; }
  .pg-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pg-card-body { padding: 14px 14px 16px; }
  .pg-card-title { font-size: 17px; }
  .pg-card-sub { font-size: 14px; }
  .pg-more { padding: 28px 20px; }
  .pg-lightbox-inner { padding: 72px 12px 56px; }
  .pg-lb-prev { left: 8px; top: auto; bottom: 8px; transform: none; }
  .pg-lb-next { right: 8px; top: auto; bottom: 8px; transform: none; }
}
