:root {
    --bg: #0b0b0b;
    --fg: #f5f5f5;
    --muted: #9a9a9a;
    --accent: #0d44a5;
    --maxw: 1200px;
    --site-maxw: 1100px;
    --divider: rgba(255, 255, 255, 0.08); /* Border color for top bar and footer */
    font-family: system-ui, "Segoe UI", Roboto, Inter, Arial, sans-serif;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0; /* By default some browser use 8px */
    background: var(--bg);
    color: var(--fg);
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}


/* ===================================== Top bar ===================================== */
.topbar {
    position: fixed; /* sticky for it to disapear */
    top: 0;
    width: 100%;
    background: rgba(11, 11, 11, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--divider);
    z-index: 100;
}

.topbar-content {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--fg);
    text-decoration: none;
}

.logo img {
    border-radius: 8px;
}

nav a {
    color: var(--fg);
    text-decoration: none;
    margin-left: 1rem;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--accent);
}

/* ===================================== animated line ===================================== */
.wavelines {
  position: fixed;
  top: 36px; 
  left: 0;
  /*bottom: 0; */
  width: 100%; 
  height: 100px; 
  display: block;
  pointer-events: none;
  z-index: 110;
}

polyline {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
}


/* ===================================== Hero ===================================== */
.hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 60vh;
    background: black;
    color: white;
    overflow: hidden;
    font-family: "Orbitron", monospace;
    letter-spacing: 0.3em;
    margin-top: 60px;
    border-bottom: 1px solid var(--divider);
}

.left,
.center,
.right {
    position: absolute;
    font-size: 5rem;
    white-space: nowrap;
}

.left {
    top: 5%;
    left: 0%;
    opacity: 0;
    transform: translateX(-100px);
}

.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.2) rotate(-180deg);
    opacity: 0;
    font-size: 6rem;
}

.right {
    bottom: 5%;
    right: 0%;
    opacity: 0;
    transform: translateX(100px);
}


/* ===================================== Top bar ===================================== */
.scroll-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0 1rem;
    color: var(--muted);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-arrow a,
.scroll-arrow a:visited {
    color: var(--muted);
    text-decoration: none;
}

.scroll-arrow:hover {
    opacity: 1;
    color: var(--accent);
}

.scroll-arrow svg {
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%,
    100% {transform: translateY(0);}
    50% {transform: translateY(6px);}
}


/* ===================================== About and text ===================================== */
.about {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem 2.75rem;
}

.prose {
    max-width: 820px;
}

.prose h2 {
    margin: 0 0 .75rem;
    font-size: clamp(1.4rem, 3.2vw, 2rem);
}

.prose h3 {
    margin: 1.25rem 0 .5rem;
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
}

.prose p {
    margin: .85rem 0;
    color: var(--fg);
    line-height: 1.65;
}

.prose ul {
    margin: .5rem 0 0 1.1rem;
    line-height: 1.6;
}

.prose li {
    margin: .2rem 0
}


/* ===================================== Cards ===================================== */
.events {
  max-width: var(--maxw);
  margin: 2rem auto;
  padding: 0 1rem;
}

.events h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.event-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.event-card {
  width: 80%;
  background: #181818;
  border-radius: 5px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  padding: 2rem 2.5rem;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  transition: box-shadow 0.2s;
  position: relative;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  filter: blur(4px);
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

.event-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.event-card:hover {
/*transform: scale(1.01);*/
  box-shadow: 0 4px 24px rgba(96, 96, 96, 0.479);
}

.event-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.event-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 1rem;
}

.event-index {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--muted);
  margin-right: 0.5rem;
}

.event-location {
  color: var(--muted);
  font-size: 1.1rem;
  margin-left: 0.5rem;
  font-weight: 400;
}

.event-tags {
  display: flex;
  gap: 0.4em;
}

.event-tag {
  background: var(--accent);
  color: #181818;
  border-radius: 6px;
  padding: 0.2em 0.7em;
  font-size: 0.95em;
  font-weight: 600;
}

.event-meta {
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 1rem;
  display: flex;
  gap: 1.5rem;
}

.event-date {
  font-weight: 600;
  color: var(--accent);
}

.event-artists {
  font-style: italic;
}

.event-desc {
  margin-bottom: 1rem;
  color: var(--fg);
  font-size: 1.05rem;
  max-height: 5.5em;
  overflow: hidden;
  position: relative;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  margin-left: 0.5em;
  font-size: 1em;
  padding: 0;
}

.event-carousel {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.carousel-img {
  max-width: 120px;
  max-height: 80px;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s;
  object-fit: cover;
}

.carousel-img:hover {
  transform: scale(1.08);
  /*box-shadow: 0 2px 16px rgba(96, 96, 96, 0.479);*/
}

.img-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.img-expanded {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  /*box-shadow: 0 4px 32px rgba(96, 96, 96, 0.479);*/
}

.close-overlay {
  position: absolute;
  top: 2vw;
  right: 4vw;
  font-size: 2.5rem;
  color: var(--accent);
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
}

/* Spinner */
.spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
}

.loader {
  border: 6px solid #222;
  border-top: 6px solid var(--accent);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}


/* ===================================== Footer ===================================== */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--maxw);
    margin: 0 auto;
    width: 100%;
    padding: 2rem 1rem 2.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    border-top: 1px solid var(--divider);
}

.footer .legal {
    margin: 0;
    font-size: 0.85rem;
}

.footer .links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer .links a {
    color: var(--fg);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer .links a:hover {
    opacity: 1;
}

/* Legal Notice */
.legal-notice {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}


/* ===================================== Responsive ===================================== */
/*
@media (max-width: 900px){
  .split{ grid-template-columns: 1fr; }
  .hero{ min-height:unset; padding:1rem }
  .left{ justify-content:center; padding-right:0 }
  .right{ padding-left:0 }
  .hero-img{ max-width:min(90vw, 420px); max-height:52vh }
  .stack-lines span{ white-space:normal }

  .footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer .links {
    justify-content: center;
  }
}*/
