/* Zio Moon — static site styles (screenshot-matched) */
:root {
  --blue: #3571fd;
  --blue-light: #cde5ed;
  --blue-nav: #869dfb;
  --blue-nav-scrolled: #3571fd;
  --blue-nav-scrolled-active: #002453;
  --nav-pipe: #cde5ed;
  --coral: #ec5e5a;
  --navy: #002453;
  --navy-mid: #002453;
  --dark-footer: #002453;
  --gray-page: #f7f7f7;
  --white: #ffffff;
  --text: #222222;
  --max: 1100px;
  --header-h: 120px;
  --font: "Poppins", "Montserrat", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Header (Duda scroll-responder style) —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 25px 0;
  min-height: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Inner pages start solid white like the preview */
.header-inner {
  width: 100%;
  max-width: var(--max); /* centered content row, not full-bleed padding */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px; /* matches original header row side padding */
  box-sizing: border-box;
}

.site-header.is-solid {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* Applied on scroll — matches .scroll-responder_set */
.site-header.is-scrolled {
  background: #ffffff !important;
  background-image: none !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
}

.site-header.is-scrolled .logo-link img {
  width: calc(293px * 0.66);
  max-width: min(193px, 42vw);
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  margin-left: 20px;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 0;
}

.logo-link img {
  width: 293px;
  max-width: none;
  height: auto;
  display: block;
  transition: width 0.3s linear;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.site-header.is-solid .nav-toggle {
  border-color: var(--blue-nav);
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.site-nav li {
  display: flex;
  align-items: center;
}

.site-nav li:not(:first-child)::before {
  content: "|";
  color: var(--nav-pipe); /* #cde5ed */
  margin: 0 0.55rem;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  opacity: 1;
  user-select: none;
}

/* Default nav — #869dfb like preview before scroll */
.site-nav a {
  color: var(--blue-nav);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 4px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.site-nav a:hover {
  color: var(--blue-nav);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--blue-nav);
  border-bottom-color: var(--nav-pipe);
  text-decoration: none;
}

.site-header.is-solid .site-nav a,
.site-header.is-solid .site-nav a:hover,
.site-header.is-solid .site-nav a[aria-current="page"] {
  color: var(--blue-nav);
}

.site-header.is-solid .site-nav a[aria-current="page"] {
  border-bottom-color: var(--nav-pipe);
}

/* After scroll — #3571fd links, #002453 hover/active (preview scroll-responder) */
.site-header.is-scrolled .site-nav a {
  color: #3571fd !important;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a[aria-current="page"] {
  color: #002453 !important;
}

.site-header.is-scrolled .site-nav a[aria-current="page"] {
  border-bottom-color: #3571fd !important;
}

.site-header.is-scrolled .site-nav li:not(:first-child)::before {
  color: #3571fd !important;
}

.site-header.is-scrolled .nav-toggle {
  border-color: #3571fd !important;
  color: #3571fd !important;
}

/* —— Hero (home overlay) —— */
.hero {
  position: relative;
  min-height: 70vh;
  background: var(--navy) center / cover no-repeat;
  color: var(--white);
}

.hero--tall {
  min-height: 78vh;
}

/* —— Home dark stack —— */
.home-dark {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 1.5rem 3.5rem;
}

.home-dark .container {
  max-width: var(--max);
  margin: 0 auto;
}

.gallery-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.gallery-row .view-gallery {
  margin: 0;
  white-space: nowrap;
}

.gallery-row .gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  min-width: 0;
}

.view-gallery {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}

.view-gallery:hover {
  text-decoration: underline;
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 2px;
  cursor: zoom-in;
  background: #111;
  aspect-ratio: 1 / 1;
}

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

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

.section-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 1.35rem;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--white);
}

.calendar-wrap {
  max-width: 800px;
  margin: 0 auto 3rem;
  width: 100%;
}

.calendar-wrap iframe {
  width: 100%;
  max-width: 800px;
  height: 600px;
  border: solid 1px #777;
  background: var(--white);
}

.venues-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.venues-block .venues-photo {
  display: inline-block;
  max-width: 420px;
  width: 100%;
  margin: 0 auto 1.25rem;
  border-radius: 2px;
  overflow: hidden;
}

.venues-block .venues-photo img {
  width: 100%;
  height: auto;
}

.venues-copy {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  line-height: 1.55;
  text-align: center;
}

.venues-copy strong {
  letter-spacing: 0.02em;
}

/* —— Sections generic —— */
.section {
  padding: 3rem 1.5rem;
}

.section--light {
  background: var(--white);
}

.section--contact {
  position: relative;
  isolation: isolate;
  background-color: #3571fd !important;
  background-image: none !important;
  color: var(--white);
  text-align: center;
  padding: 50px 40px !important;
  overflow: hidden;
  border: 0;
}

/* Shared map + blue overlay — same on home, about, and music */
.section--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: transparent;
  background-image: url("../images/world-map-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.section--contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: rgb(53, 113, 253);
  opacity: 0.88;
}

.section--contact > .container {
  position: relative;
  z-index: 2;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

/* —— Contact form —— */
.contact-heading {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.5rem;
  text-transform: lowercase;
}

.contact-call {
  font-size: 1.05rem;
  letter-spacing: 0.29em;
  color: var(--blue-light);
  margin: 0 0 2rem;
  font-weight: 400;
  text-transform: lowercase;
}

.contact-call a {
  color: var(--blue-light);
  text-decoration: none;
}

.contact-call a:hover {
  text-decoration: underline;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  margin-bottom: 1.35rem;
}

.form-field label {
  display: block;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
  text-transform: lowercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.4rem 0;
  outline: none;
  border-radius: 0;
  box-shadow: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--white);
}

.form-field textarea {
  min-height: 90px;
  resize: vertical;
}

.btn-submit {
  display: inline-block;
  margin: 0.35rem auto 0;
  padding: 0.65rem 2.75rem;
  background: var(--white);
  color: var(--blue-nav);
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-transform: lowercase;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-submit:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.form-actions {
  text-align: center;
  margin-top: 0.35rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* —— About page —— */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2.25rem;
  align-items: start;
  padding-top: 0.5rem;
}

.about-feature {
  overflow: hidden;
  border-radius: 0;
  min-height: 420px;
  aspect-ratio: 1 / 1;
  background: #111;
}

.about-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-body h1 {
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: #000;
}

.about-body .view-gallery {
  color: #222;
  margin-bottom: 0.85rem;
}

.about-body .gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 0.95rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

/* —— Music two-column —— */
.music-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 520px;
  padding-top: 1.5rem;
  background: #000000;
}

.music-spotify {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 2.75rem;
  background: #000000;
}

.music-player-card {
  width: 100%;
  max-width: 480px;
  background: #000000;
  border: 10px solid #777777;
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: none;
  box-sizing: border-box;
  overflow: visible;
}

.music-player-card iframe {
  width: 100%;
  border: 0;
  border-radius: 12px;
  overflow: visible;
  min-height: 352px;
  display: block;
  background: #000000;
}

.btn-spotify {
  display: inline-block;
  margin-top: 1.35rem;
  padding: 0.85rem 1.75rem;
  background: var(--blue);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none !important;
  border-radius: 999px;
  max-width: 420px;
  width: 100%;
  transition: background 0.15s, transform 0.1s;
}

.btn-spotify:hover {
  background: #2a5de0;
  transform: translateY(-1px);
}

.music-photo {
  position: relative;
  min-height: 520px;
  background: var(--navy) center / cover no-repeat;
}

.music-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* —— Footer —— */
.site-footer {
  background: #002453;
  color: #ffffff;
  padding: 70px 40px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: inline-flex;
  flex-shrink: 0;
}

.footer-logo img {
  width: 293px;
  max-width: min(293px, 70vw);
  height: auto;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  margin-left: auto;
  text-align: right;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  text-decoration: none;
  opacity: 1;
}

.social-links a:hover {
  opacity: 0.85;
  text-decoration: none;
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-copy {
  color: #ffffff;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.55;
  text-align: right;
}

.footer-copy p {
  margin: 0;
}

/* —— Lightbox —— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .section--contact {
    background-attachment: scroll;
  }

  .logo-link img {
  width: 293px;
  max-width: none;
  height: auto;
  display: block;
  transition: width 0.3s linear;
}

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-feature img {
    max-height: 420px;
  }

  .music-split {
    grid-template-columns: 1fr;
  }

  .music-photo {
    min-height: 360px;
    order: -1;
  }

  .about-body .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0 12px;
  }

  .logo-link { margin-left: 8px; }
  .logo-link img,
  .site-header.is-scrolled .logo-link img {
    width: 180px !important;
    max-width: 55vw !important;
  }

  .logo-link {
    margin-left: 8px;
  }
  .logo-link img,
  .site-header.is-scrolled .logo-link img {
    width: 180px !important;
    max-width: 55vw !important;
  }

  .site-footer {
    padding: 50px 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
  }

  .social-links {
    justify-content: flex-start;
  }

  .footer-copy {
    text-align: left;
  }

  .footer-logo img {
    width: 220px;
  }

  .site-header {
    padding: 0.75rem 1rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(8, 16, 32, 0.97);
    padding: 0.75rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  .site-header.is-solid .site-nav {
    background: var(--white);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav li {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 1rem;
  }

  .site-nav li:not(:first-child)::before {
    display: none;
  }

  .site-nav a {
    font-size: 1.05rem;
  }

  .site-nav a[aria-current="page"],
  .site-nav a:hover {
    color: var(--blue-nav);
  }


  .site-header.is-solid .site-nav a[aria-current="page"],
  .site-header.is-solid .site-nav a:hover {
    color: var(--blue-nav);
  }

  .hero {
    min-height: 52vh;
  }

  .gallery-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-row .gallery {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .calendar-wrap iframe {
    height: 480px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .contact-call {
    letter-spacing: 0.12em;
  }

  .music-spotify {
    padding: 2.75rem 1.5rem;
  }
}


/* Anchor offsets under sticky header */
#gigs,
#calendar,
#venues,
#contact {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Solid-header pages: offset content under fixed bar */
body.has-solid-header main {
  padding-top: 0;
}

body.has-solid-header .site-header.is-solid {
  /* already fixed; add spacer via header placeholder */
}

.header-spacer {
  display: none;
  height: var(--header-h);
  width: 100%;
}

body.has-solid-header .header-spacer {
  display: block;
  height: 160px; /* stickyHeaderSpacer from original */
}

