/* ===========================================================
   LDREE Official Style Sheet
   تصميم راقٍ بلون بيج متدرج ولمسة ذهبية
   =========================================================== */

/* ------------------- 1. الأساسيات ------------------- */
:root {
    --primary-beige: #cbb79c;
    --primary-gold: #d9b97c;
    --primary-gray: #5f6a6a;
    --bg-light: #f8f6f3;
    --text-dark: #2c3e50;
    --white: #fff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* ------------------- 2. الهيدر ------------------- */
.top-bar {
    background: var(--primary-gray);
    color: white;
    font-size: 0.95rem;
    padding: 8px 0;
}

.top-bar .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: white;
}

.top-bar a:hover {
    color: var(--primary-gold);
}

/* ------------------- 3. الترويسة الرئيسية ------------------- */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.main-header .container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary-gray);
}

.logo-text .ar {
    color: var(--primary-beige);
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-beige);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-beige);
    border-radius: 5px;
}

/* ------------------- 4. القسم الرئيسي (Hero) ------------------- */
.hero-section {
    background: linear-gradient(135deg, #f8f6f3 0%, #d7c0a6 45%, #d9b97c 100%);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.15);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    color: #fff;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-light {
    background: white;
    color: var(--primary-gray);
}

.btn-light:hover {
    background: var(--primary-gold);
    color: #fff;
}

.btn-primary {
    background: var(--primary-beige);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-gold);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--primary-gray);
    color: #fff;
}

.btn-success:hover {
    background: #404949;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    margin-top: 60px;
    text-align: center;
}

.stat-item {
    background: rgba(255,255,255,0.15);
    padding: 20px;
    border-radius: 15px;
    color: #fff;
}

/* ------------------- 5. العروض (العقارات) ------------------- */
.featured-properties {
    padding: 80px 20px;
    background: linear-gradient(180deg, #faf9f6 0%, #f5f3ef 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-gray);
    margin-bottom: 10px;
}

.section-header p {
    color: #777;
    font-size: 1.1rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 25px;
}

.property-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.property-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.property-content {
    padding: 20px;
}

.property-content h3 {
    color: var(--primary-gray);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.property-location {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-price {
    color: var(--primary-beige);
    font-weight: 800;
    font-size: 1.3rem;
}

.property-cta-btn {
    background: var(--primary-beige);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
}

.property-cta-btn:hover {
    background: var(--primary-gold);
}

/* ------------------- 6. قسم الخدمات ------------------- */
.other-services {
    background: var(--bg-light);
    padding: 80px 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card div:first-child {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--primary-beige);
}

.service-card h4 {
    color: var(--primary-gray);
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card a {
    color: var(--primary-beige);
    font-weight: 600;
}

/* ------------------- 7. CTA (أضف إعلانك) ------------------- */
.add-property-cta {
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--primary-gold) 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.add-property-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.add-property-cta p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 35px;
}

.add-property-cta .btn-light {
    color: var(--primary-gray);
    background: white;
    font-weight: 700;
}

.add-property-cta .btn-light:hover {
    background: #f1e6d6;
}

/* ------------------- 8. الزر العائم للواتساب ------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    z-index: 9999;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ------------------- 9. تجاوب الهواتف ------------------- */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 15px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .properties-grid {
        grid-template-columns: 1fr;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }