﻿/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

:root {
    --primary-color: #000000; /* أسود */
    --secondary-color: #1a1a1a; /* رمادي غامق جداً للخلفيات */
    --gold-color: #D4AF37; /* ذهبي أساسي */
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #C5A028 100%); /* تدرج ذهبي */
    --text-light: #ffffff;
    --text-muted: #b3b3b3;
}

/* --- Global Settings --- */
body {
    font-family: 'Cairo', sans-serif;
    /* تصغير الخط ليكون أكثر أناقة وراحة للعين */
    font-size: 0.92rem;
    background-color: #f8f9fa; /* خلفية فاتحة هادئة للمحتوى */
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
    line-height: 1.7; /* تباعد مريح بين السطور */
}

/* عناوين متناسقة وليست ضخمة */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: var(--gold-color);
    border-radius: 5px;
}

/* --- Navbar Styling --- */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    padding: 10px 0; /* تقليل الارتفاع */
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 45px; /* حجم لوجو متناسق */
    filter: drop-shadow(0 0 5px var(--gold-color));
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    font-size: 0.95rem; /* خط القائمة مناسب */
    margin: 0 8px;
    position: relative;
    transition: 0.3s;
}

    .nav-link:hover, .nav-link.active {
        color: var(--gold-color) !important;
    }

    /* تأثير الخط تحت الروابط */
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        right: 0;
        background-color: var(--gold-color);
        transition: width 0.3s;
    }

    .nav-link:hover::after, .nav-link.active::after {
        width: 100%;
    }

/* زر الهمبرجر للموبايل */
.navbar-toggler {
    border-color: var(--gold-color);
    color: var(--gold-color);
    font-size: 0.9rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(212, 175, 55, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* --- Buttons --- */
.btn-gold {
    background: var(--gold-gradient);
    color: #000;
    font-weight: 700;
    border: none;
    padding: 8px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    font-size: 0.95rem;
}

    .btn-gold:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
        color: #fff;
    }

/* --- Cards Styling (Smooth & Elegant) --- */
.service-card, .info-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    /* تبطئ الحركة وتنعيمها */
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default; /* مؤشر الماوس العادي */
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.08);
        border-bottom: 4px solid var(--gold-color);
    }

    .service-card i {
        font-size: 2.8rem;
        color: var(--primary-color);
        margin-bottom: 20px;
        transition: all 0.6s ease;
    }

    .service-card:hover i {
        color: var(--gold-color);
        transform: scale(1.1); /* تكبير هادئ */
    }

/* خلفية أيقونات باهتة */
.bg-icon-overlay {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 10rem;
    color: rgba(0,0,0,0.03);
    z-index: 0;
    transform: rotate(-15deg);
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 50px 0 15px;
    margin-top: auto;
    border-top: 3px solid var(--gold-color);
}

    footer h5 {
        color: var(--gold-color);
        font-weight: 700;
        margin-bottom: 20px;
        font-size: 1.1rem;
    }

    /* تحسين لون النص في الفوتر للظهور */
    footer p, footer .text-white-50 {
        color: #e0e0e0 !important;
        font-size: 0.9rem;
    }

    footer ul li {
        margin-bottom: 10px;
    }

        footer ul li a {
            color: #ccc;
            text-decoration: none;
            transition: 0.3s;
            font-size: 0.9rem;
        }

            footer ul li a:hover {
                color: var(--gold-color);
                padding-right: 5px;
            }

/* أزرار التواصل في الفوتر */
.footer-action-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 8px;
    transition: 0.3s;
    font-size: 0.95rem;
    text-decoration: none;
}

.btn-call {
    background: rgba(255,255,255,0.1);
    color: var(--gold-color);
}

    .btn-call:hover {
        background: var(--gold-color);
        color: #000;
    }

.btn-wa {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
}

    .btn-wa:hover {
        background: #25D366;
        color: #fff;
    }

/* توقيع الشركة المصممة */
.msc-signature {
    font-size: 0.85rem;
    opacity: 0.8;
}

    .msc-signature a {
        color: var(--gold-color);
        font-weight: bold;
        text-decoration: none;
        transition: 0.3s;
    }

        .msc-signature a:hover {
            text-decoration: underline;
            color: #fff;
            opacity: 1;
        }
