/* Tipografia \ Aphrodite */

/* Font Aphrodite */

@font-face {
    font-family: 'Aphrodite';
    src: url('../fonts/Aphrodite.woff2') format('woff2'), url('../fonts/Aphrodite.woff') format('woff'), url('../fonts/aphrodite.ttf') format('truetype'); /* Ajusta el nombre y formato según el archivo */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------------------------------------------- */

/* Estilos Extras */
.background-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: linear-gradient(to top, transparent -25%, #0f172a 100%); /* slate-50 to slate-900 */
}

.bg-header {
    background: linear-gradient(180deg, rgba(0, 0, 0,90%), rgba(49, 44, 48, 0));
}

/* Gradiente animado */
.background-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, black, transparent, black);
  background-size: 400% 400%;
  opacity: 0.6;
  animation: gradientMove 15s ease infinite;
  z-index: 10;
}

.translate-y-full {
  transform: translateY(100%);
}

/* Animación fade + slide up */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-200 {
  transition-delay: 200ms;
}
.delay-400 {
  transition-delay: 400ms;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Animación fade in y subida */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 1s ease forwards;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-600 {
  animation-delay: 0.6s;
}

.slick-prev:before, .slick-next:before {
  color: #0f172a; /* slate-900 */
}

.slider-cards {
    #anterior {
      width: 45px;
      height: 45px;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 50%;
        position: absolute;
        left: 7.5%;
        color: #FFFFFF;
        transition: all ease .35s;
        padding: 7.5px 15px;
        border-radius: 100px;
        z-index: 1;
        background: #011959;
        border: 1px solid #FFFFFF;
        &:hover {
            background: #028090;
            color: #FFFFFF;
            border: 1px solid #028090;
        }
    }

    #siguiente {
        width: 45px;
        height: 45px;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 50%;
        position: absolute;
        right: 7.5%;
        color: #FFFFFF;
        transition: all ease .35s;
        padding: 7.5px 15px;
        z-index: 1;
        background: #011959;
        border-radius: 100px;
        border: 1px solid #FFFFFF;
        &:hover {
            background: #028090;
            color: #FFFFFF;
            border: 1px solid #028090;
        }
    }

    .slick-prev:before,
    .slick-next:before {
      content: '';
    }
}

/* Animación al salir */
.slick-slide.slick-anim-out {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Animación al entrar */
.slick-slide.slick-anim-in {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.carousel {
    #anterior {
      width: 45px;
      height: 45px;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 50%;
        position: absolute;
        left: -10%;
        color: #FFFFFF;
        transition: all ease .35s;
        padding: 7.5px 15px;
        border-radius: 100px;
        z-index: 1;
        background: transparent;
        border: 1px solid #FFFFFF;
        &:hover {
            background: #028090;
            color: #FFFFFF;
            border: 1px solid #028090;
        }
    }

    #siguiente {
        display: none !important;
        width: 45px;
        height: 45px;
        font-size: 22px;
        align-items: center;
        justify-content: center;
        top: 50%;
        position: absolute;
        right: 7.5%;
        color: #FFFFFF;
        transition: all ease .35s;
        padding: 7.5px 15px;
        z-index: 1;
        background: transparent;
        border-radius: 100px;
        border: 1px solid #FFFFFF;
        &:hover {
            background: #028090;
            color: #FFFFFF;
            border: 1px solid #028090;
        }
    }

    .slick-prev:before,
    .slick-next:before {
      content: '';
    }
}

/* Contenedor de dots */
.slick-dots {
  display: flex !important;
  align-items: center !important;
  justify-content: start !important;
}

/* Dot individual */
.slick-dots li {
  @apply h-1 rounded-full transition-all duration-300;
  width: 40px !important;
  height: 4px !important;
  border-radius: 100px !important;
  background-color: #ccc !important;
  list-style: none !important;
}

/* Dot activo */
.slick-dots li.slick-active {
  background-color: #028090  !important; /* tailwind cyan-500 */
  width: 60px  !important;
}

/* Ocultar botón default dentro de los <li> */
.slick-dots li button {
  display: none !important;
}

.slider-cards {
    #anterior {
      z-index:11;
    }

    #siguiente {
      z-index: 11;
    }
  }

/* RESPONSIVE */


@media (min-width: 1024px) and (max-width: 1024px) {
  .carousel #anterior {
    left: -13% !important;
  }
}

@media (min-width: 768px) and (max-width: 768px) {

  .carousel #anterior {
    top: 130%;
    left: 25% !important;
  }

  .carousel #siguiente {    
    display: block !important;
    top: 130% !important;
    right: 25% !important;
  }

  .slider-cards {
    #anterior {
      top: 105%;
      left: 27.5%;
    }

    #siguiente {
      top: 105%;
      right: 27.5%;
    }
  }

  .carousel .slick-dots {
    justify-content: center !important;
  }

  .carousel .slick-slide {
    opacity: 0.2;
    transition: opacity 0.3s ease;
  }

  .carousel .slick-center {
    opacity: 1;
  }
}

@media (min-width: 640px) and (max-width: 640px) {
  .carousel .slick-dots {
    justify-content: center !important;
  }

  .carousel .slick-slide {
    opacity: 0.2;
    transition: opacity 0.3s ease;
  }

  .carousel .slick-center {
    opacity: 1;
  }

  .carousel #anterior {
    top: 130% !important;
    left: 25% !important;
  }

  .carousel #siguiente {
    display: block !important;
    top: 130% !important;
    right: 25% !important;
  }

  .slider-cards {
    #anterior {
      top: 105%;
      left: 27.5%;
    }

    #siguiente {
      top: 105%;
      right: 27.5%;
    }
  }
}

@media (min-width: 300px) and (max-width: 400px) {
  .slider-cards {
    #anterior {
      top: 105%;
      left: 27.5%;
    }

    #siguiente {
      top: 105%;
      right: 27.5%;
    }
  }

  .carousel .slick-dots {
    justify-content: center !important;
  }

  .carousel .slick-slide {
    opacity: 0.2;
    transition: opacity 0.3s ease;
  }

  .carousel .slick-center {
    opacity: 1;
  }

  .carousel #anterior {
    top: 130%;
    left: 25% !important;
  }

  .carousel #siguiente {
    display: block !important;
    top: 130% !important;
    right: 25% !important;
  }
}

/* --------------------------------------------------------------------------------------------------------------- */
