/* ═══════════════════════════════════════════════════
   UNCLE BILLY'S BLUES EXPERIENCE — Main Stylesheet
   ═══════════════════════════════════════════════════ */

/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #0d0a07;
  color: #e8dcc8;
  font-family: 'Lato', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Navigation ──────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1.1rem 0;
  background: rgba(10, 7, 4, 0.0);
  backdrop-filter: blur(0px);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 7, 4, 0.92);
  backdrop-filter: blur(14px);
  border-color: rgba(200, 151, 58, 0.2);
}

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

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 5px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c8973a;
  text-decoration: none;
  transition: color 0.25s, text-shadow 0.25s;
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(200, 151, 58, 0.8);
}

/* ── Neon Text ───────────────────────────────────── */
.neon-text {
  color: #c8e8ff;
  text-shadow:
    0 0 5px rgba(255,255,255,0.6),
    0 0 12px rgba(255,255,255,0.3),
    0 0 28px #0088cc,
    0 0 55px #0066aa,
    0 0 100px #004488,
    0 0 140px #003366;
}

.neon-dim {
  color: #a8d4f0;
  text-shadow:
    0 0 4px rgba(255,255,255,0.4),
    0 0 14px #0077bb,
    0 0 35px #005599,
    0 0 65px #003366;
}

/* ── Flicker Animations ──────────────────────────── */
@keyframes flicker-a {
  0%,  17%, 19%, 21%, 52%, 56%, 100% {
    color: #c8e8ff;
    text-shadow:
      0 0 5px rgba(255,255,255,0.6),
      0 0 12px rgba(255,255,255,0.3),
      0 0 28px #0088cc,
      0 0 55px #0066aa,
      0 0 100px #004488;
  }
  18%, 20%, 53%, 55% {
    color: rgba(160, 210, 240, 0.2);
    text-shadow: none;
  }
}

@keyframes flicker-b {
  0%,  33%, 35%, 37%, 70%, 73%, 100% {
    color: #c8e8ff;
    text-shadow:
      0 0 5px rgba(255,255,255,0.6),
      0 0 12px rgba(255,255,255,0.3),
      0 0 28px #0088cc,
      0 0 55px #0066aa,
      0 0 100px #004488;
  }
  34%, 36%, 71%, 72% {
    color: rgba(160, 210, 240, 0.15);
    text-shadow: none;
  }
}

@keyframes flicker-c {
  0%,  44%, 46%, 80%, 83%, 100% {
    color: #c8e8ff;
    text-shadow:
      0 0 5px rgba(255,255,255,0.6),
      0 0 12px rgba(255,255,255,0.3),
      0 0 28px #0088cc,
      0 0 55px #0066aa,
      0 0 100px #004488;
  }
  45%, 81%, 82% {
    color: rgba(160, 210, 240, 0.1);
    text-shadow: none;
  }
}

.flicker { display: inline-block; }

.f1 { animation: flicker-a 5.2s infinite 0.0s; }
.f2 { animation: flicker-b 6.8s infinite 1.4s; }
.f3 { animation: flicker-a 4.7s infinite 2.9s; }
.f4 { animation: flicker-c 7.1s infinite 0.7s; }
.f5 { animation: flicker-b 5.9s infinite 3.6s; }

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #1a0f05;
  background-image: url('images/blues.png');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* soft dark vignette centered on the text to boost contrast */
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0, 0, 0, 0.52) 0%, transparent 100%),
    /* top-to-bottom fade */
    linear-gradient(to bottom,
      rgba(8, 5, 2, 0.60) 0%,
      rgba(8, 5, 2, 0.22) 28%,
      rgba(8, 5, 2, 0.28) 58%,
      rgba(8, 5, 2, 0.88) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 150px 2rem 0;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #c8973a;
  margin-bottom: 2rem;
  opacity: 0.85;
}

.band-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  line-height: 1.05;
  color: #c8e8ff;
  text-shadow:
    0 0 5px rgba(255,255,255,0.6),
    0 0 12px rgba(255,255,255,0.3),
    0 0 28px #0088cc,
    0 0 55px #0066aa,
    0 0 100px #004488,
    0 0 140px #003366;
}

.band-line-1,
.band-line-3 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  letter-spacing: 5px;
}

.band-line-blues {
  font-size: clamp(4rem, 13vw, 10rem);
  letter-spacing: 12px;
  display: block;
  /* intensified glow for the centerpiece word */
  text-shadow:
    0 0 6px rgba(255,255,255,0.65),
    0 0 14px rgba(255,255,255,0.3),
    0 0 32px #0088cc,
    0 0 65px #0066aa,
    0 0 120px #004488,
    0 0 180px #003366;
}

.hero-rule {
  width: 100px;
  height: 1px;
  background: linear-gradient(to right, transparent, #c8973a, transparent);
  margin: 2.2rem auto 1.8rem;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: #c8973a;
  letter-spacing: 5px;
  margin-bottom: 1.8rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8), 0 0 18px rgba(200, 151, 58, 0.5);
}

.hero-description {
  max-width: 640px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.hero-desc-line {
  font-family: 'Playfair Display', serif;
  font-style: normal;
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: rgba(232, 220, 200, 0.92);
  line-height: 1.6;
  margin-bottom: 0.55rem;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.95), 0 0 3px rgba(0,0,0,0.7);
}

.hero-cta {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c8973a;
  border: 1px solid #c8973a;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.hero-cta:hover {
  background: rgba(200, 151, 58, 0.12);
  color: #fff;
  box-shadow: 0 0 20px rgba(200, 151, 58, 0.3);
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #0d0a07);
  pointer-events: none;
}

/* ── About Section ───────────────────────────────── */
.about {
  padding: 7rem 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 20%, rgba(40, 24, 5, 0.7) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(20, 10, 2, 0.8) 0%, transparent 55%),
    #0d0a07;
}

.section-title-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 4.5rem;
}

.section-title {
  font-family: 'Special Elite', cursive;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #2c1a08;
  letter-spacing: 6px;
  text-transform: uppercase;
}

/* ── About Grid ──────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.photo-frame {
  position: relative;
  display: inline-block;
  width: 100%;
}

.band-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: sepia(10%) contrast(1.06) brightness(0.93);
  border: 2px solid rgba(200, 151, 58, 0.35);
  box-shadow:
    0 6px 40px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(200, 151, 58, 0.1),
    inset 0 0 40px rgba(0, 0, 0, 0.2);
}

.photo-gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(200, 151, 58, 0.06) 0%,
    transparent 45%,
    rgba(0, 0, 0, 0.18) 100%
  );
  pointer-events: none;
}

.about-bio-poster {
  font-size: 0.95rem;
  line-height: 1.95;
}

.about-bio-poster p + p {
  margin-top: 1.1rem;
}

.poster-drop-cap::first-letter {
  font-size: 3em;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  float: left;
  line-height: 0.75;
  margin: 0.05em 0.08em 0 0;
  color: #5c3d1e;
}

/* ── Members ─────────────────────────────────────── */
.members-heading {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 380px;
  margin: 0 auto 3.5rem;
}

.gold-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200, 151, 58, 0.5));
}

.gold-line:last-child {
  background: linear-gradient(to left, transparent, rgba(200, 151, 58, 0.5));
}

.members-label {
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(200, 151, 58, 0.65);
  white-space: nowrap;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.member-card {
  text-align: center;
  padding: 2rem 1.5rem 1.8rem;
}

.member-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(200, 151, 58, 0.1);
  border: 1px solid rgba(200, 151, 58, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem;
  color: #c8973a;
}

.member-name {
  font-family: 'Special Elite', cursive;
  font-size: 1.05rem;
  color: #2c1a08;
  margin-bottom: 0.25rem;
}

.member-role {
  font-family: 'Special Elite', cursive;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #7a5230;
}

/* ── Band Story Section ──────────────────────────── */
.band-story-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.band-story-poster {
  max-width: 720px;
  width: 100%;
  text-align: left;
  padding: 2.5rem 3rem;
}

.band-story-poster p {
  font-family: 'Special Elite', cursive;
  font-size: 0.95rem;
  color: #2c1a08;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.kort-sagt-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(44, 26, 8, 0.2);
  text-align: center;
}

.kort-sagt-label {
  font-family: 'Lato', sans-serif !important;
  font-size: 0.7rem !important;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #7a5230 !important;
  margin-bottom: 0.8rem !important;
  opacity: 0.75;
}

.kort-sagt-tagline {
  font-family: 'Special Elite', cursive !important;
  font-size: 1.1rem !important;
  color: #2c1a08 !important;
  line-height: 1.5 !important;
  margin-bottom: 0.2rem !important;
}

/* ── Poster Component ────────────────────────────── */
.poster {
  position: relative;
  padding: 2rem 1.8rem;
  background-color: #ede0c4;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  border: 1px solid #9b7b52;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.25),
    0 6px 20px rgba(0,0,0,0.45),
    0 18px 50px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -1px 0 rgba(0,0,0,0.05);
  margin-top: 22px;
  font-family: 'Special Elite', cursive;
  color: #2c1a08;
  transform-origin: top center;
}

/* Nail — perspective SVG: face + rim edge + shank */
.poster::before {
  content: '';
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 52px;
  background: url('images/nail-a.svg') center top / contain no-repeat;
  z-index: 2;
}

.poster::after { display: none; }

.poster-center {
  text-align: center;
  padding: 1.5rem 3rem;
}

.poster-left-tilt  { transform: rotate(-2.2deg); }
.poster-right-tilt { transform: rotate(1.8deg); }
.poster-right      { transform: rotate(1.2deg); }

/* Alternate nail variant for the bio poster */
.poster-right-tilt::before {
  width: 40px;
  height: 48px;
  top: -34px;
  background-image: url('images/nail-b.svg');
}

/* ── Musikken Section ────────────────────────────── */
.musikken {
  padding: 7rem 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(30, 15, 4, 0.8) 0%, transparent 70%),
    #0d0a07;
  border-top: 1px solid rgba(200, 151, 58, 0.12);
}

.video-outer {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.video-wrap {
  position: relative;
  width: 100%;
  max-width: 820px;
  aspect-ratio: 16 / 9;
  border: 2px solid rgba(200, 151, 58, 0.3);
  box-shadow:
    0 0 0 1px rgba(200, 151, 58, 0.08),
    0 8px 40px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(0, 0, 0, 0.5);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Contact Section ─────────────────────────────── */
.contact {
  padding: 7rem 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.008) 0px,
      rgba(255,255,255,0.008) 1px,
      transparent 1px,
      transparent 70px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.008) 0px,
      rgba(255,255,255,0.008) 1px,
      transparent 1px,
      transparent 70px
    ),
    #100c07;
  border-top: 1px solid rgba(200, 151, 58, 0.12);
}

.contact-band-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.contact-band-photo {
  width: 100%;
  max-width: 680px;
  height: 420px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  filter: sepia(8%) contrast(1.05) brightness(0.92);
  border: 2px solid rgba(200, 151, 58, 0.35);
  box-shadow:
    0 6px 40px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(200, 151, 58, 0.1);
}

.contact-sub {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: rgba(232, 220, 200, 0.45);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  margin-top: -2rem;
}

.contact-person {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: #c8973a;
  margin-bottom: 3.5rem;
  opacity: 0.85;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 680px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  padding: 2.5rem 2rem 2rem;
}

.contact-icon {
  display: block;
  font-size: 2rem;
  color: #a06e28;
  margin-bottom: 1.1rem;
}

.contact-label {
  font-family: 'Special Elite', cursive;
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #7a5230;
  margin-bottom: 0.5rem;
}

.contact-value {
  font-family: 'Special Elite', cursive;
  font-size: 1rem;
  color: #2c1a08;
  word-break: break-word;
  overflow-wrap: break-word;
}

.poster-center .section-title {
  white-space: nowrap;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  padding: 3rem 2rem;
  text-align: center;
  background: #070503;
  border-top: 1px solid rgba(200, 151, 58, 0.1);
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 5px;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(200, 151, 58, 0.35);
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.footer-route {
  font-size: 0.68rem;
  letter-spacing: 3px;
  color: rgba(232, 220, 200, 0.18);
  text-transform: uppercase;
}

/* ── Navbar scroll behaviour (JS hook) ──────────── */
/* Applied via JS below */

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .band-photo {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  /* Navbar */
  .nav-inner {
    max-width: 100%;
    padding: 0 1.2rem;
  }

  .nav-logo {
    font-size: 0.78rem;
    letter-spacing: 3px;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.68rem;
    letter-spacing: 2px;
  }

  /* Hero */
  .hero-content {
    padding: 100px 1.2rem 0;
  }

  .hero-desc-line {
    font-size: clamp(0.9rem, 4.5vw, 1.1rem);
  }

  .hero-rule {
    margin: 1.4rem auto 1.2rem;
  }

  .hero {
    background-attachment: scroll; /* iOS fix */
  }

  .band-line-blues {
    letter-spacing: 6px;
  }

  /* About */
  .members-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .band-story-poster {
    padding: 2rem 1.5rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .contact-band-photo {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  /* Video */
  .video-wrap {
    border-width: 1px;
  }

  /* Poster */
  .poster-center {
    padding: 1.2rem 1.5rem;
  }

  .section-title {
    font-size: 1.2rem;
    letter-spacing: 4px;
  }
}

/* ── Scroll JS ───────────────────────────────────── */
/* Tiny inline script at end of body adds .scrolled to navbar */
