/* ════════════════════════════════════════════════════════
   Limbo Kimbo — stylesheet
   ════════════════════════════════════════════════════════ */

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

:root {
  --cream:       #F7F4EE;
  --ink:         #1A1A18;
  --orange:      #E8501A;
  --sand:        #D6C9B0;
  --mid:         #6B6458;
  --white:       #FFFFFF;
  --hero-height: clamp(60px, 21vw, 240px); /* ✏️ Adjust hero/banner height here */
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  /* Push content below the fixed hero banner */
  padding-top: var(--hero-height);
}

/* ─── HERO / NAV (combined) ───────────────────────────── */
.hero {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--hero-height);
  overflow: hidden;

  /*
    ✏️  FALLBACK IMAGE (shown on mobile/low-power or if video fails)
    Update this to match the poster attribute on your <video> tag.
  */
  background-image: url('photos/banniereLK.jpg');
  background-size: cover;
  background-position: center 30%;

  /* Full-width container; hamburger is absolutely positioned */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── VIDEO BACKGROUND ────────────────────────────────── */
/*
  ✏️  The <video> tag in index.html points to videos/hero-loop.mp4
  Place your video file there. Ideal specs:
    - Duration: 10–30 seconds, seamlessly looping
    - Resolution: 1280×720 or 1920×1080
    - Codec: H.264 (MP4) + VP9 (WebM) for best compatibility
    - File size: keep under 10 MB for fast loading
  On iOS/Android, autoplay works because the video is muted + playsinline.
  If the video file is missing, the poster image shows as fallback.
*/
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* Disable pointer events so clicks pass through to the UI */
  pointer-events: none;
}

/* Dark overlay — keeps logo & icons readable over any video content */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,24,0.42) 0%,
    rgba(26,26,24,0.22) 100%
  );
  z-index: 1;
}

/* Centre column — logo + social icons stacked vertically, truly centered */
.hero-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/*
  ✏️  LOGO SIZE
  Adjust max-height to make your logo larger or smaller.
  65% of hero height leaves room for the social icons below.
*/
.hero-logo img {
  max-height: calc(var(--hero-height) * 0.65);
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(26,26,24,0.55));
}

.hero-logo-fallback {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 3.5rem);
  letter-spacing: 0.06em;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(26,26,24,0.5);
  display: none;
}

/* Social icons — below the logo */
.hero-social {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: rgba(247,244,238,0.80);
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.hero-social a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

.hero-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

/* Hamburger — absolutely positioned so it never affects the center */
.hero-right {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-sep {
  width: 1px;
  height: 22px;
  background: rgba(247,244,238,0.35);
}

/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.hamburger:hover { background: rgba(255,255,255,0.15); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(247,244,238,0.9);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Slide-in menu panel */
.nav-menu {
  position: fixed;
  top: var(--hero-height);
  right: 0;
  width: min(260px, 80vw);
  background: var(--white);
  border-left: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  border-radius: 0 0 0 8px;
  box-shadow: -4px 6px 28px rgba(26,26,24,0.12);
  padding: 0.8rem 0;
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  z-index: 199;
}

.nav-menu.open { transform: translateX(0); }

.nav-menu a {
  display: block;
  padding: 0.9rem 1.8rem;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
}

.nav-menu a:hover {
  color: var(--orange);
  background: rgba(232,80,26,0.05);
}

/* Overlay closes menu on outside tap */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 198;
}
.nav-overlay.open { display: block; }

/* ─── SECTION BASE ────────────────────────────────────── */
section { padding: 5rem 2rem; }

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

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

/* ─── ABOUT ───────────────────────────────────────────── */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: 1rem;
}
.about-text p:last-child { margin-bottom: 0; }

/* Photo gallery */
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

/*
  ✏️  BAND PHOTOS — add 3 to 6 .about-photo divs in index.html.
  Each needs a background-image pointing to your photo file.
*/
.about-photo {
  border-radius: 3px;
  overflow: hidden;
  background-color: var(--sand);
  background-size: cover;
  background-position: center;
  aspect-ratio: 4/3;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(26,26,24,0.14);
}

/* First photo spans full width */
.about-photo:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

/* 5th photo (when it's also the last) spans full width */
.about-photo:nth-child(5):last-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

/* ─── DIVIDER ─────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--orange), var(--sand), transparent);
  opacity: 0.4;
}

/* ─── VIDEOS ──────────────────────────────────────────── */
#videos { background: var(--cream); }

.video-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.video-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(26,26,24,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26,26,24,0.13);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-caption {
  padding: 1rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--mid);
}

/* ─── SHOWS ───────────────────────────────────────────── */
#shows { background: var(--ink); color: var(--cream); }
#shows .section-title { color: var(--cream); }

.show-list { margin-top: 2rem; display: flex; flex-direction: column; }

.show-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(214,201,176,0.15);
}
.show-item:first-child { border-top: 1px solid rgba(214,201,176,0.15); }

.show-date {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--orange);
  min-width: 70px;
  line-height: 1;
}

.show-info { flex: 1; }
.show-venue { font-weight: 500; font-size: 1rem; }
.show-location { font-size: 0.82rem; color: var(--sand); margin-top: 0.2rem; font-style: italic; }

.show-ticket {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  border: 1px solid var(--orange);
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
  transition: all 0.2s;
  white-space: nowrap;
}
.show-ticket:hover { background: var(--orange); color: var(--white); }

/* ─── CONTACT ─────────────────────────────────────────── */
#contact { background: var(--cream); text-align: center; }

.contact-sub {
  font-size: 1rem;
  color: var(--mid);
  margin-bottom: 2rem;
}

.contact-email {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--orange);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.contact-email:hover { color: var(--orange); }

.social-links {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mid);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.social-link svg { width: 15px; height: 15px; fill: currentColor; }
.social-link:hover { color: var(--orange); }

/* ─── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--sand);
  text-align: center;
  padding: 1.8rem 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
footer span { color: var(--orange); }

/* ─── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 680px) {
  :root {
    --hero-height: clamp(70px, 28vw, 160px);
  }

  .hero-right { right: 0.6rem; }
  /* Slightly smaller social icons on small screens */
  .hero-social a { width: 26px; height: 26px; }
  .hero-social svg { width: 14px; height: 14px; }

  section { padding: 3.5rem 1.2rem; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photos { order: 1; }
  .about-text   { order: 0; }

  .show-item { flex-wrap: wrap; gap: 0.8rem; }
}
