/* ═══════════════════════════════════════════════════════
   lifespark. — Band Page Stylesheet
   Visual Identity: Cabazon + Montserrat, #EDB318 Signature
   ═══════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Cabazon';
  src: url('../assets/fonts/cabazon.woff2') format('woff2'),
       url('../assets/fonts/cabazon.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-deep:       #111111;
  --bg-warm:       #1a1614;
  --bg-card:       rgba(24,22,20,0.85);
  --glow-primary:  #EDB318;
  --glow-amber:    #f29966;
  --glow-light:    #fdfae7;
  --glow-copper:   #8c402e;
  --accent-coral:  #f26b76;
  --accent-purple: #3c3d59;
  --text-light:    #fdfae7;
  --text-muted:    #9a8e82;
  --text-body:     #c8bfb4;
  --font-display:  'Cabazon', 'UnifrakturCook', cursive;
  --font-body:     'Montserrat', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-body);
  background: var(--bg-deep);
  overflow-x: hidden;
  line-height: 1.7;
}

a { color: var(--glow-primary); text-decoration: none; transition: color 0.3s, text-shadow 0.3s; }
a:hover { color: var(--glow-light); text-shadow: 0 0 12px rgba(237,179,24,0.3); }

.container { width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }

/* ── Navigation ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.7) 70%, transparent 100%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: padding 0.3s;
}
.site-nav.scrolled { padding: 0.5rem 0; background: rgba(17,17,17,0.95); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 64rem; margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--text-light);
  text-shadow: 0 0 20px rgba(237,179,24,0.2);
  transition: text-shadow 0.3s;
}
.nav-logo:hover { color: var(--text-light); text-shadow: 0 0 30px rgba(237,179,24,0.4); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--glow-primary); text-shadow: none; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text-light);
  margin: 5px 0; transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url('../assets/images/wiesbaden-web.jpg');
  background-size: cover; background-position: center 30%;
  filter: brightness(0.35) saturate(0.8);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(17,17,17,0.3) 0%,
    rgba(17,17,17,0.1) 40%,
    rgba(17,17,17,0.5) 70%,
    rgba(17,17,17,1) 100%
  );
}
.hero-content {
  padding: 2rem 1rem;
  animation: hero-fade 2s ease-out both;
}
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 14vw, 8rem);
  color: var(--text-light); line-height: 1;
  text-shadow: 0 0 60px rgba(237,179,24,0.25), 0 4px 30px rgba(0,0,0,0.6);
  margin-bottom: 1rem;
}
.hero-tagline {
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--glow-primary); opacity: 0.8;
  text-indent: 0.25em;
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  color: var(--glow-primary); opacity: 0.4;
  animation: scroll-bounce 2.5s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.2; }
}

/* ── Sections (common) ── */
.section { padding: 5rem 0; position: relative; }

/* ── Video ── */
.video-section { padding: 4rem 0 2rem; }
.video-wrapper {
  max-width: 56rem; margin: 0 auto;
  border: 1px solid rgba(237,179,24,0.12);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 0 40px rgba(237,179,24,0.05);
  background: var(--bg-card);
}
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; }
.video-embed iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0;
}

/* ── About intro line ── */
.about-intro {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--glow-primary); line-height: 1.1;
  margin-bottom: 1.5rem !important;
  text-shadow: 0 0 30px rgba(237,179,24,0.15);
}

/* ── Gallery (after About text) ── */
.about-section .gallery-grid { margin-top: 3.5rem; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text-light); text-align: center; margin-bottom: 3rem;
  text-shadow: 0 0 30px rgba(237,179,24,0.1);
}
.section-divider {
  width: 60px; height: 2px; margin: 0 auto 3rem;
  background: linear-gradient(90deg, transparent, var(--glow-primary), transparent);
  opacity: 0.5;
}

/* ── About ── */
.about-section { background: var(--bg-warm); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.about-image { border-radius: 6px; overflow: hidden; }
.about-image img {
  width: 100%; height: auto; display: block;
  filter: saturate(0.9); transition: filter 0.5s;
}
.about-image:hover img { filter: saturate(1.1); }
.about-text p {
  margin-bottom: 1.25rem; font-size: 0.95rem; line-height: 1.8;
}
.about-text p:first-child::first-line { color: var(--text-light); font-weight: 400; }

/* ── Live Gallery ── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery-item {
  border-radius: 4px; overflow: hidden;
  position: relative; aspect-ratio: 3/2;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s;
  filter: saturate(0.85) brightness(0.9);
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}
.gallery-item .gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 0.75rem 0.6rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.05em;
  transform: translateY(100%); transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ── Events ── */
.events-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-warm) 50%, var(--bg-deep) 100%);
}
.events-wrapper {
  border: 1px solid rgba(237,179,24,0.1); border-radius: 0.5rem; padding: 1.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 40px rgba(237,179,24,0.03);
}
.events-table { width: 100%; border-collapse: collapse; }
.events-table th, .events-table td {
  padding: 0.85rem 0.75rem; text-align: left;
  font-weight: 300; font-size: 0.9rem;
  border-bottom: 1px solid rgba(237,179,24,0.07);
}
.events-table th {
  font-weight: 600; text-transform: uppercase; font-size: 0.72rem;
  letter-spacing: 0.12em; color: var(--glow-primary);
  border-bottom: 1px solid rgba(237,179,24,0.2); padding-bottom: 0.65rem;
}
.events-table tbody tr { transition: background 0.2s; }
.events-table tbody tr:hover { background: rgba(237,179,24,0.03); }
.events-table tbody tr:last-child td { border-bottom: none; }
.events-table a {
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(237,179,24,0.3);
}
.events-table a:hover { text-decoration-color: var(--glow-primary); }

/* Mobile event cards */
.events-card-list { display: none; }
.event-card { padding: 1rem 0; border-bottom: 1px solid rgba(237,179,24,0.07); }
.event-card:last-child { border-bottom: none; }
.event-card-date { font-weight: 600; color: var(--glow-primary); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.2rem; }
.event-card-location { font-size: 1rem; color: var(--text-light); margin-bottom: 0.3rem; }
.event-card-meta { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--text-muted); align-items: center; }

/* ── Contact ── */
.contact-section { background: var(--bg-warm); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; max-width: 48rem; margin: 0 auto;
}
.contact-card {
  text-align: center; padding: 2rem;
  border: 1px solid rgba(237,179,24,0.08); border-radius: 6px;
  background: rgba(17,17,17,0.4);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-card:hover {
  border-color: rgba(237,179,24,0.2);
  box-shadow: 0 0 30px rgba(237,179,24,0.05);
}
.contact-card h3 {
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--glow-primary); margin-bottom: 1rem;
}
.contact-card a {
  font-size: 1rem; color: var(--text-light); font-weight: 400;
}

/* ── Social bar ── */
.social-bar {
  display: flex; justify-content: center; gap: 2rem;
  padding: 2.5rem 0; flex-wrap: wrap;
}
.social-bar a {
  display: flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; color: var(--text-muted);
  transition: color 0.3s, transform 0.3s;
}
.social-bar a:hover { color: var(--glow-primary); transform: scale(1.15); text-shadow: none; }
.social-bar svg { width: 1.75rem; height: 1.75rem; }

/* ── Footer ── */
.site-footer {
  padding: 2rem 0 1.5rem; text-align: center;
  border-top: 1px solid rgba(237,179,24,0.05);
}
.footer-links {
  display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer-links a {
  font-size: 0.75rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 400;
}
.footer-links a:hover { color: var(--glow-primary); }
.footer-copy { font-size: 0.65rem; color: var(--text-muted); opacity: 0.4; }

/* ── Fade-in on scroll ── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(17,17,17,0.97); padding: 1.5rem;
    gap: 1.25rem; text-align: center;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .nav-toggle { display: block; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .events-table-wrap { display: none; }
  .events-card-list { display: block; }

  .section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero h1 { font-size: clamp(2.8rem, 16vw, 4.5rem); }
  .hero-tagline { font-size: 0.7rem; letter-spacing: 0.18em; }
  .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 0; }
  .section-title { font-size: 2rem; margin-bottom: 2rem; }
  .events-wrapper { padding: 1rem; }
  .social-bar svg { width: 1.5rem; height: 1.5rem; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 2.4rem; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 4rem 0; }
  .hero h1 { font-size: 3rem; }
  .hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-bg { filter: brightness(0.35); }
}
