/* The Breakfast Club -- promo site wireframe v1
   Black theme matched to the neon logo artwork (images/BC_logo_neonnight.png),
   which sits on a pure #000 background -- the whole site uses that same black
   so the logo blends in rather than sitting in a box. */

:root {
  --bg: #000000;
  --bg-raised: #121214;      /* cards, table, carousel stubs */
  --bg-raised-2: #1a1a1d;    /* stub stripe */
  --text: #f5f3ee;           /* primary copy -- off-white, not pure white (softer on black) */
  --text-muted: #b7b2a9;     /* secondary copy, still >7:1 contrast on black */
  --line: rgba(255, 255, 255, 0.16);
  --accent: #e8954a;         /* orange from the logo script */
  --accent-ink: #1a0f05;     /* near-black text used ON orange buttons for contrast */
  --accent2: #b79bff;        /* neon purple/blue from the logo lettering */
  --radius: 8px;
  --container: 980px;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a { color: var(--accent); 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);
  white-space: nowrap;
  border: 0;
}

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

.wire {
  border: 2px dashed var(--line);
  background:
    repeating-linear-gradient(135deg,
      var(--bg-raised) 0 10px, var(--bg-raised-2) 10px 20px);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent2);
  font-weight: 700;
  margin: 0 0 8px;
}

section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section h2 { margin: 0 0 20px; font-size: clamp(1.4rem, 1rem + 1.5vw, 1.9rem); color: var(--text); }
section h3, section h4 { color: var(--text); }
section p { color: var(--text-muted); }

/* ---------- Hero (logo banner) ---------- */
.site-hero {
  background-color: var(--bg);
  background-image: url("../images/BC_logo_neonnight.png");
  background-repeat: no-repeat;
  background-position: center 20px;
  background-size: contain;
  height: 42vw;
  min-height: 190px;
  max-height: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
}
.hero-tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.75rem, 0.6rem + 0.6vw, 0.95rem);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ---------- Sticky nav bar ---------- */
.site-nav-bar {
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
}
.nav-brand {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: auto;
  white-space: nowrap;
}
.nav-brand:hover { color: var(--accent); text-decoration: none; }

nav.site-nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav.site-nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
nav.site-nav a:hover { color: var(--accent); text-decoration: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 6px 10px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  nav.site-nav {
    flex-basis: 100%;
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
  }
  nav.site-nav.open { display: flex; }
}

/* ---------- About ---------- */
#about .about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
#about .about-grid > * { min-width: 0; }
.bio-text p { margin: 0 0 14px; }
.bio-text a { color: var(--accent); }

.carousel-wrap { margin-top: 24px; }
.carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.carousel .photo-stub {
  scroll-snap-align: start;
  flex: 0 0 220px;
  height: 160px;
}
.carousel-photo {
  scroll-snap-align: start;
  flex: 0 0 150px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  cursor: pointer;
  /* Suppress iOS Safari's long-press "Save/Copy Photo" callout, which
     would otherwise fire at the same time as our own press-to-enlarge. */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
@media (max-width: 480px) {
  .carousel-photo { flex-basis: 120px; height: 82px; }
}

/* Press-and-hold to enlarge: a floating clone, not the real photo,
   does the enlarging (see main.js) so it is never clipped by the
   carousel's scroll box, regardless of scroll position. Stays just
   below the sticky nav bar's z-index (50) so it never covers it. */
.carousel-photo-clone {
  position: fixed;
  margin: 0;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 40;
  transform-origin: 50% 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.carousel-photo-clone.is-pressed {
  transform: scale(1.6) translateY(-14px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.65);
}
.carousel-controls { display: flex; gap: 8px; margin-top: 8px; }
.carousel-controls button {
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--text);
  border-radius: var(--radius);
  padding: 4px 12px;
  cursor: pointer;
}
.carousel-controls button:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Shows summary ---------- */
.show-summary-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.show-summary-card .date-block {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
  padding: 10px 16px;
  text-align: center;
  min-width: 90px;
}
.date-block .day { font-size: 1.6rem; font-weight: 700; display: block; }
.date-block .mon { font-size: 0.75rem; text-transform: uppercase; }
.show-summary-card .details { flex: 1; min-width: 220px; }
.show-summary-card .details h3 { margin: 0 0 4px; }
.show-summary-card .details p { margin: 2px 0; color: var(--text-muted); }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
}
.btn:hover { opacity: 0.88; text-decoration: none; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Features (video + tracks), taxi-photo backdrop ---------- */
.features-media {
  position: relative;
  background-color: var(--bg);
  isolation: isolate;
}
.features-media::before,
.features-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
.features-media::before {
  background-image: url("../images/taximusic.png");
  background-repeat: no-repeat;
  background-position: center;
  /* Height always fills the section; width scales up and crops off
     the sides as needed -- on a narrow/tall phone screen this zooms
     in a lot, on a wide/short landscape screen it barely crops. */
  background-size: auto 100%;
}
.features-media::after {
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.62) 35%,
    rgba(0, 0, 0, 0.88) 100%);
}
.features-media .container { position: relative; z-index: 1; }

/* ---------- Venues/Calendar, guitar-photo backdrop ---------- */
.calendar-media {
  position: relative;
  background-color: var(--bg);
  isolation: isolate;
}
.calendar-media::before,
.calendar-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
.calendar-media::before {
  background-image: url("../images/gtrbg-web.jpg");
  background-repeat: no-repeat;
  background-position: center;
  /* Height always fills the section; width scales up and crops off
     the sides as needed, same technique as the Features backdrop. */
  background-size: auto 100%;
}
.calendar-media::after {
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.62) 35%,
    rgba(0, 0, 0, 0.88) 100%);
}
.calendar-media .container { position: relative; z-index: 1; }

.features-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}
.features-grid > * { min-width: 0; }
@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; }
}
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.video-frame iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
.track-list { list-style: none; margin: 0; padding: 0; }
.track-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.track-list .track-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  font-size: 0.65rem;
  color: var(--accent2);
  border-color: var(--line);
}
.track-list .track-title { flex: 1; color: var(--text); }

/* ---------- Merch ---------- */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.merch-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.merch-card .photo-stub { height: 160px; border-radius: 0; border-width: 2px 0; }
.merch-card .merch-info { padding: 12px; }
.merch-card .merch-info h4 { margin: 0 0 4px; font-size: 0.95rem; }
.merch-card .merch-info .price { color: var(--accent); font-weight: 700; }

.merch-photo-wrap {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.merch-photo {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 20%;
}
.merch-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---------- Follow (signup) ---------- */
#follow {
  background: linear-gradient(180deg, rgba(183, 155, 255, 0.07), transparent 60%);
}
.signup-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 480px;
}
.signup-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--text);
  font-size: 1rem;
}
.signup-form input[type="email"]::placeholder { color: var(--text-muted); }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; }
.form-status { margin-top: 10px; font-size: 0.9rem; }
.form-status .success, .form-status.success { color: #8fe3a3; }
.form-status .error, .form-status.error { color: #f0968c; }

/* ---------- Venues / Calendar ---------- */
.calendar-table-wrap { overflow-x: auto; }
table.calendar-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table.calendar-table th, table.calendar-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--text);
}
table.calendar-table th {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
table.calendar-table tbody tr:last-child td { border-bottom: none; }

/* ---------- Linktree ---------- */
.linktree { max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.linktree a.link-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 20px;
  color: var(--text);
  font-weight: 600;
}
.linktree a.link-btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.linktree .icon-stub {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; font-size: 0.55rem;
  color: var(--accent2);
}

/* ---------- Footer ---------- */
footer.site-footer {
  text-align: center;
  padding: 24px 0 40px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Small-screen type/space tightening ---------- */
@media (max-width: 480px) {
  section { padding: 40px 0; }
  .show-summary-card { padding: 18px; }
  .signup-form { flex-direction: column; }
  .signup-form input[type="email"] { width: 100%; }
}
