/* ============================================
   A LIFE DIVIDED – Official Website 2026
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=League+Gothic&family=Montserrat:wght@300;400;500;600;700&display=swap');

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

:root {
  --purple-primary: #9b30ff;
  --purple-dark: #6a1b9a;
  --purple-glow: #b44dff;
  --purple-dim: #4a1670;
  --bg-dark: #0a0a0f;
  --bg-darker: #050508;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.4);
  --font-display: 'League Gothic', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --nav-width: 280px;
  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ── Background ── */
.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-bg--home {
  background-image: url('images/hero_2560x1440.jpg');
}

/* Hero Video Background */
.hero-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

.page-bg--live,
.page-bg--impressum,
.page-bg--contact {
  background-image: url('images/bg1_2560x1440.jpg');
}

.page-bg--music,
.page-bg--pictures {
  background-color: var(--bg-darker);
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(100, 20, 150, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(0, 50, 100, 0.1) 0%, transparent 60%);
}

.page-bg--videos {
  background-color: #0d0515;
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(120, 30, 180, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(100, 20, 160, 0.2) 0%, transparent 40%);
}

/* ── Layout ── */
.site-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ── Side Navigation ── */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-width);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  z-index: 100;
}

.side-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-nav__link {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: block;
  padding: 4px 0;
  position: relative;
  transition: color 0.3s var(--transition-smooth), text-shadow 0.3s var(--transition-smooth);
}

.side-nav__link::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 12px;
  height: 2px;
  background: var(--purple-primary);
  transition: transform 0.3s var(--transition-smooth);
  transform-origin: left center;
}

.side-nav__link:hover,
.side-nav__link--active {
  color: var(--purple-primary);
  text-shadow: 0 0 20px rgba(155, 48, 255, 0.5), 0 0 40px rgba(155, 48, 255, 0.2);
}

.side-nav__link:hover::before,
.side-nav__link--active::before {
  transform: translateY(-50%) scaleX(1);
}

/* ── Mobile Nav Toggle ── */
.nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 200;
  background: rgba(10, 10, 15, 0.9);
  border: 1px solid rgba(155, 48, 255, 0.3);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: background 0.3s;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s var(--transition-smooth);
}

.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }

.nav-toggle--open .nav-toggle__bar {
  background: transparent;
}

.nav-toggle--open .nav-toggle__bar::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle--open .nav-toggle__bar::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Main Content ── */
.main-content {
  margin-left: var(--nav-width);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
  padding: 80px 60px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Home page override: left-aligned content */
.page-content--home {
  align-items: flex-start;
  justify-content: center;
  padding-left: 60px;
}

/* ── Site Logo (subpages) ── */
.site-logo {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 90;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.site-logo:hover {
  opacity: 1;
}

.site-logo img {
  height: 18px;
  width: auto;
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.site-footer a:hover {
  color: var(--purple-primary);
}

.site-footer__sep {
  margin: 0 8px;
}

/* ============================================
   HOME PAGE
   ============================================ */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 140px);
  max-width: 500px;
  width: 100%;
}

.hero__title-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.hero__text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 2px solid var(--purple-primary);
  background: var(--purple-primary);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s;
}

.btn:hover {
  background: transparent;
  box-shadow: 0 0 20px rgba(155, 48, 255, 0.4);
}

.btn:hover::before {
  left: 100%;
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  border-color: var(--purple-primary);
  background: rgba(155, 48, 255, 0.1);
  box-shadow: 0 0 20px rgba(155, 48, 255, 0.3);
}

/* ============================================
   LIVE PAGE
   ============================================ */

.live-list {
  width: 100%;
  max-width: 860px;
}

.live-item {
  display: flex;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 30px;
  transition: all 0.3s var(--transition-smooth);
  position: relative;
}

.live-item::before {
  content: '';
  position: absolute;
  left: -20px;
  right: -20px;
  top: 0;
  bottom: 0;
  background: rgba(155, 48, 255, 0.05);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 4px;
}

.live-item:hover::before {
  opacity: 1;
}

.live-item:hover {
  transform: translateX(8px);
}

.live-item:hover .live-item__arrow {
  opacity: 1;
  transform: translateX(0);
}

.live-item__info {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.live-item__date {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.live-item__event {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.live-item__venue {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.live-item__arrow {
  color: var(--text-dim);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s var(--transition-smooth);
  position: relative;
  z-index: 1;
}

.live-item__btn {
  position: relative;
  z-index: 1;
}

.btn--tickets {
  font-size: 0.7rem;
  padding: 10px 28px;
  letter-spacing: 0.2em;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--tickets:hover {
  border-color: var(--purple-primary);
  background: rgba(155, 48, 255, 0.15);
  box-shadow: 0 0 15px rgba(155, 48, 255, 0.3);
}

/* ============================================
   MUSIC PAGE
   ============================================ */

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 860px;
}

.album-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.album-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition-smooth), filter 0.5s;
}

.album-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(80, 30, 140, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--transition-smooth);
  padding: 20px;
  backdrop-filter: blur(2px);
}

.album-card:hover .album-card__img {
  transform: scale(1.05);
  filter: brightness(0.5);
}

.album-card:hover .album-card__overlay {
  opacity: 1;
}

.album-card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.album-card__year {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.album-card__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.album-card__link {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.album-card__link:hover {
  border-color: var(--purple-glow);
  background: rgba(155, 48, 255, 0.2);
  box-shadow: 0 0 10px rgba(155, 48, 255, 0.3);
}

/* ============================================
   VIDEOS PAGE
   ============================================ */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 860px;
}

.video-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
  background: #111;
}

.video-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--transition-smooth), filter 0.3s;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--transition-smooth);
}

.video-card__play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
  margin-left: 3px;
}

.video-card:hover .video-card__thumb {
  transform: scale(1.08);
  filter: brightness(0.6);
}

.video-card:hover .video-card__play {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  box-shadow: 0 0 30px rgba(155, 48, 255, 0.5);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ── Video Lightbox ── */
.video-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-lightbox--active {
  display: flex;
}

.video-lightbox__wrapper {
  position: relative;
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 16/9;
}

.video-lightbox__wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s;
}

.video-lightbox__close:hover {
  color: var(--purple-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 860px;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 1;
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition-smooth), filter 0.3s;
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox--active {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  font-family: var(--font-body);
  background: none;
  border: none;
  transition: color 0.3s;
}

.lightbox__close:hover {
  color: var(--purple-primary);
}

/* ============================================
   IMPRESSUM & CONTACT PAGES
   ============================================ */

.legal-content {
  max-width: 700px;
  padding-top: 40px;
}

.legal-content h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.legal-content h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--purple-glow);
}

.legal-content p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-content a {
  color: var(--purple-glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--purple-primary);
}

.contact-info {
  margin-top: 20px;
}

.contact-info__item {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ============================================
   SOCIAL ICONS
   ============================================ */

.social-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
}

.social-icons__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s var(--transition-smooth);
}

.social-icons__link:hover {
  border-color: var(--purple-primary);
  background: rgba(155, 48, 255, 0.15);
  box-shadow: 0 0 12px rgba(155, 48, 255, 0.3);
}

.social-icons__link svg {
  width: 16px;
  height: 16px;
  fill: var(--text-secondary);
  transition: fill 0.3s;
}

.social-icons__link:hover svg {
  fill: var(--text-primary);
}

/* ============================================
   CONTACT/BOOKING POPUP (click-based)
   ============================================ */

.contact-popup-wrap {
  position: relative;
  display: inline-block;
}

.contact-popup-trigger {
  cursor: pointer;
}

.contact-popup {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(15, 10, 25, 0.95);
  border: 1px solid rgba(155, 48, 255, 0.3);
  backdrop-filter: blur(16px);
  padding: 16px 22px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth);
  z-index: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(155, 48, 255, 0.1);
}

.contact-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(155, 48, 255, 0.3);
}

.contact-popup--open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.contact-popup__row {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.contact-popup__row:last-child {
  margin-bottom: 0;
}

.contact-popup__row strong {
  color: var(--text-primary);
  font-weight: 600;
}

.contact-popup__row a {
  color: var(--purple-glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-popup__row a:hover {
  color: var(--purple-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .side-nav {
    width: 220px;
    padding: 30px;
  }

  .side-nav__link {
    font-size: 1.8rem;
  }

  :root {
    --nav-width: 220px;
  }

  .album-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-width: 0px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-logo {
    top: 22px;
    left: auto;
    right: 20px;
  }

  .site-logo img {
    height: 14px;
  }

  .side-nav {
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 10, 0.97);
    backdrop-filter: blur(20px);
    transform: translateX(-100%);
    transition: transform 0.4s var(--transition-smooth);
    align-items: center;
    padding: 80px 40px;
  }

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

  .side-nav__link {
    font-size: 2rem;
    text-align: center;
  }

  .main-content {
    margin-left: 0;
  }

  .page-content {
    padding: 80px 20px 40px;
  }

  .hero {
    min-height: calc(100vh - 160px);
  }

  .hero__title {
    font-size: 2rem;
  }

  .album-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-item--tall {
    grid-row: span 1;
  }

  .live-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .live-item__arrow {
    display: none;
  }

  .live-item:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  .album-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero__title {
    font-size: 1.6rem;
  }

  .side-nav__link {
    font-size: 1.6rem;
  }
}
