/* transitions.css */

/* تأثيرات الهيدر */
.header-fixed {
    background: rgba(11, 11, 15, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-hidden {
    transform: translateY(-100%);
}

/* تأثيرات الشعار */
.logo-container {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container:hover {
    transform: scale(1.05);
}

/* تأثيرات القائمة */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #D4AF37;
}

.nav-link.active::after {
    width: 100%;
}

/* تأثيرات زر الواتساب */
.whatsapp-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* تأثيرات تحميل الصفحة */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    animation: pageLoad 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pageLoad {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأثيرات القائمة المتحركة */
.mobile-menu {
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* تأثيرات الروابط في القائمة */
.menu-link {
    position: relative;
    transition: color 0.3s ease;
}

.menu-link::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.menu-link:hover::before {
    width: 5px;
}

/* تأثيرات عند تحميل العناصر */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأخير التحريكات */
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }
.delay-4 { animation-delay: 400ms; }
.delay-5 { animation-delay: 500ms; }