/*
Theme Name: Qusay Alzajaji Premium Style - Royal Blue with Portrait
Author: Amir
Description: تصميم فاخر باللون الأزرق الملكي مع دمج صورة الطبيب باحترافية
*/

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Cairo', sans-serif;
    background-color: #F0F4F8; /* خلفية أزرق جليدي فاتح جداً */
    color: #152238; 
    direction: rtl;
    line-height: 1.6;
}

/* 1. الترويسة الأنيقة */
.premium-header {
    background-color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.05); 
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.doctor-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-right: 3px solid #D4AF37; /* خط ذهبي جانبي */
    padding-right: 15px;
}

.doctor-brand h1 {
    font-size: 1.5rem;
    color: #003366; /* أزرق ملكي */
    font-weight: 800;
    margin: 0;
}

.doctor-brand span {
    font-size: 0.85rem;
    color: #4A5D70;
    font-weight: 600;
}

.header-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.header-links a {
    color: #2C3E50;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.header-links a:hover {
    color: #003366; 
}

.book-btn {
    background-color: #003366; /* زر أزرق ملكي */
    color: #FFFFFF;
    padding: 10px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.3s;
    border: 1.5px solid #003366;
}

.book-btn:hover {
    background-color: transparent;
    color: #003366;
}

/* 2. الواجهة الرئيسية بالبطاقة العائمة والصورة المعزولة (Portrait Integrated Hero) */
.hero-wrapper {
    padding: 100px 5% 60px; /* زيادة مسافة العلو لراحة العين */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 90px);
}

.hero-card {
    background-color: #FFFFFF;
    width: 100%;
    max-width: 1200px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.08); /* ظل البطاقة */
    display: flex;
    overflow: hidden;
    position: relative;
    border-top: 4px solid #D4AF37; /* شريط ذهبي نحيف جداً كحد علوي للبطاقة لزيادة الفخامة */
}

/* لمسة الديكور الجمالية في الزاوية */
.hero-card::after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-left: 2px solid #003366;
    border-bottom: 2px solid #003366;
    opacity: 0.3;
}

.hero-content {
    flex: 1.2; /* النص يأخذ مساحة أكبر قليلاً */
    padding: 100px 70px 80px; /* زيادة المسافات الهوائية حول النص */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expert-badge {
    color: #D4AF37; /* ذهبي للف badge */
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-title {
    font-size: 3.5rem; /* تكبير العنوان */
    color: #003366; /* أزرق ملكي */
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 30px;
}

.main-desc {
    font-size: 1.15rem; /* تكبير الوصف قليلاً */
    color: #4A5D70;
    margin-bottom: 50px;
    max-width: 95%;
    line-height: 1.8;
}

.action-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background-color: #D4AF37; /* ذهبي للف badge */
    color: #003366; /* أزرق ملكي للنص */
    padding: 16px 38px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #C19B2D;
    color: #002244;
}

.hero-image-area {
    flex: 0.8; /* الصورة تأخذ مساحة أصغر لتبدو عائمة */
    background-color: #E8EEF5; /* خلفية أزرق جليدي خفيف جداً لعزل الصورة */
    background-image: url('images/qusay-alzajaji-portrait.jpg'); /* اسم الصورة الجديد */
    background-size: contain; /* containment لعزل الصورة كبطاقة داخل بطاقة */
    background-repeat: no-repeat;
    background-position: center bottom;
    min-height: 550px;
    position: relative;
    border-right: 1px solid rgba(0, 51, 102, 0.05); /* حد نحيف جداً للفصل */
    /* تأثير ظل ناعم للغاية لعزل الصورة عن خلفيتها الجليدية */
    filter: drop-shadow(0 15px 30px rgba(0, 51, 102, 0.03));
}

/* 3. استجابة الموبايل */
@media (max-width: 991px) {
    .header-links { display: none; }
    .hero-card { flex-direction: column; }
    .hero-image-area { min-height: 450px; order: -1; border-right: none; border-bottom: 1px solid rgba(0, 51, 102, 0.05); }
    .hero-content { padding: 60px 40px; text-align: center; }
    .main-title { font-size: 2.6rem; }
    .main-desc { max-width: 100%; margin: 0 auto 40px; }
    .action-buttons { justify-content: center; }
    .doctor-brand { border-right: none; padding-right: 0; }
}