/* ===========================================================
   TrebleMakers YYC — site styles
   Dark, photo-driven look inspired by the original GoDaddy build
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #161616;
  --bg-soft: #1f1f1f;
  --bg-elev: #252525;
  --text: #f7f7f7;
  --muted: #b8b8b8;
  --paper: #fffaf2;
  --ink: #161616;
  --accent: #f6b342;
  --accent-2: #e34864;
  --line: rgba(255,255,255,.10);
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 14px;
  --max: 1180px;
  --display: 'Archivo Black', Impact, 'Helvetica Neue', Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 1rem; background: var(--accent); color: #000; padding: .75rem 1rem; border-radius: 999px; z-index: 10; }
.skip-link:focus { left: 1rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  border-bottom: 1px solid var(--line);
  background: #161616;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.logo { height: 50px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-family: var(--display);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a.button { color: #1b1026; }
.menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .85rem 1.4rem;
  border: 0;
  border-radius: 4px;
  background: #1584d4;
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.button:hover { background: #0f6cb0; }
.button.small { min-height: 38px; padding: .55rem 1rem; font-size: .72rem; }
.button.ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.button.ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.button.light { background: var(--paper); color: var(--ink); }
.button.light:hover { background: #f0e6d2; }

/* ---------- Headings ---------- */
h1, h2, h3 { line-height: 1.1; margin: 0 0 1rem; font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: .01em; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: .01em; text-transform: uppercase; }
h3 { font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; }

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-family: var(--display);
  font-size: .75rem;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 720px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: 4rem 0 4rem;
  background: #000;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.hero-logo {
  display: block;
  width: min(100%, 900px);
  height: auto;
  margin: 0 auto 4rem;
}
.hero-inner { max-width: 780px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: .02em;
  margin-bottom: 1rem;
}
.hero .lead {
  color: #ececec;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.6rem;
}
.hero-tag {
  display: inline-block;
  margin-bottom: 2.2rem;
  padding: .45rem .9rem;
  background: var(--accent);
  color: #161616;
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: 2px;
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section.dark { background: #1a1a1a; }
.section.darker { background: #131313; }

.two-col { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.two-col p { color: var(--muted); font-size: 1.05rem; }

.section-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-header a { color: var(--accent); text-decoration: none; font-family: var(--display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.section-header a:hover { color: #ffd884; }

/* ---------- Members ---------- */
.members-photo {
  margin: 1.5rem auto 2.5rem;
  max-width: 720px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.members-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.member-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  text-align: center;
}
.member-list li {
  padding: .65rem 0;
  font-size: 1.1rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.member-list li:last-child { border-bottom: 0; }
.member-list strong {
  font-family: var(--display);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: .03em;
  margin-right: .35rem;
}

/* ---------- Photo gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
.gallery a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #0c0c0c;
  aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, opacity .3s ease;
  opacity: .92;
}
.gallery a:hover img { transform: scale(1.04); opacity: 1; }

/* ---------- Cards (shows / videos) ---------- */
.cards.three, .video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.show-card, .video-card, .contact-card, .side-card, .booking-note {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.video-card p, .show-card p, .side-card p, .contact-card p { color: var(--muted); }

.video-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .2s ease;
}
.video-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .3s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.04); filter: brightness(.7); }
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'><path d='M66.52 7.74a8.21 8.21 0 0 0-5.79-5.82C55.62.5 34 .5 34 .5s-21.62 0-26.73 1.42a8.21 8.21 0 0 0-5.79 5.82A85.06 85.06 0 0 0 .5 24a85.06 85.06 0 0 0 .98 16.26 8.21 8.21 0 0 0 5.79 5.82C12.38 47.5 34 47.5 34 47.5s21.62 0 26.73-1.42a8.21 8.21 0 0 0 5.79-5.82A85.06 85.06 0 0 0 67.5 24a85.06 85.06 0 0 0-.98-16.26z' fill='%23ff0000'/><path d='M27 34l18-10-18-10z' fill='%23fff'/></svg>") no-repeat center / 64px;
  pointer-events: none;
  opacity: .92;
  transition: opacity .2s ease, transform .2s ease;
}
.video-card:hover .video-thumb::after { opacity: 1; transform: scale(1.08); }
.video-body { padding: 1rem 1.2rem 1.2rem; }
.video-body h3 { margin: 0 0 .35rem; }
.video-body p { margin: 0; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: 5rem 0 3rem;
  background: #1a1a1a;
  border-bottom: 1px solid var(--line);
}
.page-hero.compact h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p { color: var(--muted); max-width: 720px; }

/* ---------- Shows list ---------- */
.show-list { display: grid; gap: 1rem; }
.show-list .show-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: center;
}
.show-list .show-card h2 { font-size: 1.25rem; margin-bottom: .35rem; }
.show-list .show-card p { margin: .15rem 0; }
.date-pill {
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1b1026;
  font-family: var(--display);
  letter-spacing: .04em;
  text-align: center;
  padding: 1rem .5rem;
  font-size: 1rem;
  text-transform: uppercase;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--accent-2), #7e38cb);
  text-align: center;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,.88); max-width: 620px; margin: 0 auto 1.4rem; }

/* ---------- Forms / contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 1rem; align-items: start; }
form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .4rem; font-weight: 700; color: var(--text); font-size: .92rem; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.05);
  color: var(--text);
  font: inherit;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { resize: vertical; }
.hidden { display: none; }

.side-card ul { padding-left: 1.1rem; color: var(--muted); }
.side-card li { margin: .3rem 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.2rem;
  background: #0f0f0f;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 2rem;
}
.footer-brand { font-family: var(--display); font-size: 1.1rem; margin: 0 0 .6rem; letter-spacing: .04em; }
.footer-heading { font-family: var(--display); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .8rem; color: var(--accent); }
.site-footer p { color: var(--muted); margin: 0 0 .5rem; }
.site-footer a { display: block; color: var(--muted); text-decoration: none; margin: .35rem 0; }
.site-footer a:hover { color: var(--text); }
.copyright { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; text-align: center; }
.copyright p { font-size: .85rem; }

/* ---------- Social icons ---------- */
.socials { display: flex; gap: .6rem; flex-wrap: wrap; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.socials a:hover { color: #fff; transform: translateY(-1px); }
.socials a.facebook:hover  { background: #1877f2; border-color: #1877f2; }
.socials a.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border-color: transparent; }
.socials a.youtube:hover   { background: #ff0000; border-color: #ff0000; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    border-radius: 4px;
    padding: .55rem .85rem;
    font-family: var(--display);
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .site-nav {
    position: absolute;
    inset: 100% 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .8rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #1a1a1a;
  }
  .site-nav.open { display: flex; }
  .hero { padding: 5rem 0 4rem; min-height: 70vh; }
  .two-col, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .cards.three, .video-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .show-list .show-card { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .cards.three, .video-grid, .gallery { grid-template-columns: 1fr; }
}
