/* The Night Shift, adapted from the cool11ty theme (https://github.com/mesinkasir/cool11ty).
   Colors are sampled from the neon logo art (src/img/logo_red.png). */
:root {
  --ns-bg: #040101;        /* logo background */
  --ns-text: #f9f9f9;      /* logo white */
  --ns-muted: #d5d7d6;     /* logo light gray */
  --ns-red: #bf0202;       /* neon tube core: nav, buttons, CTA panel */
  --ns-neon: #fc231a;      /* neon tube bright: links and accents */
  --ns-glow: #fd9d92;      /* neon glow highlight: hover states */
  --ns-panel: #1c0202;     /* red-black panel */
  --ns-panel-alt: #4f0202; /* deep red panel */
  --ns-neon-glow: rgba(252, 35, 26, 0.35);
  --ns-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --ns-body: "Barlow", system-ui, sans-serif;
  --bs-body-bg: var(--ns-bg);
  --bs-body-color: var(--ns-text);
}

body {
  background-color: var(--ns-bg);
  color: var(--ns-text);
  font-family: var(--ns-body);
  font-size: 1.125rem;
  line-height: 1.6;
}

p,
li {
  color: var(--ns-text);
}

h1,
h2,
h3,
h4,
.title {
  font-family: var(--ns-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--ns-text);
  text-shadow: 0 0 18px var(--ns-neon-glow);
}
h1 { font-size: clamp(2.5rem, 7vw, 3.75rem); }
h2 { font-size: clamp(2rem, 5vw, 3.125rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 3vw, 1.875rem); }

a,
a:visited {
  color: var(--ns-neon);
  text-decoration: none;
}
a:hover,
a:focus-visible {
  color: var(--ns-glow);
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;
  background: #fff;
  color: #000;
  padding: 0.5rem 1rem;
}

/* Nav: the theme's red pill */
.navi {
  background-color: var(--ns-red);
  border-radius: 50px;
  font-family: var(--ns-body);
}
/* The logo's dark outline needs a dark backdrop to read on the red pill */
.navi .brand {
  display: block;
  line-height: 0;
  background: var(--ns-bg);
  border-radius: 50px;
  padding: 0.35rem 1.1rem;
}
.navi .brand img {
  height: 52px;
  width: auto;
}
.navi .linki,
.navi .linki:visited {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-item-active {
  text-decoration: underline;
  text-underline-offset: 6px;
}
/* Phones: smaller logo bubble and tighter links so the nav stays on one row.
   (After the base .linki rule so these win; padding needs !important to beat Bootstrap's px-2.) */
@media (max-width: 767.98px) {
  .navi .brand {
    padding: 0.2rem 0.6rem;
  }
  .navi .brand img {
    height: 34px;
  }
  .navi .linki {
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
  }
}
@media (max-width: 374.98px) {
  .navi .linki,
  .navi .linki:visited {
    font-size: 1rem;
    padding-left: 0.3rem !important;
    padding-right: 0.3rem !important;
  }
}

/* Hero */
.hero {
  border-radius: 50px;
  padding: 6rem 1.5rem;
  text-align: center;
  background:
    linear-gradient(rgba(4, 1, 1, 0.45), rgba(4, 1, 1, 0.85)),
    url("/img/hero.jpg") center / cover no-repeat;
}
.hero .title {
  margin: 0 auto 1rem;
  line-height: 0;
}
.logo-hero {
  width: min(760px, 100%);
  height: auto;
}
.hero-tagline {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}
.nowrap {
  white-space: nowrap;
}
.vermont-icon svg {
  display: inline-block;
  height: 1.1em;
  width: auto;
  vertical-align: -0.2em;
}
.hero-tagline .vermont-icon svg {
  margin: 0 0.1em 0 0.2em;
}
.hero-sub {
  color: var(--ns-muted);
}

/* Panels: the theme's rounded colour blocks */
.panel {
  background-color: var(--ns-panel);
  border: 1px solid var(--ns-neon-glow);
  box-shadow: 0 0 24px rgba(252, 35, 26, 0.15);
  border-radius: 50px;
  padding: 2rem;
}
.panel-alt { background-color: var(--ns-panel-alt); }
.panel-alt a,
.panel-alt a:visited { color: var(--ns-glow); }
.panel-red { background-color: var(--ns-red); }
.panel-red a,
.panel-red a:visited { color: #fff; }

/* Buttons */
.btn-ns,
.btn-ns:visited {
  display: inline-block;
  background: var(--ns-red);
  color: #fff;
  border: 2px solid var(--ns-red);
  border-radius: 50px;
  padding: 0.4rem 1.5rem;
  font-family: var(--ns-body);
  font-size: 1.125rem;
  font-weight: 600;
}
.btn-ns:hover,
.btn-ns:focus-visible {
  background: var(--ns-glow);
  border-color: var(--ns-glow);
  color: var(--ns-bg);
  text-decoration: none;
}
.btn-ns-outline,
.btn-ns-outline:visited {
  background: transparent;
  border-color: var(--ns-text);
  color: var(--ns-text);
}
.btn-ns-light,
.panel-red .btn-ns-light,
.panel-red .btn-ns-light:visited {
  background: #fff;
  border-color: #fff;
  color: var(--ns-red);
}

/* Footer */
.site-footer {
  text-align: center;
}
.site-footer p {
  font-size: 1rem;
  color: var(--ns-muted);
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  font-size: 1.75rem;
}

img {
  max-width: 100%;
}

/* Gig list */
.gig {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(249, 249, 249, 0.15);
}
.gig:last-child {
  border-bottom: 0;
}
@media (min-width: 768px) {
  .gig {
    grid-template-columns: 10rem 14rem 1fr auto;
    align-items: center;
    gap: 1rem;
  }
}
.gig-date {
  color: var(--ns-neon);
  font-weight: 700;
}
.gig-venue {
  font-size: 1.4rem;
}
.gig-time,
.gig-city,
.gig-notes {
  color: var(--ns-muted);
  font-size: 1rem;
}
.btn-ns-sm,
.btn-ns-sm:visited {
  font-size: 1rem;
  padding: 0.2rem 1rem;
}
.gig-photo-cell:empty {
  display: none;
}
@media (min-width: 768px) {
  .gig-photo-cell:empty {
    display: block;
  }
}
.gig-photo {
  display: block;
  max-width: 12rem;
}
.gig-photo-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--ns-neon-glow);
}
.past-shows summary {
  cursor: pointer;
  color: var(--ns-muted);
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  transition: filter 0.2s;
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: opacity(80%);
}

/* Lightbox */
dialog.lightbox {
  background: rgba(4, 1, 1, 0.97);
  color: var(--ns-text);
  border: 0;
  border-radius: 24px;
  padding: 1rem;
  max-width: 95vw;
  max-height: 95vh;
}
dialog.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.8);
}
.lightbox img {
  display: block;
  margin: 0 auto;
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
}
.lightbox figcaption {
  text-align: center;
  margin-top: 0.5rem;
}
.lightbox-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
}
.lightbox-controls button {
  background: var(--ns-red);
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: 0.25rem 1.25rem;
  font-size: 1.25rem;
}

/* Videos */
.video-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.video-thumb,
.video-frame {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-thumb .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 4rem;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}
.video-card figcaption {
  color: var(--ns-muted);
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

/* Booking form */
.booking-form .form-label {
  color: var(--ns-text);
}
.booking-form .form-control,
.booking-form .form-select {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--ns-text);
  border-color: rgba(249, 249, 249, 0.25);
  font-size: 1.1rem;
}
.booking-form .form-control:focus,
.booking-form .form-select:focus {
  border-color: var(--ns-neon);
  box-shadow: 0 0 0 0.25rem var(--ns-neon-glow);
}

/* Home */
.home .panel-red p {
  color: #fff;
}

/* Stage plot */
.stage-plot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--ns-neon-glow);
}
