/* ==========================================================================
   Weather Or Not — site stylesheet
   Palette and header treatment adapted from the band's reference site
   (banner-logo header, uppercase nav, blue field). Lato throughout.
   ========================================================================== */

:root {
  --blue-deep: #042bea;
  --blue-masthead: #1a75b2;
  --blue-accent: #1e73be;
  --ink: #1a1a1a;
  --paper: #ffffff;
  --paper-muted: #f2f2f2;
  --success: #1c7c3c;
  --danger: #b3261e;
  --max-width: 1260px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', Arial, sans-serif;
  color: var(--ink);
  background: var(--blue-deep);
}

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

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

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

/* ---- Layout shell ---- */

.site-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--paper);
  min-height: 100vh;
}

/* ---- Header / banner / nav ---- */

.site-header { background: var(--paper); }

.banner {
  background: var(--blue-masthead);
  padding: 28px 24px;
}

.banner-link { color: #fff; }
.banner-link:hover { text-decoration: none; }

.banner-title {
  display: block;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
}

.banner-tagline {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: #e6f0fa;
  margin-top: 4px;
}

.main-nav {
  background: var(--paper);
  border-bottom: 3px solid var(--blue-masthead);
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
}

.nav-menu li a {
  display: block;
  padding: 16px 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  color: var(--ink);
}

.nav-menu li.current a,
.nav-menu li a:hover {
  color: var(--blue-masthead);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 16px 24px;
  cursor: pointer;
}

.hamburger, .hamburger::before, .hamburger::after {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}
.hamburger::before, .hamburger::after { content: ''; margin-top: 5px; }

@media screen and (max-width: 783px) {
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav { display: flex; flex-direction: column; }
  .nav-menu {
    flex-direction: column;
    display: none;
    padding: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a { padding: 14px 24px; border-top: 1px solid var(--paper-muted); }
  .banner-title { font-size: 26px; }
}

/* ---- Main content ---- */

.site-main { padding: 0 0 40px; }

.section {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px;
}

.section h1 {
  font-size: 30px;
  font-weight: 900;
  margin-top: 0;
}

.section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-masthead);
  border-bottom: 2px solid var(--paper-muted);
  padding-bottom: 8px;
}

/* ---- Hero ---- */

.hero {
  background: linear-gradient(135deg, var(--blue-masthead), var(--blue-deep));
  color: #fff;
  text-align: center;
  padding: 70px 24px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 0 0 12px;
}

.hero-tagline {
  font-size: 18px;
  font-weight: 300;
  margin: 0 0 28px;
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary { background: #fff; color: var(--blue-masthead); }
.btn-primary:hover { background: var(--paper-muted); text-decoration: none; }

.hero .btn-primary { background: #fff; color: var(--blue-deep); }

.btn-secondary { background: var(--paper-muted); color: var(--ink); }
.btn-small { padding: 6px 14px; font-size: 11px; margin-left: 12px; }

/* ---- Upcoming / compact show lists ---- */

.show-list-compact { list-style: none; margin: 0; padding: 0; }
.show-list-compact li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--paper-muted);
  flex-wrap: wrap;
}
.show-date { font-weight: 700; min-width: 140px; }
.show-venue { flex: 1; }

.see-all-link { display: inline-block; margin-top: 16px; font-weight: 700; }

/* ---- Show cards (shows.php) ---- */

.show-cards { display: flex; flex-direction: column; gap: 20px; }

.show-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--paper-muted);
  border-radius: var(--radius);
  padding: 20px;
  flex-wrap: wrap;
}

.show-card-date {
  background: var(--blue-masthead);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
  padding: 10px 16px;
  min-width: 70px;
}
.show-card-month { display: block; font-size: 13px; text-transform: uppercase; font-weight: 700; }
.show-card-day { display: block; font-size: 26px; font-weight: 900; }

.show-card-flyer {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.show-card-body { flex: 1; min-width: 200px; }
.show-card-body h3 { margin: 0 0 6px; font-size: 19px; }
.show-card-venue { font-weight: 700; margin: 0 0 4px; }
.show-card-time, .show-card-address { color: #555; font-size: 14px; margin: 0 0 4px; }
.show-card-desc { margin: 10px 0 0; }

.section-past-shows summary { cursor: pointer; margin-bottom: 12px; }

/* ---- Video grid / YouTube facade ---- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
@media screen and (max-width: 640px) {
  .video-grid { grid-template-columns: 1fr; }
}

.video-card, .featured-video { text-align: center; }
.video-caption { font-weight: 700; margin-top: 8px; }

.yt-facade {
  position: relative;
  cursor: pointer;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.yt-play {
  position: absolute;
  top: 50%; left: 50%;
  width: 64px; height: 44px;
  margin: -22px 0 0 -32px;
  background: rgba(0,0,0,0.7);
  border-radius: 10px;
}
.yt-play::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  margin: -10px 0 0 -6px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}
.yt-facade iframe { width: 100%; height: 100%; border: none; display: block; }

/* ---- Band members ---- */

.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
@media screen and (max-width: 900px) {
  .member-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 480px) {
  .member-grid { grid-template-columns: 1fr; }
}
.member-card { text-align: center; }
.member-card img { border-radius: var(--radius); margin: 0 auto 10px; aspect-ratio: 1; object-fit: cover; }
.member-card h3 { margin: 0 0 2px; font-size: 16px; }
.member-role { color: var(--blue-masthead); font-weight: 700; font-size: 13px; margin: 0 0 8px; }
.member-bio { font-size: 14px; color: #444; }

/* ---- Signup box ---- */

.signup-box {
  background: var(--paper-muted);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.signup-box h3 { margin-top: 0; }
.signup-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.signup-form input[type="email"] {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 15px;
  min-width: 240px;
}
.signup-form button {
  background: var(--blue-masthead);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
}
.signup-form button:hover { background: var(--blue-deep); }

.hp-field { position: absolute; left: -9999px; }

.form-success { color: var(--success); font-weight: 700; }
.form-error { color: var(--danger); font-weight: 700; }

.section-signup-top { padding-top: 24px; }

/* ---- Footer ---- */

.site-footer {
  background: var(--paper-muted);
  text-align: center;
  padding: 28px 24px;
}
.footer-socials a { margin: 0 10px; font-weight: 700; }
.footer-copy { color: #666; font-size: 13px; margin: 14px 0 4px; }
.footer-admin a { font-size: 12px; color: #999; }
