/* public/css/animations.css */

/* Animaciones básicas */

/* Animación de entrada general */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animación de deslizamiento desde la izquierda */
@keyframes slideInLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animación de deslizamiento desde arriba */
@keyframes slideInTop {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Efecto de hover para elementos interactivos */
.hover-effect {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Clases de aplicación de animaciones */
.animated-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.animated-slide-in-left {
    animation: slideInLeft 0.5s ease-out forwards;
}

.animated-slide-in-top {
    animation: slideInTop 0.5s ease-out forwards;
}

/* Animación de entrada suave para elementos */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

/* Bienvenida animada centrada y responsiva */
.bienvenida-animada-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 140px;
  width: 100%;
  margin: 0 auto 2rem auto;
  text-align: center;
}
.bienvenida-animada {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  animation: slideInTop 0.9s cubic-bezier(.77,0,.18,1);
  margin: 0;
  line-height: 1.2;
}
@media (max-width: 700px) {
  .bienvenida-animada {
    font-size: 1.3rem;
    padding: 0 10px;
  }
  .bienvenida-animada-container {
    min-height: 90px;
  }
}
.brand-gradient {
  background: linear-gradient(90deg, #FFD600 20%, #FFB300 60%, #FF6D00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 2.5s linear infinite alternate;
}
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Retrasos para animaciones secuenciales (opcional) */
.fade-in.delay-1 {
    animation-delay: 0.2s;
}
.fade-in.delay-2 {
    animation-delay: 0.4s;
}
.fade-in.delay-3 {
    animation-delay: 0.6s;
}
.fade-in.delay-4 {
    animation-delay: 0.8s;
}

/* Efecto de hover para botones/enlaces */
a.hover-effect, button.hover-effect {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

a.hover-effect:hover, button.hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Efecto de escala sutil en hover */
.scale-hover {
    transition: transform 0.3s ease-in-out;
}

.scale-hover:hover {
    transform: scale(1.02);
}

/* Animación para el titular principal (PBT-API SUNKOVV) */
@keyframes textClip {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

.animated-headline {
    display: inline-block;
    overflow: hidden;
    animation: textClip 1.5s cubic-bezier(0.5, 0, 0.1, 1) forwards;
    white-space: nowrap;
}

/* Animación de conteo para los números */
@keyframes counterAnimation {
  from { opacity: 0; transform: translateY(10px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.counter-value {
  font-weight: bold;
  animation: counterAnimation 1s ease-out forwards;
} 