:root {
  --crimson: #8b0f14;
  --paper: #f2e9dc;
  --ink: #111;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--crimson);
  color: var(--paper);
}

a {
  color: var(--paper);
  text-decoration: none;
}
a:hover {
  opacity: 0.9;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Nav */
.nav {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  z-index: 10;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.menu {
  display: flex;
  gap: 22px;
  font-weight: 700;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  height: 90px;
  width: auto; /* fixed: remove bare 150, use auto to keep aspect */
  display: block;
  border-radius: 6px;
}

/* Oversized header logo without stretching nav */
.brand {
  position: relative;
}

.brand img {
  height: 110px; /* make it bigger */
  width: auto;
  border-radius: 6px;
  position: absolute; /* detach from nav bar flow */
  top: 0; /* stick to the top of the nav */
  left: 0;
  transform: translateY(-50%); /* fine tune small downward nudge */
}

/* Hero */
.hero {
  min-height: 86vh;
  display: grid;
  place-items: center;
  padding: 80px 0;
}
.hero img {
  max-width: 340px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.release-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.12);
}

.release-art {
  margin: 0;
  text-align: center;
}
.release-art img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.release-art figcaption {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.release-player {
  width: 100%;
}

.release-links {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.release-links p {
  margin: 0 0 8px;
  opacity: 0.9;
}

.pill-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  display: inline-block;
  border: 2px solid var(--paper);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}
.pill.solid {
  background: var(--paper);
  color: var(--ink);
}

@media (max-width: 820px) {
  .release-card {
    grid-template-columns: 1fr;
  }
}

/*for the photos*/
/* Section with background image */
.section-bg {
  position: relative;
  isolation: isolate; /* keeps overlay clipped */
  padding: 90px 0; /* a little taller than default */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.section-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center / cover no-repeat var(--photos-bg, none);
  z-index: -2;
  filter: saturate(1.05);
}
.section-bg::after {
  /* darken + vignette so text stays readable */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      1200px 600px at 50% 30%,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.45) 70%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
  z-index: -1;
}

.section-bg h2 {
  margin-bottom: 16px;
}
.section-bg p {
  max-width: 60ch;
  font-size: 18px;
}

/* Optional: rounded frame look */
.section-bg .container {
  backdrop-filter: none;
}

/* Buttons */
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  border: 2px solid var(--paper);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  background: transparent;
  color: var(--paper);
}
.btn.solid {
  background: var(--paper);
  color: var(--ink);
}
.btn:hover {
  transform: translateY(-1px);
}

/* Sections / Footer */
section {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
section h2 {
  font-family: "Archivo Black", sans-serif;
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 44px);
}
.footer {
  padding: 28px 0;
  color: var(--paper);
  opacity: 0.85;
  text-align: center;
}

/* Gallery Page */
.gallery-page {
  padding: 60px 0;
}

.gallery-page h1 {
  font-family: "Archivo Black", sans-serif;
  margin-bottom: 10px;
}

.gallery-page p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none; /* toggled by JS */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lightbox.open {
  display: flex;
}

.lightbox__imgwrap {
  position: relative;
  max-width: 92vw;
  max-height: 86vh;
}
.lightbox__img {
  max-width: 100%;
  max-height: 86vh;
  display: block;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Caption */
.lightbox__cap {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.9;
}

/* Controls */
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
}
.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox__prev {
  left: -56px;
}
.lightbox__next {
  right: -56px;
}

.lightbox__close {
  position: absolute;
  top: -52px;
  right: -6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* Small screens: tuck controls in */
@media (max-width: 700px) {
  .lightbox__prev {
    left: -6px;
  }
  .lightbox__next {
    right: -6px;
  }
  .lightbox__close {
    top: -46px;
    right: 0;
  }
}
