@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

/* ── Custom fonts ───────────────────────────────────────── */
@font-face {
  font-family: 'Horizon';
  src:
    url('../fonts/Horizon.woff2') format('woff2'),
    url('../fonts/Horizon.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Horizon';
  src:
    url('../fonts/Horizon_Outlined.woff2') format('woff2'),
    url('../fonts/Horizon_Outlined.otf') format('opentype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* ── Colour tokens ─────────────────────────────────────── */
:root {
  --bg: #0d0d0d;
  --bg-raised: #161616;
  --border: #2a2a2a;
  --text: #e0e0e0;
  --text-muted: #888;
  --accent: #a06cb0;
  --white: #ffffff;
}

/* ── Reset / base ──────────────────────────────────────── */
body {
  font-family: 'Lato', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Horizon', sans-serif;
}

body,
html {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

/* ── Navbar ─────────────────────────────────────────────── */
.w3-top {
  z-index: 1000 !important;
}

#myNavbar {
  background: transparent !important;
  transition: background 0.3s ease;
}
#myNavbar.w3-white {
  background: var(--bg) !important;
  border-bottom: 1px solid var(--border);
}
#myNavbar a {
  color: var(--text) !important;
  font-family: 'Horizon', sans-serif;
}
#myNavbar a:hover {
  background: var(--bg-raised) !important;
  color: var(--white) !important;
}
#navDemo {
  background: var(--bg) !important;
  border-bottom: 1px solid var(--border);
}
#navDemo a {
  color: var(--text) !important;
  font-family: 'Horizon', sans-serif;
}
#navDemo a:hover {
  background: var(--bg-raised) !important;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 30px;
  display: block;
}

.ttc-footer {
  color: var(--text-muted);
  font-size: 40px;
  margin: 0 15px;
  display: inline-block;
  vertical-align: middle;
  transition: color 0.2s ease;
}

@media (max-width: 600px) {
  .ttc-footer {
    font-size: 28px;
    margin: 0 10px;
  }
}
.ttc-footer:hover {
  color: var(--white);
}

.footer-legal {
  margin-top: 24px;
  font-family: 'Horizon', sans-serif;
  letter-spacing: 2px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin: 0 12px;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ── "To the top" button ────────────────────────────────── */
.w3-light-grey {
  background: var(--bg-raised) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
}
.w3-light-grey:hover {
  background: var(--border) !important;
  color: var(--white) !important;
}

/* ── Section containers ─────────────────────────────────── */
.w3-content {
  background: var(--bg);
  color: var(--text);
}

.about-bg .w3-content {
  background: transparent;
}

/* ── Latest Release section full-bleed background ──────────── */
.latest-bg {
  position: relative;
  background-image: url('../img/Website-BG-2.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.latest-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.82) 0%,
    rgba(13, 13, 13, 0.7) 50%,
    rgba(13, 13, 13, 0.88) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.latest-bg > * {
  position: relative;
  z-index: 1;
}

.latest-bg .w3-content {
  background: transparent;
}

h1,
h2 {
  color: var(--white);
}

h3 {
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
}

h4 {
  color: var(--text);
}

h5 {
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

p {
  color: var(--text);
}

/* ── Parallax images ─────────────────────────────────────── */
.bgimg-1,
.bgimg-2,
.bgimg-3 {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ── About section full-bleed background ───────────────────── */
.about-bg {
  position: relative;
  background-image: url('../img/Website-BG-2.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.82) 0%,
    rgba(13, 13, 13, 0.7) 50%,
    rgba(13, 13, 13, 0.88) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.about-bg > * {
  position: relative;
  z-index: 1;
}

body.about-bg {
  height: auto;
  min-height: 100%;
}

/* ── Sub-page content background ───────────────────────────── */
/* Safe to use on divs (not body) — does not affect navbar stacking context */
.page-bg {
  position: relative;
  background-image: url('../img/Website-BG-2.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.82) 0%,
    rgba(13, 13, 13, 0.7) 50%,
    rgba(13, 13, 13, 0.88) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.page-bg > * {
  position: relative;
  z-index: 1;
}

.page-bg .w3-content {
  background: transparent;
}

.bgimg-1 {
  background-image: url('../img/TTC-Band-2026-02-wide.jpg');
  background-position: top center;
  min-height: 100%;
  overflow-x: hidden;
}

.bgimg-2 {
  background-image: url('../img/i-felt-you-here-min.jpg');
  min-height: 400px;
}

.bgimg-3 {
  background-image: url('../img/TTC-Band-2026-01-profile.jpg');
  min-height: 400px;
}

/* Parallax label text */
.bgimg-2 .w3-display-middle span,
.bgimg-3 .w3-display-middle span {
  font-family: 'Horizon', sans-serif;
  color: var(--white);
  letter-spacing: 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

/* ── Teaser grid ─────────────────────────────────────────── */
.teaser-wrap {
  display: flex;
  justify-content: center;
  background: var(--bg);
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 960px;
}

.teaser-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 52px 40px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s ease;
}

.teaser-card:hover {
  background: var(--bg-raised);
}

.teaser-label {
  font-family: 'Horizon', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.teaser-sub {
  font-family: 'Horizon', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.teaser-arrow {
  font-family: 'Horizon', sans-serif;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition:
    letter-spacing 0.2s ease,
    color 0.2s ease;
}

.teaser-card:hover .teaser-arrow {
  letter-spacing: 3px;
  color: var(--white);
}

@media (max-width: 600px) {
  .teaser-grid {
    grid-template-columns: 1fr;
  }
  .teaser-card {
    padding: 36px 24px;
  }
}

/* ── Hero social icons ───────────────────────────────────── */

.hero-icon {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.6rem;
  margin: 0 10px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  display: inline-block;
}

.hero-icon:hover {
  color: var(--white);
  transform: translateY(-3px);
}

@media (min-width: 992px) {
  .hero-icon {
    font-size: 2.2rem;
    margin: 0 14px;
  }
}

/* ── Streaming logos ─────────────────────────────────────── */
.logo-link img {
  width: 120px;
  vertical-align: middle;
  text-align: center;
  filter: invert(1) brightness(0.7);
  transition: filter 0.2s ease;
}
.logo-link img:hover {
  filter: invert(1) brightness(1);
}

.logo-link {
  display: inline-block;
}

@media (max-width: 600px) {
  .logo-link img {
    width: 70px;
  }
}

/* ── Video ───────────────────────────────────────────────── */
.video-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* ── Member cards ────────────────────────────────────────── */
.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 32px;
}

.member-card {
  position: relative;
  overflow: hidden;
  background: #000;
  aspect-ratio: 3 / 4;
}

.member-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
  filter: grayscale(20%);
}

.member-card:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.member-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  color: var(--white);
  text-align: left;
}

.member-card-name {
  font-family: 'Horizon', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 2px;
  color: var(--white);
}

.member-card-role {
  font-family: 'Horizon', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

@media (max-width: 768px) {
  .member-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .member-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ── Contact section ────────────────────────────────────────── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg);
}

.contact-col {
  padding: 80px 64px;
}

.contact-heading {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  margin: 0 0 24px;
  line-height: 1.1;
}

.contact-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.contact-link {
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
  .contact-col {
    padding: 52px 32px;
  }
  .contact-heading {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .contact-col {
    padding: 40px 24px;
  }
  .contact-heading {
    font-size: 1.8rem;
  }
}

/* ── Bandsintown events table ───────────────────────────── */

.bit-loading,
.bit-no-shows,
.bit-error {
  font-family: 'Horizon', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 24px 0;
}

.bit-error {
  color: #c0504d;
}

.bit-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  table-layout: auto;
}

.bit-table thead tr {
  border-bottom: 1px solid var(--border);
}

.bit-table thead th {
  font-family: 'Horizon', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 16px 10px 0;
  text-align: left;
  font-weight: normal;
}

.bit-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}

.bit-table tbody tr:hover {
  background: var(--bg-raised);
}

.bit-table td {
  padding: 18px 16px 18px 0;
  vertical-align: middle;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Date column */
.bit-col-date {
  white-space: nowrap;
  min-width: 110px;
}

.bit-date-day {
  display: block;
  font-family: 'Horizon', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--white);
}

.bit-date-time {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Venue column */
.bit-col-venue {
  font-weight: 600;
  color: var(--white);
  min-width: 140px;
}

/* Location column */
.bit-col-location {
  color: var(--text-muted);
  min-width: 120px;
}

/* Description column */
.bit-col-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Actions column */
.bit-col-actions {
  text-align: right;
  white-space: nowrap;
  padding-right: 0;
}

/* CTA buttons */
.bit-btn {
  display: inline-block;
  font-family: 'Horizon', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid var(--border);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.bit-btn--tickets {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.bit-btn--tickets:hover {
  background: transparent;
  color: var(--accent);
}

.bit-btn--rsvp {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.bit-btn--rsvp:hover {
  background: var(--bg-raised);
  color: var(--white);
  border-color: var(--text-muted);
}

/* Past shows: slightly dimmer */
.bit-table--past tbody tr {
  opacity: 0.65;
}

.bit-table--past tbody tr:hover {
  opacity: 1;
}

/* Responsive: collapse less important columns on small screens */
@media (max-width: 640px) {
  .bit-col-desc {
    display: none;
  }

  .bit-col-location {
    display: none;
  }

  .bit-table td,
  .bit-table th {
    padding: 14px 10px 14px 0;
  }
}

@media (max-width: 400px) {
  .bit-col-actions {
    display: none;
  }
}

/* ── Misc W3 overrides ───────────────────────────────────── */
.w3-wide {
  letter-spacing: 10px;
}
.w3-hover-opacity {
  cursor: pointer;
}

/* Prevent buttons from overflowing on mobile */
.w3-button {
  white-space: normal !important;
}

/* Turn off parallax on mobile */
@media only screen and (max-width: 600px) {
  .bgimg-1,
  .bgimg-2,
  .bgimg-3 {
    background-attachment: scroll;
    min-height: 400px;
  }

  /* Reduce letter-spacing on parallax labels to prevent overflow */
  .bgimg-2 .w3-display-middle span,
  .bgimg-3 .w3-display-middle span {
    letter-spacing: 4px;
  }

  /* Prevent w3-wide letter-spacing from adding phantom width on images */
  img.w3-wide {
    letter-spacing: 0;
  }
}
