/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  font-family: 'Inter', 'Montserrat', sans-serif;
  color: #e8e8e8;
  background: #000;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

::selection {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ========== HERO ========== */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: #fff;
}

.hero-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-logo {
  margin-bottom: 1rem;
}

.logo-svg {
  width: 360px;
  height: auto;
  opacity: 0.95;
}

.hero-line {
  width: 420px;
  max-width: 75%;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  margin: 0.3rem 0;
}

.hero-nav {
  margin-top: 2rem;
  display: flex;
  gap: 3rem;
}

.hero-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.35rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s, letter-spacing 0.3s;
  text-transform: uppercase;
}

.hero-nav a:hover {
  color: #fff;
  letter-spacing: 0.45rem;
}

/* ========== STICKY NAV ========== */
#sticky-nav {
  position: fixed;
  top: -70px;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#sticky-nav.visible {
  top: 0;
}

#sticky-nav nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 1.1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  position: absolute;
  left: 2rem;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.nav-logo:hover .nav-logo-img {
  opacity: 1;
}

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

#sticky-nav nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
  text-transform: uppercase;
}

#sticky-nav nav a:hover {
  color: #fff;
}

/* ========== SECTION COMMON ========== */
.section-line {
  width: 60px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  margin: 0 auto 2.5rem;
}

.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}

/* ========== ALIKAST ========== */
#alikast {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 100vh;
}

.alikast-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

.alikast-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.alikast-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 7rem 2rem;
  text-align: center;
  color: #fff;
}

.alikast-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.8rem;
  letter-spacing: 0.6rem;
  margin-bottom: 1.2rem;
}

.alikast-content p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Bio intro */
.bio-intro {
  max-width: 640px;
  margin: 0 auto 3rem;
}

.bio-intro p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

/* Bio photos */
.bio-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.5s ease;
}

.bio-photo img:hover {
  filter: grayscale(0%) contrast(1);
}

/* Bio text */
.bio-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.bio-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.15rem;
  margin: 2.5rem 0 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.bio-text h3:first-child {
  margin-top: 0;
}

.bio-text p {
  text-align: left;
}

.bio-text em {
  color: rgba(255, 255, 255, 0.95);
}

/* ========== MUUSIKA ========== */
#muusika {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 80vh;
}

.muusika-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

.muusika-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.muusika-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 7rem 2rem;
  text-align: center;
  color: #fff;
}

.muusika-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.8rem;
  letter-spacing: 0.6rem;
  margin-bottom: 1.2rem;
}

.spotify-embed {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

/* ========== ESINEMISED ========== */
#esinemised {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 70vh;
}

.esinemised-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.esinemised-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.esinemised-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 7rem 2rem;
  text-align: center;
  color: #fff;
}

.esinemised-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.8rem;
  letter-spacing: 0.6rem;
  margin-bottom: 1.2rem;
}

/* Events List */
.events-list {
  max-width: 550px;
  margin: 0 auto 3rem;
  text-align: left;
}

.event-item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}

.event-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.event-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.event-date {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.1rem;
  color: rgba(255, 255, 255, 0.45);
  min-width: 45px;
  flex-shrink: 0;
}

.event-name {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.esinemised-cta {
  margin-top: 1rem;
}

/* ========== KONTAKT ========== */
#kontakt {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 70vh;
}

.kontakt-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

.kontakt-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.kontakt-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 7rem 2rem;
  text-align: center;
  color: #fff;
}

.kontakt-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.8rem;
  letter-spacing: 0.6rem;
  margin-bottom: 1.2rem;
}

.kontakt-info {
  margin-bottom: 2.5rem;
}

.kontakt-role {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.3rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.8rem;
}

.kontakt-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05rem;
}

.kontakt-email a {
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.05rem;
  transition: color 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
}

.kontakt-email a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ========== BUTTON ========== */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 1rem 3rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 1rem;
}

.btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  letter-spacing: 0.3rem;
}

/* ========== FOOTER ========== */
footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  display: inline-block;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.footer-logo-img:hover {
  opacity: 0.7;
}

.footer-email {
  margin-bottom: 2rem;
}

.footer-email a {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.footer-email a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.copyright {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.1rem;
  color: rgba(255, 255, 255, 0.2);
}

.disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.15);
  max-width: 500px;
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ========== MODAL ========== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #111;
  color: #fff;
  padding: 3rem;
  border-radius: 2px;
  width: 90%;
  max-width: 460px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #fff;
}

.modal h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.15rem;
  margin-bottom: 2rem;
  text-align: center;
}

.modal label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
}

.modal input,
.modal textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.8rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 1.4rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
}

.modal input:focus,
.modal textarea:focus {
  border-color: rgba(255, 255, 255, 0.35);
}

.modal .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .logo-svg {
    width: 260px;
  }

  .hero-nav {
    flex-direction: column;
    gap: 1.2rem;
  }

  .hero-nav a {
    font-size: 0.7rem;
    letter-spacing: 0.3rem;
  }

  .nav-logo {
    display: none;
  }

  #sticky-nav nav {
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0.9rem 1rem;
  }

  .nav-links {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .alikast-content h2,
  .muusika-content h2,
  .esinemised-content h2,
  .kontakt-content h2 {
    font-size: 2rem;
    letter-spacing: 0.4rem;
  }

  .alikast-bg,
  .muusika-bg,
  .esinemised-bg,
  .kontakt-bg {
    background-attachment: scroll;
  }

  .bio-photos {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .logo-svg {
    width: 200px;
  }

  #sticky-nav nav a {
    font-size: 0.6rem;
    letter-spacing: 0.15rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .alikast-content h2,
  .muusika-content h2,
  .esinemised-content h2,
  .kontakt-content h2 {
    font-size: 1.6rem;
    letter-spacing: 0.25rem;
  }

  .modal {
    padding: 2rem 1.5rem;
  }

}
