/* =========================================
   1. ألوان الهوية البصرية والمتغيرات
   ========================================= */
:root {
    --gold-color: #c4a05d; /* اللون الذهبي الأساسي */
    --gold-dark: #bfa15f; /* ذهبي غامق للأزرار */
    --navy-blue: #004a77; /* اللون الكحلي المعتمد */
    --purple-color: #6a1b41; /* اللون الخمري */
    --dark-bg: #222222;
    --light-bg: #f9f9f9;
}

/* =========================================
   2. التنسيقات العامة والخطوط
   ========================================= */
body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
}

/* =========================================
   3. تنسيق القائمة العلوية (Navigation Bar) - تم التصليح هنا
   ========================================= */
.navbar-custom {
    background-color: rgba(0, 0, 0, 0.9); /* أسود شفاف */
    border-bottom: 2px solid var(--gold-color);
    padding: 12px 0;
}

    .navbar-custom .navbar-brand {
        color: var(--gold-color) !important;
        font-size: 1.6rem;
        font-weight: 900;
    }

    .navbar-custom .nav-link {
        color: #ffffff !important;
        margin-right: 20px; /* مسافة بين الروابط */
        font-weight: 700;
        font-size: 1.2rem !important; /* تكبير الخط ليكون واضحاً */
        transition: all 0.3s ease;
    }

        .navbar-custom .nav-link:hover {
            color: var(--gold-color) !important;
            transform: translateY(-2px);
        }

/* =========================================
   4. تنسيق السلايدر (Hero Modern) - شاشة الكمبيوتر
   ========================================= */
.hero-header-modern {
    position: relative;
    height: 75vh;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.hero-img {
    height: 75vh;
    min-height: 500px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 150px;
    padding-right: 80px;
    z-index: 2;
    text-align: right;
}

.main-title {
    color: var(--gold-color) !important; /* ذهبي ثابت */
    font-weight: 900;
    font-size: 3.8rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.hero-subtitle {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
}

/* =========================================
   5. تحسينات الموبايل (التنسيق الذكي)
   ========================================= */
@media (max-width: 768px) {
    /* تصغير حجم خط القائمة في الموبايل ليتناسب مع الشاشة */
    .navbar-custom .nav-link {
        font-size: 1rem !important;
        margin-right: 0;
        padding: 10px 0;
    }

    .hero-header-modern {
        height: auto;
    }

    .hero-img {
        height: 280px !important;
    }

    .hero-content-wrapper {
        position: relative !important;
        padding: 15px 15px 25px 15px !important;
        margin-top: -5px !important;
        background-color: #ffffff;
        text-align: center;
        display: block;
        height: auto;
    }

    .main-title {
        font-size: 1.8rem !important;
        color: var(--gold-color) !important;
        text-shadow: none;
        margin-top: 0;
        margin-bottom: 5px !important;
    }

    .hero-subtitle {
        color: var(--navy-blue) !important; /* كحلي كبير وقريب */
        display: block !important;
        font-size: 1.4rem !important;
        font-weight: 900 !important;
        line-height: 1.3 !important;
        margin-top: 0 !important;
        margin-bottom: 15px !important;
    }
}
