/* Animations.css - تأثيرات حركية للموقع */

/* تأثيرات الظهور التدريجي */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInRight 0.6s ease forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInLeft 0.6s ease forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

/* تأخير التحريكات */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }

/* تعريف التحريكات */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* تحريك العناوين الرئيسية */
.title-animation {
    animation: titleReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
}

@keyframes titleReveal {
    from {
        clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    }
    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* تأثير التلاشي للخلفية */
.gradient-fade {
    animation: gradientFade 1s ease forwards;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0), rgba(110, 86, 207, 0));
}

@keyframes gradientFade {
    to {
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(110, 86, 207, 0.1));
    }
}

/* تأثير نبض للأزرار */
.pulse-on-hover {
    transition: transform 0.3s ease;
}

.pulse-on-hover:hover {
    transform: scale(1.05);
}

/* تأثير ظهور البطاقات */
.card-reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: cardReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cardReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* تأثير تحريك الأرقام */
.number-counter {
    animation: numberCount 2s ease-out forwards;
}

@keyframes numberCount {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأثيرات التمرير */
.scroll-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* تأثير ظهور القائمة */
.menu-reveal {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
}

.menu-reveal.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* تأثير الظل المتحرك */
.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}