/* Tipografía principal */
@import url('https://fonts.googleapis.com/css2?family=Wix+Madefor+Display:wght@400;700&display=swap');

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

html {
  height: 100%;
  overflow-x: hidden;
}

body {
  height: 100vh;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  font-family: 'Wix Madefor Display', sans-serif;
  color: #DFDEDE;
  scrollbar-color: #444 #111;
  scrollbar-width: thin;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  background-color: #444;
  border-radius: 6px;
  border: 2px solid #111;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #666;
}

/* Main panels */
.panel {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 2rem;
  scroll-snap-align: start;
  background-color: black;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Starting animation */
.content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 3.2s ease, transform 3.2s ease;
  will-change: opacity, transform;
  text-align: center;
  font-size: 4vw;
}
.content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections backgrounds */
.intro {
  background-image: url('./background/wall_bg.jpg');
}
.bio {
  background-image: url('./background/diag_bg.jpg');
}
.links {
  background-image: url('./background/album_bg.jpg');
}
.contact {
  background-image: url('./background/band_bg.jpg');
}

/* Logo */
.logo {
  width: 40vw;
  max-width: 400px;
  height: auto;
  transition: transform 0.8s ease;
}

/* Language selector */
.language-toggle {
  margin-top: 2rem;
  position: absolute;
  bottom: 14vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 1.5rem;
  color: #DFDEDE;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.lang-option {
  cursor: pointer;
  user-select: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}
.lang-option:hover {
  color: #E5C784;
}
.separator {
  font-size: 2rem;
  opacity: 0.3;
}

/* Bio */
.bio-text {
  max-width: 800px;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.6;
}
.bio-text p {
  margin-bottom: 2rem;
}
.bio-text hr {
  border: none;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 2rem auto;
  width: 60%;
}

/* Links */
.links-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
}
.links-header {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.6rem;
}
.links-header p {
  margin: 0;
}

/* Buttons */
.link-btn,
.email-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  background-color: transparent;
  border: 2px solid #DFDEDE;
  color: #DFDEDE;
  text-decoration: none;
  font-size: 1.4rem;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.link-btn i,
.email-btn i {
  font-size: 1.6rem;
}
.link-btn:hover,
.email-btn:hover {
  background-color: #E5C784;
  color: #111;
  border-color: #E5C784;
}

/* CONTACTO */
.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  padding: 2rem;
}
.contact-content p {
  font-size: 1.4rem;
  max-width: 600px;
  margin: 0;
}

/* Side navigation */
.vertical-nav {
  position: fixed;
  top: 50%;
  right: 2vw;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 20;
}
.nav-dot {
  width: 12px;
  height: 12px;
  background-color: #DFDEDE;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s ease;
}
.nav-dot.active,
.nav-dot:hover {
  background-color: #E5C784;
  opacity: 1;
}

/* Parallax */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.2;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .panel {
    font-size: 8vw;
    padding: 1rem;
  }
  .logo {
    width: 50vw;
    max-width: 200px;
  }
  .bio-text {
    font-size: 1rem;
    padding: 0 1rem;
  }
  .bio-text hr {
    width: 80%;
  }
  .link-btn,
  .email-btn {
    font-size: 1.2rem;
    padding: 0.6rem 1.5rem;
  }
}
