/* تحسينات إضافية للتوافق مع الهيدر الأبيض */

/* تأكد من أن body يحتوي على المساحة الصحيحة للهيدر الأبيض */
body {
    padding-top: 80px !important; /* مساحة للهيدر الرئيسي فقط */
}

@media (max-width: 768px) {
    body {
        padding-top: 70px !important; /* مساحة للهيدر الرئيسي فقط على الجوال */
    }
}

/* تحسين القسم الأول ليتناسب مع الهيدر الأبيض */
.hero {
    margin-top: -80px;
    padding-top: 90px;
}

@media (max-width: 768px) {
    .hero {
        margin-top: -70px;
        padding-top: 80px;
    }
}

/* إصلاح أي تداخل مع الهيدر الأبيض */
.section {
    position: relative;
    z-index: 1;
}

header {
    z-index: 1000 !important;
}

/* تحسين الظلال للهيدر الأبيض */
header {
    box-shadow: 0 2px 20px rgba(46, 0, 86, 0.08) !important;
}

header.sticky-top {
    box-shadow: 0 4px 25px rgba(46, 0, 86, 0.15) !important;
}

/* تحسين التباين للنصوص على الهيدر الأبيض */
.nav-link {
    text-shadow: none !important;
}

.nav-brand .logo span {
    text-shadow: 0 1px 2px rgba(46, 0, 86, 0.1);
}

/* تحسين الحدود */
header {
    border-bottom: 1px solid rgba(46, 0, 86, 0.08) !important;
}

/* تحسين الانتقالات */
header,
.nav-link,
.social-link,
.contact-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* تحسين مظهر الأيقونات */
.contact-item i,
.social-link i {
    font-weight: 400;
}

/* تأكد من وضوح النصوص */
.contact-item a,
.contact-item span,
.nav-link {
    color: #2e0056 !important;
    font-weight: 600;
}

/* تحسين التمييز للروابط النشطة */
.nav-link.active,
.nav-link:hover {
    font-weight: 700 !important;
}

/* تحسين مظهر القائمة المحمولة */
@media (max-width: 768px) {
    .nav-menu {
        border-radius: 0 0 15px 15px;
        border: 1px solid rgba(46, 0, 86, 0.1);
        border-top: none;
    }

    .nav-list {
        gap: 8px;
    }

    .nav-link {
        border-radius: 10px;
        padding: 15px 20px;
        font-size: 16px;
        background: rgba(46, 0, 86, 0.02);
        border: 1px solid transparent;
    }

    .nav-link:hover {
        border-color: rgba(87, 7, 141, 0.2);
    }
}

/* تحسين الاستجابة */
@media (max-width: 480px) {
    .contact-info {
        gap: 12px;
    }

    .contact-item {
        font-size: 12px;
    }

    .social-links {
        gap: 6px;
    }

    .social-link {
        padding: 4px;
        font-size: 12px;
    }
}

/* تأثيرات إضافية للتفاعل */
.nav-brand .logo:active {
    transform: scale(0.98);
}

.nav-toggle:active {
    transform: scale(0.95);
}

.social-link:active {
    transform: scale(0.9);
}

/* تحسين التباعد العمودي */
.navbar .container {
    min-height: 50px;
}
