/* ─── Shared theme for "On the Road" album pages ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c8a84b;
  --gold-light: #e0c068;
  --bg: #080808;
  --bg-card: #111111;
  --bg-section: #0d0d0d;
  --text: #e0e0e0;
  --text-muted: #888;
  --border: #222;
  --radius: 8px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-decoration: none;
}

.nav-brand span { color: var(--text); }

.nav-back {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-back:hover { color: var(--gold); }

/* ─── ALBUM HEADER ─── */
.album-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.album-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.album-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 1rem;
}

.album-meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.album-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 620px;
}

/* ─── PHOTO GALLERY (thumbnails) ─── */
.gallery-section { padding: 3rem 0 5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg-card);
}

.gallery-item.wide { grid-column: span 2; aspect-ratio: 16/9; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #ccc;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .caption { opacity: 1; }

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover { color: #fff; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem 1rem;
  user-select: none;
  transition: color 0.2s;
}

.lightbox-nav:hover { color: #fff; }

.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%; transform: translateX(-50%);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ─── FOOTER ─── */
footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

footer a { color: var(--gold); text-decoration: none; }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .album-header { padding: 3rem 0 2rem; }
  .lightbox-nav { font-size: 2rem; padding: 0.5rem; }
}
