/* public/css/style.css */
/* Aquí puedes añadir tus estilos CSS personalizados si necesitas algo más allá de Tailwind CSS */

/* Ejemplo: animaciones para la página de inicio */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fadeInDown 1s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s; /* Retraso para que aparezca después del título */
}

/* Animaciones para el nuevo banner */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-slide.active .text-content h2 { animation: slideInRight 0.8s ease-out forwards; }
.banner-slide.active .text-content p { animation: slideInRight 0.8s ease-out 0.2s forwards; }
.banner-slide.active .text-content a { animation: slideInUp 0.6s ease-out 0.4s forwards; }

.banner-slide .text-content h2,
.banner-slide .text-content p,
.banner-slide .text-content a {
    opacity: 0; /* Estado inicial para la animación */
}

/* Estilos para las nuevas tarjetas de servicio con efecto "glassmorphism" */
.service-card {
    background: var(--service-card-bg);
    border: 1px solid var(--service-card-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15); /* Sombra suave */
    overflow: hidden; /* Para que la imagen respete los bordes redondeados */
}
/* Se aplica el desenfoque solo si el navegador lo soporta para mejorar la compatibilidad */
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
    .service-card {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Contenedor del icono con gradiente */
.icon-container {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Estilos para la navegación del banner */
.banner-nav-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.banner-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.banner-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.banner-dot.active {
    background-color: white;
    width: 32px;
    border-radius: 9999px;
}

/* --- Animación para elementos al hacer scroll --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--scroll-anim-delay, 0s); /* Permite retrasos personalizados para un efecto escalonado */
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
