:root {
    --primary-color: #dc3545;
    --secondary-color: #212529;
    --accent-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --red-dark: #a71d2a;
    --red-light: #e74c3c;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--red-dark));
    --gradient-secondary: linear-gradient(180deg, #2c3e50, #34495e);
    --shadow-primary: 0 4px 25px rgba(220, 53, 69, 0.6);
    --shadow-card: 0 4px 15px rgba(0,0,0,0.1);
    --border-radius: 15px;
    --transition-speed: 0.3s;
}

/* الجسم العام */
body { 
    background-color: #f8f9fa; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: #333;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;  /* أصغر */
    font-weight: 600;    /* عريض */
}

/* التصميم العربي */
[dir="rtl"] body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* شريط التنقل */
.navbar {
    background: white !important;
    box-shadow: var(--shadow-primary);
    border-bottom: 2px solid var(--primary-color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 10px 15px !important;
    border-radius: 8px;
    margin: 0 3px;
}

.nav-link:hover {
    color: #fff !important;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* أزرار */
.btn {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* الهيدر */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: scroll;
}

.hero-section .display-2 {
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.hero-section .lead {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
}

/* بطاقات العقارات */
.property-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(220, 53, 69, 0.1);
    height: 100%;
}

.property-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.property-card .card-title {
    font-size: 1rem;
    font-weight: 600;
}

.property-card .card-text {
    font-size: 0.85rem;
}

/* بطاقات الإحصائيات */
.stat-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
    border: none;
    padding: 15px;
}

.stat-card h5 { font-size: 0.9rem; }
.stat-card h3 { font-size: 1.2rem; }

/* بطاقات الخدمات */
.service-card {
    text-align: center;
    padding: 20px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(220, 53, 69, 0.1);
    height: 100%;
}

.service-card i { font-size: 1.8rem; color: var(--primary-color); }
.service-card h4 { font-size: 1rem; }
.service-card p { font-size: 0.85rem; }

/* التذييل */
/* روابط الفوتر */
footer .footer-link {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 2px 5px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

footer .footer-link:hover {
    background-color: #dc3545;
    color: #fff !important;
}

/* أزرار تابعنا */
footer .social-btn {
    display: inline-block;
    margin: 5px;
    padding: 10px 12px;
    border-radius: 50%;
    background-color: #f1f1f1;
    color: #dc3545;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

footer .social-btn:hover {
    background-color: #dc3545;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

