body {
    font-family: "Inter", sans-serif;
}

/*
|--------------------------------------------------------------------------
| ANIMACIONES GLOBALES
|--------------------------------------------------------------------------
*/

/* Animación de entrada original */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de flotación para la imagen de perfil */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animación de gradiente de fondo */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Nuevas animaciones de entrada direccional (Para Hero Section) */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Nuevas animaciones para decoración de fondo (Blobs) */
@keyframes blob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Nueva animación de pulso lento para el brillo */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

/*
|--------------------------------------------------------------------------
| CLASES DE ANIMACIÓN
|--------------------------------------------------------------------------
*/

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Nuevas clases de animación para la sección de inicio */
.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out forwards;
}

/* Clases para decoración de fondo */
.animate-blob {
    animation: blob 7s infinite cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animate-pulse-slow {
    animation: pulse-slow 6s infinite ease-in-out;
}


/*
|--------------------------------------------------------------------------
| CLASES DE ESTILO Y EFECTOS
|--------------------------------------------------------------------------
*/

/* Gradiente de fondo en tonos azules */
.gradient-bg {
    background: linear-gradient(-45deg, #3b82f6, #2563eb, #1e40af, #1e3a8a);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-card {
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.experience-card {
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 300px;
}