
/* الألوان الأساسية */

:root {
    --navy: #172438;
    --gold: #c6a15b;
    --cream: #f8f6f1;
    --white: #ffffff;
    --gray: #667085;
}

/* إعدادات عامة */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    direction: rtl;
    color: var(--navy);
    background: var(--white);
    line-height: 1.8;
}

a {
    text-decoration: none;
}

/* شريط التنقل */

header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.navbar {
    max-width: 1150px;
    margin: auto;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--navy);
    font-size: 28px;
    font-weight: bold;
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--navy);
    font-weight: bold;
}

.nav-links a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
}

/* القسم الرئيسي */

.hero {
    background: var(--cream);
    padding: 80px 25px;
}

.hero-content {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.subtitle {
    color: var(--gold);
    font-weight: bold;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.5;
    margin: 15px 0;
}

.hero h1 span {
    color: var(--gold);
}

.hero-text p {
    color: var(--gray);
    font-size: 17px;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* الأزرار */

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 7px;
    font-weight: bold;
    transition: 0.3s;
}

.primary {
    background: var(--navy);
    color: white;
}

.primary:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.secondary {
    border: 1px solid var(--navy);
    color: var(--navy);
}

.secondary:hover {
    background: var(--navy);
    color: white;
}

/* صورة المستشار */

.hero-image img {
    width: 100%;
    max-width: 420px;
    height: 450px;
    object-fit: cover;
    border-radius: 180px 180px 15px 15px;
    border: 7px solid white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* قسم من أنا */

.about {
    padding: 90px 25px;
    text-align: center;
    max-width: 850px;
    margin: auto;
}

.about h2,
.services h2,
.contact h2 {
    font-size: 35px;
    margin-bottom: 20px;
}

.about p {
    color: var(--gray);
    font-size: 18px;
}

/* الخدمات */

.services {
    background: var(--cream);
    padding: 90px 25px;
    text-align: center;
}

.service-container {
    max-width: 1150px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    padding: 30px 22px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-7px);
}

.service-card h3 {
    color: var(--navy);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
}

/* التواصل */

.contact {
    padding: 90px 25px;
    text-align: center;
}

.contact p {
    color: var(--gray);
    margin-bottom: 25px;
}

/* التذييل */

footer {
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 25px;
}

/* تصميم الجوال */

@media (max-width: 768px) {

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        height: 380px;
        max-width: 330px;
    }

    .service-container {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: white;
        padding: 25px;
        flex-direction: column;
        text-align: center;
        z-index: 10;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        border: none;
        background: none;
        font-size: 25px;
        cursor: pointer;
    }
}