/* =========================================
   AxisGate BV - animations.css
   Reusable animations and transitions
   ========================================= */

/* Entrance animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Utility animation classes */
.animate-fade-in { animation: fadeIn 0.6s ease-out; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out; }
.animate-fade-in-down { animation: fadeInDown 0.6s ease-out; }
.animate-slide-in-left { animation: slideInLeft 0.6s ease-out; }
.animate-slide-in-right { animation: slideInRight 0.6s ease-out; }

/* Stagger effect for multiple elements */
.animate-stagger > * {
    animation: fadeInUp 0.6s ease-out backwards;
}

.animate-stagger > :nth-child(1) { animation-delay: 0.1s; }
.animate-stagger > :nth-child(2) { animation-delay: 0.2s; }
.animate-stagger > :nth-child(3) { animation-delay: 0.3s; }
.animate-stagger > :nth-child(4) { animation-delay: 0.4s; }
.animate-stagger > :nth-child(5) { animation-delay: 0.5s; }
.animate-stagger > :nth-child(6) { animation-delay: 0.6s; }

/* Hover lift effect */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover {
    transform: translateY(-6px);
}

/* Smooth reveal on scroll (used with reveal.js) */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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