/* Animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(209, 0, 36, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(209, 0, 36, 0.5);
    }

    100% {
        box-shadow: 0 0 5px rgba(209, 0, 36, 0.2);
    }
}

@keyframes textReveal {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

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

.delay-500 {
    animation-delay: 0.5s;
}

.float-element {
    animation: float 8s ease-in-out infinite;
}

.hover-glow:hover {
    animation: glowPulse 2s infinite;
}

/* Scroll Animations */
.animate-me {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-me.animate-on-load {
    opacity: 1;
    transform: translateY(0);
}