/*
    ملف CSS (style.css) لتطبيق الألوان والتصميم الأساسي
    اللون الأساسي الداكن: #21212c (أو أغمق قليلاً للمسة فخمة #1a1a23)
    اللون الذهبي: #d4af37
    لون النص الأساسي الفاتح: #f0f0f0
*/

/* إعدادات عامة */
body {
    /* إذا أضفت خط Cairo من Google Fonts، استخدم: font-family: 'Cairo', sans-serif; */
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a23; /* خلفية داكنة جداً */
    color: #f0f0f0; /* لون النص الأساسي الفاتح */
    direction: rtl; /* اتجاه النص من اليمين لليسار */
    text-align: right;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #d4af37;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

.highlight {
    color: #d4af37; /* تمييز النصوص باللون الذهبي */
}

h1, h2, h3, h4, h5, h6 {
    color: #d4af37;
    margin-top: 0;
    margin-bottom: 20px;
}

h1 { font-size: 3em; }
h2 { font-size: 2.5em; }
h3 { font-size: 2em; }
h4 { font-size: 1.5em; }

/* الهيدر وقائمة التنقل */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #12121a; /* لون أغمق للهيدر */
    border-bottom: 2px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-logo {
    height: 60px; /* حجم الشعار في الهيدر */
    width: auto;
}

.navbar a {
    margin-right: 25px;
    font-weight: 500;
    font-size: 1.1em;
    color: #f0f0f0;
}

.navbar a:hover {
    color: #d4af37;
}

.cta-button {
    background-color: #d4af37;
    color: #1a1a23;
    padding: 10px 20px;
    border-radius: 50px; /* شكل دائري لزر الـ CTA */
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #d4af37;
}

.cta-button:hover {
    background-color: transparent;
    color: #d4af37;
}

/* قسم Hero - الواجهة الرئيسية */
.hero-section {
    /* الصورة رقم 2 (البروفايل) كخلفية */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/2.jpg') no-repeat center center/cover;
    height: 700px; /* ارتفاع أكبر لمظهر مبهر */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* المحاذاة لليمين بسبب RTL */
    padding: 0 5%;
    position: relative;
    text-align: right;
}

.hero-content {
    /* خلفية شفافة لجعل النص واضحاً */
    background-color: rgba(0, 0, 0, 0.7); 
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.hero-content h1 {
    font-size: 3.5em; /* حجم أكبر للعنوان الرئيسي */
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content h2 {
    font-size: 1.8em;
    color: #f0f0f0;
    margin-bottom: 30px;
    font-weight: normal;
}

.main-cta-button {
    display: inline-block;
    background-color: #d4af37;
    color: #1a1a23;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid #d4af37;
}

.main-cta-button:hover {
    background-color: transparent;
    color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
}

/* الأقسام الأخرى */
section {
    padding: 80px 0; /* مساحة أكبر للأقسام */
    text-align: right;
}

section:nth-of-type(even) {
    background-color: #12121a; /* خلفية متناوبة لإبراز الأقسام */
}

h3 {
    font-size: 2.2em;
    color: #d4af37;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 15px;
    margin-bottom: 40px;
    display: inline-block; /* لجعل الخط تحت العنوان فقط */
}

/* قسم من نحن */
.about-section p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

.vision-mission {
    background-color: #21212c;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    border-left: 5px solid #d4af37;
}

.vision-mission h4 {
    color: #fff;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.why-us ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.why-us li {
    background-color: #21212c;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    border-right: 3px solid #d4af37;
    font-size: 1.1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* قسم الاقتباسات الصوفية */
.spiritual-quotes {
    background: linear-gradient(rgba(26, 26, 35, 0.8), rgba(26, 26, 35, 0.8)), url('images/spiritual_bg.jpg') no-repeat center center/cover; /* يمكنك استبدال spiritual_bg.jpg بصورة روحانية أخرى */
    text-align: center;
    padding: 100px 0;
    color: #fff;
}

.spiritual-quotes .quote {
    font-size: 2.5em;
    font-style: italic;
    margin-bottom: 30px;
    color: #d4af37;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.spiritual-quotes .poetic-verse {
    font-size: 1.5em;
    margin-top: 20px;
    color: #f0f0f0;
}


/* قسم الخدمات */
.services-section .service-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap; /* للسماح بالالتفاف على الشاشات الصغيرة */
}

.services-section .card {
    background-color: #21212c;
    padding: 30px;
    border-radius: 12px;
    flex: 1;
    min-width: 280px; /* لضمان حجم مناسب للبطاقة */
    max-width: 350px;
    border-top: 5px solid #d4af37;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.services-section .card h4 {
    color: #fff;
    margin-top: 0;
    font-size: 1.6em;
}

/* قسم الفريق */
.team-section {
    text-align: center;
}
.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}
.member-card {
    background-color: #21212c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 200px;
}
.member-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #d4af37;
}
.member-card h4 {
    color: #fff;
    margin-bottom: 5px;
}
.member-card span {
    color: #aaa;
    font-size: 0.9em;
}


/* قسم التواصل */
.contact-section p {
    font-size: 1.1em;
    margin-bottom: 15px;
}
.contact-section a {
    font-weight: bold;
}

/* الفوتر */
.footer {
    background-color: #12121a;
    text-align: center;
    padding: 30px 5%;
    font-size: 0.95em;
    border-top: 2px solid #d4af37;
    color: #aaa;
}

.footer .social-links {
    margin: 20px 0;
}

.footer .social-links a {
    color: #f0f0f0;
    margin: 0 18px;
    font-size: 1.5em; /* حجم أكبر للأيقونات */
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: #d4af37;
}

/* زر واتساب العائم */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* ليكون في أسفل اليسار */
    background-color: #25d366; /* اللون الأخضر لواتساب */
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-align: center;
    font-size: 1.2em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
}

/* تصميم متجاوب (Responsive Design) */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar {
        margin-top: 15px;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .navbar a {
        margin: 5px 10px;
    }
    .hero-section {
        height: 500px;
        justify-content: center;
        text-align: center;
    }
    .hero-content {
        max-width: 90%;
        padding: 25px;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content h2 {
        font-size: 1.4em;
    }
    .main-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .services-section .service-cards {
        flex-direction: column;
        align-items: center;
    }
    .services-section .card {
        width: 90%;
        max-width: 400px;
    }
    .whatsapp-float {
        left: 15px;
        bottom: 15px;
        padding: 12px 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content h2 {
        font-size: 1.2em;
    }
    h3 {
        font-size: 1.8em;
    }
    .spiritual-quotes .quote {
        font-size: 1.8em;
    }
    .spiritual-quotes .poetic-verse {
        font-size: 1.2em;
    }
    .footer .social-links a {
        margin: 0 10px;
        font-size: 1.2em;
    }
}