/* الألوان الأساسية للموقع */
:root {
    --main-red: #a31d1d;
    --dark-bg: #1a1a1a;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body {
    direction: rtl;
    font-family: 'Cairo', sans-serif; /* يفضل استخدام خط Cairo لمظهر احترافي */
    background-color: var(--light-gray);
    margin: 0;
    color: #333;
}

/* تنسيق بطاقات الخدمات (مثل التي في الصور) */
.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: 0.3s ease-in-out;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid var(--main-red);
}

.service-icon {
    background: #fff5f5;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    color: var(--main-red);
    font-size: 30px;
}

.btn-order {
    background-color: var(--main-red);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}
/* إعدادات المتغيرات */
:root {
    --main-red: #a31d1d;
    --dark-bg: #1a1a1a;
    --white: #ffffff;
    --gray-light: #f4f4f4;
}

/* تنسيق القائمة العلوية (للكمبيوتر) */
.desktop-nav {
    background-color: var(--dark-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.desktop-nav .logo {
    color: var(--main-red);
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.desktop-nav ul li {
    margin: 0 15px;
}

.desktop-nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.desktop-nav ul li a:hover {
    color: var(--main-red);
}

/* تنسيق القائمة السفلية (للهاتف) */
.mobile-nav {
    display: none; /* مخفية افتراضياً في الكمبيوتر */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.mobile-nav ul li a {
    color: #555;
    text-decoration: none;
    font-size: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav ul li a i {
    font-size: 20px;
    margin-bottom: 5px;
}

.mobile-nav ul li a:hover {
    color: var(--main-red);
}

/* Media Queries للتحكم في الظهور */
@media (max-width: 768px) {
    .desktop-nav {
        display: none; /* إخفاء قائمة الكمبيوتر في الهاتف */
    }
    .mobile-nav {
        display: block; /* إظهار قائمة الهاتف */
    }
    body {
        padding-bottom: 70px; /* ترك مساحة للقائمة السفلية */
    }
}
