:root {
    --primary: #024c4b;
    --gold: #ffd700;
    --gold-grad: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fcf6ba, #aa771c);
    /* تدرج ذهبي شفاف ومنسق للنصوص */
    --gold-trans-grad: linear-gradient(135deg, rgba(191, 149, 63, 0.45), rgba(252, 246, 186, 0.35), rgba(179, 135, 40, 0.45));
    /* فضي متدرج بشدة ليعطي عمق للموقع */
    --silver-grad: linear-gradient(180deg, #bdc3c7 0%, #ffffff 50%, #95a5a6 100%);
    --text-dark: #2c3e50;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Cairo', sans-serif; 
    background: var(--silver-grad); /* الخلفية الفضية القوية */
    background-attachment: fixed;
    color: var(--text-dark); 
    direction: rtl; 
    padding-bottom: 110px; /* زيادة المساحة للشريط السفلي الجديد */
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- تأثير الطواف العام للأقسام --- */
main > section, .services-grid, .blog-grid, .stats-box {
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

/* --- 1. الهيدر الذهبي البيضاوي (المطور) --- */
header { 
    background: var(--gold-grad) !important; /* لونه ذهبي مدرج كما طلبت */
    margin: 10px 15px;
    padding: 10px 20px; 
    border-radius: 50px; /* شكل بيضاوي */
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    box-shadow: 0 8px 25px rgba(183, 131, 28, 0.3);
    position: sticky;
    top: 10px;
    z-index: 2500;
    border: 1px solid rgba(255,255,255,0.5);
}

header img { height: 45px; }

.header-btn {
    background: rgba(2, 76, 75, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 15px;
    border-radius: 20px;
    font-family: 'Cairo';
    font-weight: 800;
    margin-left: 5px;
    transition: 0.3s all;
}

.header-btn:active {
    background: var(--primary);
    color: white;
    transform: scale(0.9);
}

.app-status { color: var(--primary); font-weight: bold; font-size: 0.8rem; }

/* --- الهيرو (Hero) مع تأثير الطواف --- */
.mobile-hero { 
    background: url('5.webp') center/cover; 
    height: 42vh; 
    margin: 20px 15px; 
    border-radius: 30px; 
    position: relative; 
    overflow: hidden; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.hero-overlay { 
    position: absolute; 
    bottom: 0; 
    width: 100%; 
    background: linear-gradient(transparent, rgba(2, 76, 75, 0.85)); 
    padding: 25px; 
    text-align: center; 
    color: white;
}

.section-title { 
    padding: 30px 20px 15px; 
    font-size: 1.5rem; 
    color: var(--primary); 
    font-weight: 900;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* --- خدماتنا (ذهبي شفاف وتأثير طواف عالٍ) --- */
.services-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
    padding: 0 18px; 
}

.m-service-card { 
    background: var(--gold-trans-grad); 
    backdrop-filter: blur(12px);
    padding: 30px 20px; 
    border-radius: 35px; 
    text-align: center; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), inset 0 0 15px rgba(255,255,255,0.5); 
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.4s ease;
}

.m-service-card:active { transform: scale(0.97); }

.m-icon-box { 
    background: white; 
    width: 75px; 
    height: 75px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 18px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.m-icon-box img { width: 45px; }

.m-service-card h3 { color: #3e2723; font-size: 1.2rem; font-weight: 900; margin-bottom: 12px; }

.m-service-card p { 
    color: #4e342e; 
    font-size: 0.95rem; 
    line-height: 1.7; 
    font-weight: 700; 
    text-align: center;
}

/* --- قسم مقالاتنا --- */
.blog-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 15px; 
    padding: 0 15px; 
    margin-bottom: 40px;
}

.article-card { 
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 25px; 
    overflow: hidden; 
    border: 1px solid rgba(183, 131, 28, 0.4); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img-box img { width: 100%; height: 130px; object-fit: cover; }
.card-content { padding: 12px; text-align: center; }
.card-content h3 { font-size: 0.9rem; color: #1b5e20; font-weight: 900; }

/* --- شريط المشاريع --- */
.mobile-slider { 
    display: flex; 
    overflow-x: auto; 
    gap: 15px; 
    padding: 10px 15px 40px; 
    scrollbar-width: none; 
}

.mobile-slider img { 
    width: 260px; 
    height: 330px; 
    object-fit: cover; 
    border-radius: 25px; 
    border: 5px solid white; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* --- 2. الشريط السفلي الذهبي الموجي (المطور) --- */
.m-bottom-nav { 
    position: fixed; 
    bottom: 0; 
    width: 100%; 
    background: var(--gold-grad) !important; /* ذهبي مدرج */
    display: flex; 
    justify-content: space-around; 
    padding: 15px 0; 
    border-top-left-radius: 40px; 
    border-top-right-radius: 40px; 
    height: 80px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
    border-top: 2px solid rgba(255,255,255,0.6);
    z-index: 2000;
}

.m-bottom-nav a { 
    text-decoration: none; 
    color: #4e342e !important; 
    font-size: 0.85rem; 
    text-align: center; 
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m-bottom-nav a.active { color: var(--primary) !important; font-weight: 900; }

/* --- 3. أزرار التواصل داخل الصفحات المنفصلة --- */
.contact-links { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

.social-btn {
    padding: 15px; 
    border-radius: 15px; 
    text-decoration: none; 
    color: white;
    text-align: center; 
    font-weight: bold; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.whatsapp { background: #25d366; }
.phone { background: #007bff; }
.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.email { background: #ea4335; }


/* تنسيق تذييل الصفحة */
.site-footer {
    background-color: #2c3e50; /* يمكنك تغيير هذا اللون ليتماشى مع ألوان الموقع */
    color: #ecf0f1;
    text-align: center;
    padding: 20px 15px;
    font-family: inherit; /* سيأخذ نفس الخط المستخدم في الموقع */
    position: relative;
    bottom: 0;
    width: 100%;
}

.site-footer .footer-container p {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.5px;
}




/* --- قسم معرض الأعمال - Bait Al Lamsa Gallery --- */
.bl-gallery-wrapper {
    padding: 20px 15px;
    margin-bottom: 30px;
}

.bl-gallery-grid {
    display: grid;
    grid-template-columns: 1fr; /* مناسب للجوال بشكل افتراضي */
    gap: 20px;
}

.bl-gallery-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(183, 131, 28, 0.2);
    transition: transform 0.3s ease;
}

.bl-gallery-card:active {
    transform: scale(0.98);
}

.bl-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 3px solid var(--gold);
}

.bl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bl-card-info {
    padding: 15px;
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    text-align: center;
}

.bl-card-info h3 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.bl-card-info p {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.85;
}

/* في حال أردت عرض خانتين بجانب بعض في الشاشات الأكبر قليلاً */
@media (min-width: 480px) {
    .bl-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}







/* --- قسم أين تجدنا - Bait Al Lamsa Find Us --- */
.bl-find-us-wrapper {
    padding: 20px 18px;
    margin-bottom: 40px;
}

.bl-find-container {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 35px;
    overflow: hidden;
    border: 1px solid rgba(183, 131, 28, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* تنسيق صورة الخريطة */
.bl-map-preview {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.bl-map-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bl-map-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 76, 75, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    opacity: 0;
    transition: 0.3s;
}

.bl-map-preview:hover .bl-map-overlay { opacity: 1; }
.bl-map-preview:hover img { transform: scale(1.1); }

/* تنسيق أزرار التواصل */
.bl-contact-channels {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bl-contact-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 12px;
    background: white;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.bl-contact-item:active { transform: scale(0.96); }

.bl-contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.bl-contact-icon img { width: 28px; }

/* ألوان الأيقونات */
.whatsapp-bg { background: #25d366; }
.phone-bg { background: var(--primary); }
.google-bg { background: #ffffff; border: 1px solid #ddd; }

.bl-contact-text h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 2px;
    font-weight: 800;
}

.bl-contact-text p {
    color: #666;
    font-size: 0.8rem;
    margin: 0;
}