/* ═══════════════════════════════════════════
   GALLERY ALBUM — shared styles
   Pure CSS file — JS is in gallery-shared.js
═══════════════════════════════════════════ */

/* ── ALBUM HERO ── */
.album-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 60%, var(--blue) 100%);
  padding: 5rem 6vw 4rem;
  position: relative; overflow: hidden;
}
.album-hero-orb {
  position: absolute; right: -80px; top: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,212,240,0.18), transparent 70%);
  pointer-events: none;
}
.album-breadcrumb {
  font-size: 0.73rem; color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.2rem; font-family: 'Plus Jakarta Sans', sans-serif;
}
.album-breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.album-breadcrumb a:hover { color: var(--gold); }
.album-hero-body {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 2rem; position: relative; z-index: 1;
}
.album-hero h1 {
  font-family: 'Lora', serif; font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff; font-weight: 600;
}
.album-hero h1 em { color: var(--gold); font-style: italic; }
.album-hero-desc {
  color: rgba(255,255,255,0.72); font-size: 0.95rem; font-weight: 300;
  max-width: 520px; margin-top: 0.8rem; line-height: 1.8;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.album-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.album-stat {
  text-align: center; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 0.9rem;
  padding: 0.8rem 1.4rem;
}
.album-stat-num {
  font-family: 'Lora', serif; font-size: 1.5rem; color: #fff;
  font-weight: 600; line-height: 1;
}
.album-stat-label {
  font-size: 0.62rem; color: rgba(255,255,255,0.55); text-transform: uppercase;
  letter-spacing: 0.1em; font-family: 'Plus Jakarta Sans', sans-serif; margin-top: 0.2rem;
}

/* ── ABOUT SECTION ── */
.album-about {
  background: var(--white);
  padding: 4.5rem 6vw;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.album-about-text h2 {
  font-family: 'Lora', serif; font-size: 1.8rem; color: var(--navy); margin-bottom: 1rem;
}
.album-about-text h2 em { font-style: italic; color: var(--blue); }
.album-about-text p {
  font-size: 0.92rem; color: var(--text-mid); line-height: 1.85;
  font-weight: 300; margin-bottom: 0.8rem;
}
.album-highlight-box {
  background: var(--sky); border-radius: 1.25rem; padding: 2rem;
  border: 1px solid var(--border);
}
.highlight-items { display: flex; flex-direction: column; gap: 1rem; }
.highlight-item { display: flex; gap: 1rem; align-items: flex-start; }
.hi-icon {
  width: 40px; height: 40px; border-radius: 0.65rem; background: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  flex-shrink: 0; box-shadow: 0 2px 8px rgba(13,61,110,0.08);
}
.hi-text h4 { font-family: 'Lora', serif; color: var(--navy); font-size: 0.95rem; margin-bottom: 0.2rem; }
.hi-text p { font-size: 0.8rem; color: var(--text-mid); line-height: 1.6; font-weight: 300; }

/* ── PHOTO GRID ── */
.photo-section { padding: 5rem 6vw; background: var(--offwhite); }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 2.5rem;
}

/* Emoji placeholder items (other album pages) */
.photo-item {
  border-radius: 1rem; overflow: hidden; cursor: pointer;
  position: relative; background: var(--sky-mid);
  transition: transform 0.3s, box-shadow 0.3s; aspect-ratio: 1;
}
.photo-item.tall { grid-row: span 2; aspect-ratio: auto; min-height: 260px; }
.photo-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.photo-item:hover { transform: scale(1.025); box-shadow: var(--shadow-md); z-index: 2; }
.photo-item-inner {
  width: 100%; height: 100%; min-height: 150px;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.photo-emoji { font-size: 3rem; opacity: 0.45; transition: opacity 0.3s, transform 0.3s; }
.photo-item:hover .photo-emoji { opacity: 0.65; transform: scale(1.1); }

/* Real image items (gallery-events) */
.photo-item-real {
  border-radius: 1rem; overflow: hidden; cursor: pointer;
  position: relative; background: var(--navy);
  transition: transform 0.3s, box-shadow 0.3s;
  aspect-ratio: 4/3;
}
.photo-item-real.tall { grid-row: span 2; aspect-ratio: auto; }
.photo-item-real.wide { grid-column: span 2; aspect-ratio: 16/9; }
.photo-item-real:hover { transform: scale(1.025); box-shadow: var(--shadow-md); z-index: 2; }
.photo-item-real img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s;
}
.photo-item-real:hover img { transform: scale(1.04); }

/* Shared hover overlay & expand icon */
.photo-hover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,61,110,0.72) 0%, rgba(13,61,110,0.08) 55%, transparent 100%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 1rem;
}
.photo-item:hover .photo-hover-overlay,
.photo-item-real:hover .photo-hover-overlay { opacity: 1; }
.photo-hover-label { color: #fff; font-size: 0.78rem; font-weight: 500; font-family: 'Plus Jakarta Sans', sans-serif; }
.photo-expand-icon {
  position: absolute; top: 0.6rem; right: 0.6rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.88); display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--navy);
  opacity: 0; transform: scale(0.7); transition: all 0.25s;
}
.photo-item:hover .photo-expand-icon,
.photo-item-real:hover .photo-expand-icon { opacity: 1; transform: scale(1); }

/* ── VIDEO SECTION ── */
.video-section-album { padding: 5rem 6vw; background: var(--white); }
.video-grid-album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.video-card {
  border-radius: 1.25rem; overflow: hidden; border: 1px solid var(--border);
  cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; background: var(--white);
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.video-thumb-wrap {
  height: 188px; position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.video-thumb-bg { position: absolute; inset: 0; }
.video-thumb-emoji { font-size: 3rem; opacity: 0.4; position: relative; z-index: 1; }
.video-play-btn {
  position: absolute; z-index: 2;
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(13,61,110,0.2);
  transition: transform 0.25s, background 0.25s;
}
.video-card:hover .video-play-btn { transform: scale(1.1); background: #fff; }
.video-play-icon { font-size: 1.3rem; margin-left: 3px; color: var(--navy); }
.video-duration-badge {
  position: absolute; bottom: 0.7rem; right: 0.8rem; z-index: 3;
  background: rgba(0,0,0,0.65); color: #fff;
  padding: 0.2rem 0.55rem; border-radius: 0.4rem;
  font-size: 0.68rem; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif;
}
.video-info-wrap { padding: 1.1rem 1.3rem 1.4rem; }
.video-info-wrap h4 { font-family: 'Lora', serif; color: var(--navy); font-size: 0.95rem; margin-bottom: 0.3rem; }
.video-info-wrap p { font-size: 0.78rem; color: var(--text-soft); font-weight: 300; line-height: 1.55; }
.video-info-meta { display: flex; gap: 1rem; margin-top: 0.8rem; }
.video-meta-tag {
  font-size: 0.65rem; background: var(--sky); color: var(--blue-dark);
  padding: 0.22rem 0.6rem; border-radius: 1rem; font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── LIGHTBOX ── */
.sk-lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(5, 20, 45, 0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.sk-lightbox.open { opacity: 1; pointer-events: all; }
.sk-lightbox-inner {
  position: relative; width: 92vw; max-width: 1000px;
  display: flex; flex-direction: column; align-items: center;
}
.sk-lightbox-img-wrap {
  width: 100%; border-radius: 1rem; overflow: hidden;
  background: #111;
  display: flex; align-items: center; justify-content: center;
  min-height: 320px; max-height: 72vh; position: relative;
}
.sk-lightbox-display {
  width: 100%; height: 100%; min-height: 320px; max-height: 72vh;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.22s;
}
.sk-lightbox-display.fade { opacity: 0; }

/* Emoji-based photo display (other pages) */
.lightbox-emoji-inner {
  width: 100%; height: 100%; min-height: 320px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1rem;
}
.lightbox-photo-emoji { font-size: 7rem; }
.lightbox-photo-label {
  font-family: 'Lora', serif; font-size: 1.2rem; color: rgba(255,255,255,0.85);
  font-style: italic; text-align: center; padding: 0 2rem;
}
.lightbox-photo-desc {
  font-size: 0.82rem; color: rgba(255,255,255,0.5); text-align: center;
  padding: 0 2rem; font-weight: 300; font-family: 'Plus Jakarta Sans', sans-serif; max-width: 500px;
}

/* Real image display (gallery-events) */
.lightbox-real-inner {
  width: 100%; height: 100%; min-height: 320px; max-height: 72vh;
  display: flex; align-items: center; justify-content: center; background: #000;
}
.lightbox-real-img {
  max-width: 100%; max-height: 72vh; object-fit: contain; display: block;
}

/* Nav arrows */
.sk-lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1.4rem; cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s; backdrop-filter: blur(4px);
}
.sk-lb-arrow:hover { background: rgba(255,255,255,0.28); transform: translateY(-50%) scale(1.08); }
.sk-lb-prev { left: -28px; }
.sk-lb-next { right: -28px; }
.sk-lb-close {
  position: absolute; top: -3.2rem; right: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.sk-lb-close:hover { background: rgba(255,255,255,0.28); }

/* Caption + counter */
.sk-lb-caption { margin-top: 1.2rem; text-align: center; }
.sk-lb-caption h4 { font-family: 'Lora', serif; color: #fff; font-size: 1rem; margin-bottom: 0.25rem; }
.sk-lb-caption p { font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 300; font-family: 'Plus Jakarta Sans', sans-serif; }
.sk-lb-counter { font-size: 0.7rem; color: rgba(255,255,255,0.32); margin-top: 0.5rem; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.1em; }

/* Thumbnail strip */
.sk-lb-thumbs {
  display: flex; gap: 0.5rem; margin-top: 1rem;
  overflow-x: auto; padding-bottom: 0.3rem; max-width: 100%;
  scrollbar-width: none;
}
.sk-lb-thumbs::-webkit-scrollbar { display: none; }
.sk-lb-thumb {
  width: 56px; height: 56px; border-radius: 0.5rem; flex-shrink: 0;
  overflow: hidden; cursor: pointer;
  border: 2.5px solid transparent;
  transition: border-color 0.2s, opacity 0.2s, transform 0.2s;
  opacity: 0.55; background: var(--sky);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.sk-lb-thumb:hover { opacity: 0.85; transform: scale(1.06); }
.sk-lb-thumb.active { border-color: #fff; opacity: 1; }
.sk-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── VIDEO POPUP ── */
.sk-video-popup {
  position: fixed; inset: 0; z-index: 9100;
  background: rgba(5, 20, 45, 0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.sk-video-popup.open { opacity: 1; pointer-events: all; }
.sk-video-popup-inner { width: 90vw; max-width: 900px; position: relative; }
.sk-vp-close {
  position: absolute; top: -3.2rem; right: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.sk-vp-close:hover { background: rgba(255,255,255,0.28); }
.sk-video-player-wrap {
  border-radius: 1rem; overflow: hidden; background: #000;
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; position: relative;
}
.sk-video-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.2rem; padding: 2rem;
}
.sk-video-placeholder-emoji { font-size: 5rem; opacity: 0.5; }
.sk-video-placeholder h3 { font-family: 'Lora', serif; color: #fff; font-size: 1.3rem; text-align: center; }
.sk-video-placeholder p { font-size: 0.82rem; color: rgba(255,255,255,0.5); text-align: center; font-weight: 300; font-family: 'Plus Jakarta Sans', sans-serif; }
.sk-vp-info { padding: 1.2rem 0 0; }
.sk-vp-info h4 { font-family: 'Lora', serif; color: #fff; font-size: 1.1rem; margin-bottom: 0.3rem; }
.sk-vp-info p { font-size: 0.82rem; color: rgba(255,255,255,0.55); font-weight: 300; font-family: 'Plus Jakarta Sans', sans-serif; }
.sk-fake-player {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.75); padding: 0.8rem 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.sk-fp-btn { color: #fff; font-size: 1rem; cursor: pointer; background: none; border: none; }
.sk-fp-bar-wrap {
  flex: 1; height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px;
  cursor: pointer; position: relative;
}
.sk-fp-bar { height: 100%; background: var(--blue); border-radius: 2px; width: 0%; transition: width 0.4s linear; }
.sk-fp-time { font-size: 0.7rem; color: rgba(255,255,255,0.55); font-family: 'Plus Jakarta Sans', sans-serif; flex-shrink: 0; }

/* ── BACK BUTTON ── */
.album-back-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.7); font-size: 0.78rem; font-weight: 500;
  text-decoration: none; margin-bottom: 1.2rem;
  font-family: 'Plus Jakarta Sans', sans-serif; transition: color 0.2s;
}
.album-back-btn:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .album-about { grid-template-columns: 1fr; gap: 2.5rem; }
  .album-hero-body { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .album-hero h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-item.tall, .photo-item-real.tall { grid-row: span 1; }
  .photo-item.wide, .photo-item-real.wide { grid-column: span 2; }
  .video-grid-album { grid-template-columns: 1fr 1fr; }
  .sk-lb-prev { left: -16px; } .sk-lb-next { right: -16px; }
  .sk-lightbox-inner { width: 96vw; }
  .sk-video-popup-inner { width: 96vw; }
}
@media (max-width: 600px) {
  .album-hero { padding: 3rem 5vw 2.5rem; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .photo-item.wide, .photo-item-real.wide { grid-column: span 2; }
  .photo-item-real.port { aspect-ratio: 4/3; }
  .video-grid-album { grid-template-columns: 1fr; }
  .album-stats { flex-wrap: wrap; gap: 0.8rem; }
  .sk-lb-prev { left: -6px; } .sk-lb-next { right: -6px; }
  .sk-lb-arrow { width: 32px; height: 32px; font-size: 1rem; }
  .sk-lightbox-inner { width: 98vw; }
  .sk-lb-thumbs { gap: 0.3rem; }
  .sk-lb-thumb { width: 44px; height: 44px; }
  .highlight-items { gap: 0.8rem; }
  .video-card { border-radius: 1rem; }
  .video-thumb-wrap { height: 160px; }
}
