/* BLUJAY AIRHORN — Premium Dark Club Aesthetic */
:root {
  --bg: #050505;
  --bg-elev: #0a0a0a;
  --bg-card: #111;
  --accent: #00f0ff;
  --accent2: #a020f0;
  --accent3: #ff2a6d;
  --text: #f5f5f5;
  --text-dim: #888;
  --border: #222;
  --glow: 0 0 20px rgba(0, 240, 255, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system_ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Typography */
h1, h2, .section-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.23, 1.0, 0.32, 1);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.btn-primary:hover {
  background: #fff;
  border-color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

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

.btn-outline:hover {
  background: var(--text);
  color: #000;
}

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

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-large {
  padding: 18px 36px;
  font-size: 14px;
}

.btn-small {
  padding: 8px 18px;
  font-size: 11px;
}

.btn-block {
  width: 100%;
  padding: 18px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(5, 5, 5, 0.98);
  border-bottom-color: #1a1a1a;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -1px;
  display: flex;
  gap: 2px;
}

.logo-blu { color: var(--text); }
.logo-air { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 42px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(160, 32, 240, 0.06) 0%, transparent 60%);
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, rgba(0,240,255,0.12) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 980px;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--accent);
  background: rgba(0, 240, 255, 0.08);
  padding: 6px 18px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  margin-bottom: 32px;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(68px, 9vw, 124px);
  line-height: 0.92;
  font-weight: 600;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.title-accent {
  color: var(--accent);
  text-shadow: 0 0 60px rgba(0, 240, 255, 0.4);
}

.hero-subtitle {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto 48px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-dim);
  z-index: 10;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
}

.hero-stat {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 42px;
  z-index: 10;
  font-size: 13px;
}

.hero-stat div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero-stat strong {
  font-size: 22px;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
  color: var(--accent);
}

.hero-stat span {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-dim);
}

/* Sections */
.section {
  padding: 120px 40px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-label.light {
  color: rgba(255,255,255,0.6);
}

.section-title {
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 1.05;
  max-width: 18ch;
}

/* About */
.about {
  background: var(--bg-elev);
}

.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 90px;
  align-items: center;
}

.about-image {
  position: relative;
}

.image-frame {
  position: relative;
  overflow: hidden;
  background: #000;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
  filter: contrast(1.05) saturate(1.1);
}

.about:hover .image-frame img {
  transform: scale(1.035);
}

.image-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(0, 240, 255, 0.1) 0%,
    transparent 40%,
    rgba(160, 32, 240, 0.08) 70%
  );
  pointer-events: none;
}

.about-label {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 2px;
  border: 1px solid rgba(255,255,255,0.15);
}

.about-content {
  padding-right: 40px;
}

.about-text {
  font-size: 17px;
  line-height: 1.75;
  color: #ccc;
  margin: 32px 0;
}

.about-text p {
  margin-bottom: 18px;
}

.about-stats {
  display: flex;
  gap: 60px;
  margin: 42px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin-top: 6px;
}

.about-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.genre {
  font-size: 11px;
  padding: 7px 18px;
  border: 1px solid var(--border);
  letter-spacing: 1.5px;
  transition: all 0.2s ease;
}

.genre:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Sound / Tracks */
.sound {
  background: var(--bg);
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.track {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.track:hover {
  border-color: #333;
  transform: translateY(-2px);
}

.track::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
  transition: height 0.3s ease;
}

.track:hover::before {
  height: 100%;
}

.track-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.track-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  flex: 1;
}

.track-duration {
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.track-meta {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.track-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.track-tags {
  display: flex;
  gap: 8px;
}

.tag {
  font-size: 9px;
  padding: 2px 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  letter-spacing: 1px;
}

/* Events */
.events {
  background: var(--bg-elev);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 920px;
}

.event {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 40px;
  background: var(--bg-card);
  padding: 26px 34px;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.event:hover {
  border-color: #333;
}

.event-date {
  display: flex;
  flex-direction: column;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
}

.event-date .month {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--text-dim);
}

.event-date .day {
  font-size: 46px;
  font-weight: 600;
  color: var(--accent);
  margin-top: -6px;
}

.event-name {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 4px;
}

.event-venue {
  color: var(--text-dim);
  font-size: 15px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.event-tag {
  font-size: 10px;
  padding: 4px 11px;
  border: 1px solid var(--border);
  letter-spacing: 1.5px;
  color: var(--text-dim);
  white-space: nowrap;
}

.event-tag.sold-out {
  color: var(--accent3);
  border-color: rgba(255, 42, 109, 0.3);
}

.events-cta {
  margin-top: 72px;
  text-align: center;
  font-size: 15px;
  color: var(--text-dim);
}

.events-cta p {
  margin-bottom: 18px;
}

/* Residency / Recurring block */
.residency {
  margin-bottom: 48px;
}

.residency-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  padding: 26px 34px;
}

.residency-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
  font-size: 14px;
}

.residency-time {
  color: var(--text-dim);
  font-size: 13px;
}

.events-subhead {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin: 32px 0 16px;
  text-transform: uppercase;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
  filter: contrast(1.2) saturate(1.15) brightness(0.95);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item .gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 2;
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* Book */
.book {
  background: var(--bg);
}

.book-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 80px;
  align-items: center;
}

.book-text {
  font-size: 17px;
  color: #aaa;
  margin: 28px 0 38px;
}

.contact-link {
  display: inline-block;
  font-size: 21px;
  color: var(--accent);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #fff;
}

.contact-note {
  font-size: 13px;
  color: var(--text-dim);
}

.book-form {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 42px;
}

.book-form input,
.book-form textarea {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 16px 18px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 14px;
  transition: border-color 0.2s ease;
}

.book-form input:focus,
.book-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.book-form textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-disclaimer {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 18px;
  letter-spacing: 0.5px;
}

/* Footer */
.footer {
  background: #000;
  padding: 42px 40px;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.footer-socials {
  display: flex;
  gap: 28px;
}

.footer-socials a {
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--accent);
}

.footer-legal {
  font-size: 11px;
  color: #444;
  letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  color: #fff;
  font-size: 52px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 42px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
}

.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: #888;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #050505;
    flex-direction: column;
    padding: 30px 40px;
    gap: 22px;
    border-bottom: 1px solid var(--border);
  }
  
  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-content {
    padding-right: 0;
  }

  .book-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-stat {
    position: static;
    justify-content: center;
    margin-top: 60px;
    flex-wrap: wrap;
  }

  .player-content {
    flex-wrap: wrap;
    gap: 16px;
  }

  .player-info {
    min-width: 100%;
    order: -1;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 80px 24px;
  }

  .nav-inner {
    padding: 16px 24px;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-title {
    font-size: 62px;
  }

  .event {
    grid-template-columns: 80px 1fr;
    gap: 24px;
  }

  .event-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
  }

  .residency-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .residency-meta {
    align-items: flex-start;
    text-align: left;
  }

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

/* Fun Airhorn visual pulse */
@keyframes hornPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 42, 109, 0.6); }
  50% { box-shadow: 0 0 0 22px rgba(255, 42, 109, 0); }
}

.horn-blasting {
  animation: hornPulse 420ms ease-out;
}

/* Subtle canvas particles for hero */
#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: screen;
}