/* ============================================================
   Dr. Mohamed Moawad — Architectural Design
   الثيم: أسود + ذهبي  |  RTL
   ============================================================ */

:root {
    --bg:        #0e0e10;
    --bg-dark:   #08080a;
    --card:      #17171a;
    --card-2:    #1e1e22;
    --border:    #2b2b30;
    --gold:      #c9a24b;
    --gold-2:    #e3c478;
    --gold-deep: #a17e34;
    --text:      #f3f1ec;
    --muted:     #9c968b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Cairo', 'Tajawal', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* خط لاتيني أنيق للعناوين الإنجليزية */
.font-serif-en {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    letter-spacing: .35em;
}

/* نص ذهبي متدرج */
.text-gold {
    color: var(--gold);
}
.gold-gradient {
    background: linear-gradient(135deg, var(--gold-2), var(--gold), var(--gold-deep));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.4;
    padding-bottom: 0.14em;
}

/* أزرار */
.btn-gold {
    display: inline-flex; align-items: center; gap: .5rem;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #1a1408; font-weight: 700;
    padding: .8rem 1.6rem; border-radius: .6rem;
    transition: .25s; border: none; cursor: pointer;
    box-shadow: 0 8px 24px -10px rgba(201,162,75,.6);
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.07); }

.btn-outline {
    display: inline-flex; align-items: center; gap: .5rem;
    border: 1px solid var(--gold); color: var(--gold);
    padding: .8rem 1.6rem; border-radius: .6rem;
    transition: .25s; background: transparent; cursor: pointer;
}
.btn-outline:hover { background: rgba(201,162,75,.1); }

/* كروت */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: .3s;
}
.card:hover {
    border-color: rgba(201,162,75,.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px -25px rgba(0,0,0,.9);
}

/* عنوان قسم */
.section-eyebrow {
    color: var(--gold); font-weight: 600; letter-spacing: .05em;
    margin-bottom: .4rem;
}
.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800; line-height: 1.3;
}
.divider-gold {
    width: 70px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* الشريط العلوي */
.navbar {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(8,8,10,.82);
    border-bottom: 1px solid var(--border);
}
.nav-link { color: var(--text); opacity: .85; transition: .2s; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--gold); opacity: 1; }
.nav-link.active::after {
    content: ''; position: absolute; bottom: -6px; right: 0; left: 0;
    height: 2px; background: var(--gold); border-radius: 2px;
}

/* شريط واتساب عائم */
.wa-float {
    position: fixed; bottom: 24px; left: 24px; z-index: 60;
    background: #25D366; color: #fff;
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px -8px rgba(37,211,102,.6);
    transition: .25s;
}
.wa-float:hover { transform: scale(1.08); }

/* hero overlay */
.hero-overlay {
    background: linear-gradient(90deg, var(--bg) 0%, rgba(14,14,16,.7) 45%, rgba(14,14,16,.2) 100%);
}

/* الإحصائيات */
.stat-num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--gold); }

/* الفورم */
.field {
    width: 100%; background: var(--card-2); border: 1px solid var(--border);
    color: var(--text); border-radius: .6rem; padding: .85rem 1rem;
    transition: .2s; font-family: inherit;
}
.field:focus { outline: none; border-color: var(--gold); }
.field::placeholder { color: var(--muted); }

/* سكرول بار */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 5px; }

/* ظهور تدريجي */
.reveal { opacity: 0; transform: translateY(24px); transition: .7s ease; }
.reveal.show { opacity: 1; transform: none; }
