/* ---------------------------------
     RESET & BASE
  --------------------------------- */
html {
  scroll-behavior: smooth;
}

body,
html {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

/* ---------------------------------
     FULLSCREEN BACKGROUND & VIDEO
  --------------------------------- */
.fullscreen-bg {
  position: relative;
  height: 100vh;
  color: white;
}

.background-fx {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../imgs/corredor_new.jpg') no-repeat center center;
  background-size: cover;
  z-index: 1;
  filter: blur(10px) contrast(180%);
  transition: filter 2s ease;
}

.fullscreen-bg.enfocar .background-fx {
  filter: blur(0) contrast(100%);
}

.bottom-logo {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  max-width: 480px;
  width: 80%;
}

.video-section {
  position: relative;
  height: 100vh;
  background-color: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.5) 100%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0px, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 2px);
  opacity: 0.6;
  z-index: 2;
  pointer-events: none;
}

.video-section iframe {
  width: 100vw;
  height: 100vh;
  border: none;
  position: relative;
  z-index: 3;
}

/* ---------------------------------
     SECTIONS (FORM / SPOTIFY / BIO)
  --------------------------------- */
/*.form-section {
  background: url('../imgs/corredor_1b.jpg') no-repeat center center;
  background-size: cover;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}*/
.form-section {
    background: url(../imgs/corredor_1b.jpg) no-repeat center center;
    background-size: cover;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;       /* vertical */
    justify-content: center;      /* centrado vertical */
    align-items: center;          /* centrado horizontal */
    gap: 40px;                    /* separación entre elementos */
    text-align: center;           /* opcional, si hay texto */
}

.spotify-section {
  background: url('../imgs/CELP_03.jpg') no-repeat center center;
  background-size: cover;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spotify-section iframe {
  box-shadow:
    rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px,
    rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.bio-section {
  height: 100vh;
  color: white;
  overflow: hidden;
  background-color: #000
}

.bio-section .fotodepie {
  background-image: url(../imgs/CELP_BIO-2.jpg);
  background-size: cover;
  background-position: center;
  animation: fadeIn 2s ease-in-out forwards;
}

.bio-section .text-container {
  background-color: rgba(0, 0, 0, 1);
  /* overlay oscuro para legibilidad */
  padding: 4.5rem 6rem 4.5rem 6rem;
  animation: slideIn 1.5s ease forwards;
  opacity: 0;
  /* para la animación inicial */
  scroll-behavior: smooth;
}

.lp-section {
  height: 100vh;
  color: #000;
  overflow: hidden;
  background-color: #CCD1CD;
  display: flex;
  align-items: center;
}

.lp-section img {
  display: block;
  height: auto;
}

.lp-section .btn-negro {
  display: inline-block;
  padding: 10px 16px;
  background: #f2f2f2;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1;
  transition: filter .2s ease, transform .02s ease;
}
.lp-section .btn-negro:hover {
  filter: brightness(1.15);
}

.lp-section .text-container {
  
  /* overlay oscuro para legibilidad */
  padding: 3.5rem 6rem 1.5rem 2rem;
  animation: slideIn 1.5s ease forwards;
  opacity: 0;
  /* para la animación inicial */
  scroll-behavior: smooth;
}

.btn-negro {
  display: inline-block;
  padding: 10px 16px;
  background: #f2f2f2;       /* gris oscuro en vez de negro absoluto */
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.3s ease;
}

.btn-negro:hover {
  background: #999;       /* un tono más claro al pasar el mouse */
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* sombra más suave */
}

@media (max-width: 768px) {
  .bio-section .text-container, .lp-section .text-container {
    padding: 2rem 2rem;
  }
}

.bio-section .bio-text, .lp-section .bio-text {
  max-height: 90vh;
  overflow-y: auto;
  scroll-behavior: smooth;
	font-size: 14px;
	padding-right: 15px; 
	padding-bottom: 15px;
	    text-align: left !important;
}

/* Scrollbar sutil gris */
.bio-section .bio-text::-webkit-scrollbar {
  width: 6px;
}
.lp-section .bio-text::-webkit-scrollbar {
  width: 6px;
}

.bio-section .bio-text::-webkit-scrollbar-track {
  background: transparent;
}
.lp-section .bio-text::-webkit-scrollbar-track {
  background: transparent;
}

.bio-section .bio-text::-webkit-scrollbar-thumb {
  background-color: #aaa;
  /* Gris sutil */
  border-radius: 3px;
}

.lp-section .bio-text::-webkit-scrollbar-thumb {
  background-color: #aaa;
  /* Gris sutil */
  border-radius: 3px;
}

/* Firefox */
.bio-section .bio-text {
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
}

.bio-section .bio-text p {
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.lp-section .bio-text {
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
}

.lp-section .bio-text p {
  margin-bottom: 1.2rem;
  line-height: 1.5;
}


/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(50px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .bio-section {
    height: auto;
    padding-top: 100px;
  }

  .fotodepie {
    display: none;
  }

  .text-container {
    width: 100%;
    background-color: #000;
    /* fondo sólido en mobile para legibilidad */
    animation: slideIn 1.5s ease forwards;
    opacity: 0;
  }
	
	 .lp-section .text-container {
    width: 100%;
    background-color: #CCD1CD !important;
    /* fondo sólido en mobile para legibilidad */
    animation: slideIn 1.5s ease forwards;
    opacity: 0;
  }
}

@media (max-width: 768px) {

  /*.bio-section {
    height: 100vh;
    overflow: hidden;
	padding-top: 185px;
	  padding-bottom: 50px
	 
  }*/
  .spotify-section {
    height: 100vh;
    overflow: hidden;
    padding-top: 150px
  }

  .spotify-section .container {
    max-height: 100vh;
    overflow-y: auto;
    padding: 2rem;
    scroll-behavior: smooth;
  }

  /*	.bio-section .container{
    max-height: 100vh;
    overflow-y: auto;
    padding: 7rem 2rem 4rem 2rem;
    scroll-behavior: smooth;
  }*/
}

/* ---------------------------------
     HEADER & NAVBAR
  --------------------------------- */
.overlay-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  padding-top: 11px;
}

.logo a img,
.logo a img.butter {
  height: auto;
  width: auto;
}

.logo a img {
  max-height: 40px;
}

.logo a img.butter {
  max-height: 45px;
}

.navbar-nav {
  padding-top: 1rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.nav-item .icon {
  height: 23px;
  transition: transform 0.4s ease;
}

.nav-item .icon:hover {
  transform: scale(1.2);
}

.nav-item .icon.ico_face,
.nav-item .icon.ico_spoti {
  height: 27px;
}

.nav-item .icon.ico_bio {
  height: 21px;
}



/* ---------------------------------
     FORM
  --------------------------------- */
.form-container {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
  color: white;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.form-control {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
}

.form-control::placeholder {
  color: #555;
}

.form-control:focus {
  box-shadow: none;
  border-color: #ccc;
}

#form-lista,
#form-message {
  transition: opacity 0.5s, filter 0.5s;
}

#form-lista.hidden,
#form-message.hidden {
  opacity: 0;
  filter: blur(5px);
}

#form-lista.shown,
#form-message.shown {
  opacity: 1;
  filter: blur(0);
}


.btn-enviar,
.btn-cerrar {
  background-color: #800000;
  color: #fff;
  font-weight: bold;
  border: none;
}

.btn-enviar:hover,
.btn-cerrar:hover {
  background-color: #eaeaea;
  color: #000
}


.contacto-container {
  width: 100%; /* ocupa todo el ancho del form-container */
}

.btn-contacto {
  display: block;              /* ocupa todo el ancho */
  background: rgba(0,0,0,0.6); /* fondo negro al 80% */
  color: #fff;                 /* texto blanco */
  font-size: 22px;
  text-align: center;
  padding: 22px 30px 1px 30px;
  border-radius: 10px;         /* puntas redondeadas */
  text-decoration: none;       /* sin subrayado */
  transition: background 0.3s ease;
}

.btn-contacto:hover {
  background: rgba(0,0,0,1);   /* en hover, negro sólido */
}


.form-container:last-child {
  margin-bottom: 0; /* que el último no deje hueco extra abajo */
}

/* ---------------------------------
     MEDIA QUERIES
  --------------------------------- */
@media (max-width: 768px) {
  .overlay-header {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  }

  .logo a img {
    max-height: 38px;
  }

  .nav-item .icon {
    height: 23px !important;
  }

  .bottom-logo {
    width: 65%;
  }

  /* .bio-section {
      height: 140vh;
    }*/


}


@media (max-width: 390px) {
  /*<!--  .bio-section {
      height: 185vh;
    }-->*/
}

@media (min-width: 768px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .navbar-nav {
    padding-top: 0;
    flex-direction: row;
  }
}

/* Solo en móviles */
@media (max-width: 767.98px) {.lp-section {
  height: 100vh;            /* sección ocupa toda la altura de la pantalla */
  overflow: hidden;         /* oculta overflow en la sección */
  background-color: #CCD1CD;
  display: flex;
  align-items: center;
}

.lp-section .container-fluid {
  height: 100%;             /* ocupa toda la sección */
  overflow-y: auto;         /* scroll solo aquí si el contenido es mayor que 100vh */
  -webkit-overflow-scrolling: touch; /* scroll suave en iOS */
  padding: 0 0.3rem;          /* opcional: padding horizontal */
}

/* Opcional: scrollbar discreto */
.lp-section .container-fluid::-webkit-scrollbar {
  width: 6px;
}
.lp-section .container-fluid::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.3);
  border-radius: 3px;
}
.lp-section .container-fluid::-webkit-scrollbar-track {
  background: transparent;
}
}