/* ============================================
   BKADINHILKAB THEME - ANIMATIONS
   ============================================ */

/* ============================================
   ENTRANCE ANIMATIONS
   ============================================ */

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.animate-fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.animate-fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.animate-fade-in.visible {
    opacity: 1;
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations */
.animate-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.animate-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

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

/* ============================================
   HOVER ANIMATIONS
   ============================================ */

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(254, 161, 22, 0.4);
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@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);
    }
}

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

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   UTILITY ANIMATION CLASSES
   ============================================ */

.animation-pulse {
    animation: pulse 2s infinite;
}

.animation-bounce {
    animation: bounce 1s infinite;
}

.animation-rotate {
    animation: rotate 2s linear infinite;
}

.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-500 { animation-delay: 0.5s; }

/* ============================================
   COUNTER ANIMATION
   ============================================ */

.counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-primary);
}

.counter__label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gray);
    margin-top: 5px;
}

/* ============================================
   SECTION REVEAL ANIMATIONS
   ============================================ */

.section-reveal {
    overflow: hidden;
}

.section-reveal__content {
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-reveal.visible .section-reveal__content {
    transform: translateY(0);
    opacity: 1;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 991.98px) {
    .parallax {
        background-attachment: scroll;
    }
}
