/* =====================
   PARALLAX COMPONENT STYLES
===================== */

/* ====== BASE ====== */
#parallax {
  position: relative;
  height: 45vh;
  min-height: 14rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  padding: 0 0.2rem;
}
#parallax .bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  /* background-image: url('../../assets/backgrounds/fondoparallax01.jpg'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.7);
  /* background-attachment: fixed; */
}
#parallax .fade-bottom {
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
  pointer-events: none;
}
.parallax-title,
.parallax-title .parallax-title-bg,
.parallax-subtitle,
.parallax-subtitle .parallax-title-bg {
  font-family: 'Markazi', serif;
}
.parallax-title {
  color: var(--white);
  font-family: 'RodFat Two Demo', serif;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1.5px;
  text-shadow: 0 6px 32px rgba(0,0,0,0.95), 0 2px 8px #000, 0 1px 0 #000;
  opacity: 0;
  position: relative;
}
.parallax-title .parallax-title-bg {
  font-family: inherit;
}
.parallax-subtitle {
  color: var(--white);
  font-family: 'RodFat Two Demo', serif;
  font-weight: 400;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 4px 18px rgba(0,0,0,0.85), 0 1px 0 #000;
  opacity: 0;
}
.parallax-subtitle .parallax-title-bg {
  font-family: inherit;
}

.parallax-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  background: none;
  border-radius: 1.2rem;
  padding: 2.2rem 1.2rem 1.7rem 1.2rem;
  box-shadow: none;
  position: relative;
  top: unset;
  left: unset;
  transform: unset;
}
.parallax-title .parallax-title-bg,
.parallax-subtitle .parallax-title-bg,
.parallax-subtitle {
  font-family: 'RodFat Two Demo', serif;
  text-shadow:
    0 2px 8px #000,
    0 4px 24px #000,
    0 0 8px #413e3e,
    0 0 32px #000000;
}

.logo-bounce-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10rem;
  max-width: 10rem;
  margin: 0 auto;
  margin-top: 2rem;
  position: relative;
}

.logo-bounce-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  transition: transform 0.3s ease;
  box-shadow: none;
}
.logo-bounce-wrap:hover .logo-bounce-img {
  transform: scale(1.02);
  box-shadow: none;
}
.shiny-glass-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 1.4rem;
  z-index: 2;
  transition: transform 0.3s ease;
}
.logo-bounce-wrap:hover .shiny-glass-effect {
  transform: scale(1.02);
}




.scroll-down-arrow {
    position: absolute;
    left: 50%;
    bottom: 2.2rem;
    transform: translateX(-50%);
    z-index: 20;
    cursor: pointer;
    animation: scroll-bounce 1.5s infinite;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .scroll-down-arrow svg {
    width: 3rem;
    height: 3rem;
    display: block;
  }
  .scroll-down-arrow:hover {
    opacity: 1;
  }
  @keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(16px); }
  }


/* ====== MEDIA QUERIES ====== */



@media (max-width: 600px) {
  #parallax {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: unset;
    padding-top: 0;
    display: block;
    overflow: visible;
  }
  .parallax-title-container {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    margin: 0;
    margin-top: 3rem;
    padding: 0 0.5rem;
    z-index: 10;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 42%;
  }
  .logo-bounce-wrap {
    width: 7.5rem;
    max-width: 7.5rem;
    margin-top: 3.2rem;
  }
  .logo-bounce-img {
    border-radius: 0.7rem;
  }
  .shiny-glass-effect {
    border-radius: 0.9rem;
  }
  .parallax-title {
    font-size: 2.9rem;
    margin-bottom: 1.2rem;
    margin-top: 0.1rem;
    line-height: 1.05;
    padding: 0 0.1rem;
  }
  .parallax-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    margin-top: 0.1rem;
    line-height: 1.1;
    padding: 0 0.1rem;
  }


  .rock-text-container {
    margin-top: 3rem;
  }

  .rock-text {
    font-size: 1rem;
  }


}

@media (min-width: 601px) and (max-width: 900px) {
  #parallax {
    min-height: 300px;
    height: 100vh;
  }

  .parallax-title{
    font-size: 2.9rem;
    margin-bottom: 0.7rem;
  }

  .parallax-subtitle{
    font-size: 1.2rem;
  }
  


  .rock-text-container {
    margin-top: 3.2rem;
  }

  .rock-text {
    font-size: 1.1rem;
  }
}
@media (min-width: 601px) and (max-width: 900px) and (max-height: 600px){

  .logo-bounce-wrap{
    width: 7rem;
    max-width: 7rem;
  }
  .logo-bounce-img{
    border-radius: 0.5rem;
  }
  .rock-text{
    font-size: 1rem !important;
    
  }

  .scroll-down-arrow{
    width: 2.1rem;
    bottom: 0.5rem;
}
}


@media (min-width: 901px) {
  #parallax {
    min-height: 100vh;
    height: 100vh;
    width: 100vw;
    padding: 0;
    position: relative;
    display: block;
    overflow: visible;
  }
  .parallax-title {
    font-size: 5.1rem;
    margin-bottom: 1.2rem;
    margin-top: 0.1rem;
    line-height: 1.05;
    padding: 0 0.1rem;
  }
  .parallax-subtitle {
    font-size: 1.7rem;
    margin-bottom: 0.3rem;
    margin-top: 0.1rem;
    line-height: 1.1;
    padding: 0 0.1rem;
  }
  

    .parallax-title-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    margin: 0;
    padding: 0 0.5rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width:901px) and (max-height: 685px){
  .parallax-title{
    font-size: 2.1rem; 
  }
  .parallax-subtitle{
    font-size: 1rem;
  }

  .logo-bounce-wrap{
    width: 8rem;
    max-width: 8rem;
  }
  .logo-bounce-img{
    border-radius: 0.5rem;
  }
  
  .rock-text{
    font-size: 0.8rem !important;
  }
}

/* NUEVO CONTENEDOR PARA "¡QUE SEA ROCK!" */
.rock-text-container {
  text-align: center;
  margin-top: 3.5rem;
  opacity: 0;
  transform: translateY(20px);
  z-index: 3;
  position: relative;
}

.rock-text-container.fade-in {
  opacity: 1;
  transform: translateY(0);
  animation: fade-in 0.6s ease-out;
}

.rock-text-container.bounce {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.rock-text {
  font-family: 'RodFat Two Demo', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 1px 2px rgba(0,0,0,0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}