/* ============================================================
   ONE NIGHT OF BILLY JOEL — site styles
   Brand: Anton (display) + Epilogue (body), gold on warm dark.
   ============================================================ */

:root {
  --bg: #14110c;
  --bg-2: #1b1710;
  --bg-3: #0d0b07;
  --row: rgba(255, 255, 255, 0.04);
  --row-hover: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --ink: #f5f2ea;
  --ink-soft: #b9b3a4;
  --ink-faint: #7a746a;
  --gold: #d8a94e;
  --gold-ink: #171410;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Epilogue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3 {
  font-family: "Anton", "Epilogue", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  margin: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-2); }

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  text-align: center;
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 auto 40px;
  max-width: 560px;
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 11, 7, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  color: var(--ink);
  display: flex;
  align-items: center;
}
.brand-logo { height: 30px; width: auto; display: block; }
.hero-logo { width: min(720px, 92%); height: auto; margin: 0 auto 6px; }
@media (max-width: 780px) { .brand-logo { height: 24px; } }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-social { display: flex; gap: 14px; font-size: 1.05rem; color: var(--gold); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.55);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,17,12,0.5) 0%, rgba(20,17,12,0.35) 55%, rgba(20,17,12,0.95) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 40px 24px; }
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  letter-spacing: 0.02em;
}
.hero .kicker {
  display: block;
  color: var(--gold);
  font-size: clamp(0.7rem, 1.6vw, 0.9rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 18px;
  font-family: "Epilogue", sans-serif;
}
.hero .lede {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Epilogue", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--gold-ink); border: 1px solid var(--gold); }
.btn-gold:hover { transform: translateY(-1px); opacity: 0.92; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- tour list ---------- */
.tour-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.tour-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 18px 22px;
  background: var(--row);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: background 0.2s ease;
}
.tour-row:hover { background: var(--row-hover); }
.tour-date { text-align: center; line-height: 1.02; }
.tour-date .d { display: block; font-family: "Anton", sans-serif; font-size: 2rem; color: var(--gold); }
.tour-date .m { display: block; font-size: 0.72rem; letter-spacing: 0.18em; margin-top: 3px; }
.tour-date .y { display: block; font-size: 0.68rem; letter-spacing: 0.12em; color: var(--ink-soft); }
.tour-venue .v { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.tour-venue .c { display: block; font-size: 0.8rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.tour-cta { justify-self: end; }
.status-note { text-align: center; color: var(--ink-faint); font-size: 0.85rem; margin-top: 26px; }
.tour-empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--line); border-radius: 6px; max-width: 560px; margin: 0 auto; }

/* ---------- intro / about split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 8px; width: 100%; object-fit: cover; }
.prose p { color: var(--ink-soft); }
.prose .hits { color: var(--gold); font-family: "Anton", sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.1rem; }

/* ---------- reviews ---------- */
.stars { color: var(--gold); letter-spacing: 0.25em; text-align: center; font-size: 1.05rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.review-card {
  background: var(--row);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.review-card .stars { text-align: left; font-size: 0.9rem; margin-bottom: 12px; }
.review-card blockquote { margin: 0; font-style: italic; color: var(--ink); font-size: 0.98rem; line-height: 1.6; }
.review-card .who { display: block; margin-top: 14px; color: var(--ink-soft); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery-grid a { display: block; overflow: hidden; border-radius: 6px; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* ---------- fixed image background (interior pages) ---------- */
.page-bg-img {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.page-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #14110c;
  opacity: 0.82;
  pointer-events: none;
}
body.page-bg { background: #000; }
body.page-bg .section,
body.page-bg .section-alt { background: transparent; }
body.page-bg .tour-row,
body.page-bg .review-card { background: rgba(13, 11, 7, 0.6); }

/* ---------- fixed background video (home page) ---------- */
.site-bg-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
}
.site-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #14110c;
  opacity: 0.35;
  transition: opacity 0.12s linear;
  pointer-events: none;
}
body.home { background: #000; }
body.home .section,
body.home .section-alt { background: transparent; }
body.home .hero { min-height: 100vh; }
body.home .hero-logo { filter: drop-shadow(0 3px 16px rgba(0, 0, 0, 0.55)); }
/* darker cards so text stays readable over the video */
body.home .tour-row,
body.home .review-card { background: rgba(13, 11, 7, 0.58); }

.video-sound-link {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 40;
  background: rgba(13, 11, 7, 0.72);
  color: var(--ink);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.video-sound-link:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- news ---------- */
.news-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.news-item {
  background: var(--row);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 18px 22px;
}
body.home .news-item { background: rgba(13, 11, 7, 0.58); }
.news-item .news-date { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.news-item .news-title { display: block; font-size: 1.1rem; font-weight: 700; margin: 5px 0 0; letter-spacing: 0.02em; }
.news-item .news-body { color: var(--ink-soft); font-size: 0.95rem; margin: 8px 0 0; }
.news-item .news-link { display: inline-block; margin-top: 10px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- slideshow ---------- */
.slideshow {
  position: relative;
  max-width: 900px;
  margin: 0 auto 8px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slideshow .slide.active { opacity: 1; }
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(13, 11, 7, 0.6);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.slide-nav.prev { left: 14px; }
.slide-nav.next { right: 14px; }
.slide-nav:hover { color: var(--gold); border-color: var(--gold); }
.slide-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.slide-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, 0.4); cursor: pointer; }
.slide-dots button.active { background: var(--gold); }

/* ---------- video slideshow ---------- */
.video-slideshow {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.video-slideshow .vslide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.video-slideshow .vslide.active { opacity: 1; pointer-events: auto; }

/* ---------- music / merch ---------- */
.music-cta { text-align: center; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-3); border-top: 1px solid var(--line); padding: 40px 0; text-align: center; }
.footer-social { display: flex; gap: 20px; justify-content: center; font-size: 1.3rem; color: var(--gold); margin-bottom: 16px; }
.footer-email { color: var(--ink-soft); letter-spacing: 0.06em; font-size: 0.92rem; }
.footer-credit { color: var(--ink-faint); font-size: 0.78rem; margin-top: 10px; }

/* ---------- mobile ---------- */
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-3);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links a { display: block; padding: 16px 24px; width: 100%; border-top: 1px solid var(--line); }
  .nav-social { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .tour-row { grid-template-columns: 64px 1fr; grid-template-areas: "date venue" "date cta"; row-gap: 12px; }
  .tour-date { grid-area: date; }
  .tour-venue { grid-area: venue; }
  .tour-cta { grid-area: cta; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .tour-row, .btn, .gallery-grid img { transition: none; }
}
