/* إعدادات عامة */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, #111111 0%, #050505 55%, #000000 100%);
    color: #f7f7f7;
    line-height: 1.8;
    direction: rtl;
    /* مسافة تعادل تقريبًا ارتفاع الهيدر */
    padding-top: 90px;
}

/* ألوان الهوية */
:root {
    --bg-main: #050505;
    --bg-alt: #101118;
    --bg-soft: #08090e;
    --gold: #d4af37;
    --gold-soft: #e3c768;
    --text-main: #f7f7f7;
    --text-muted: #b5b5b5;
    --border-soft: rgba(212, 175, 55, 0.4);
    --shadow-soft: 0 18px 35px rgba(0, 0, 0, 0.8);
}

/* العناصر التفاعلية */
a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* الأزرار */
.btn-gold,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.35s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #1b1b1b;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(212, 175, 55, 0.45);
}

.btn-outline {
    border-color: var(--gold);
    color: var(--gold-soft);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-2px);
}

/* الهيدر / الهيرو */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 1.5rem 6vw 4rem;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 20% 0%, rgba(212, 175, 55, 0.18) 0, transparent 55%),
        radial-gradient(circle at 80% 100%, rgba(212, 175, 55, 0.16) 0, transparent 55%),
        linear-gradient(135deg, #020203 0%, #050509 55%, #020203 100%);
}

/* شريط التنقل */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    /* نخلي الهيدر ثابت في أعلى الصفحة */
    position: fixed;
    top: 5px;
    right: 50%;
    transform: translateX(50%);

    z-index: 999; /* عشان يكون فوق كل الأقسام */
    width: min(1120px, 100% - 3rem);

    margin-bottom: 0; /* ما نحتاجش المارجن مع الهيدر الثابت */
    backdrop-filter: blur(18px);
    background: linear-gradient(to left, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.75));
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.65);
}


.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.7px;
    color: var(--gold-soft);
}

.nav-logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.nav-links a {
    position: relative;
    padding-bottom: 0.2rem;
    color: var(--text-muted);
}

.nav-links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover::after {
    width: 100%;
}

/* محتوى الهيرو */
.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.7fr);
    gap: 3.5rem;
    margin-top: 4rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-text h1 {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-tagline {
    max-width: 34rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}


/* شعار كبير في الخلفية */
.hero-logo-bg {
    position: absolute;
    inset: auto 70% 5rem auto;
    transform: translateX(50%);
    opacity: 0.05;
    pointer-events: none;
}

.hero-logo-bg img {
    width: min(420px, 70vw);
    filter: blur(0.6px);
}

/* الأقسام العامة */
.section {
    position: relative;
    padding: 6rem 7vw;
    background-color: var(--bg-soft);
    overflow: hidden;
}

.section-inner {
    position: relative;
    z-index: 2;
    max-width: 1040px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold-soft);
}

/* خلفية شفافة أعلى أي قسم */
.section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.9), rgba(5, 5, 10, 0.77));
    mix-blend-mode: multiply;
    z-index: 1;
}

/* خلفيات خاصة للأقسام (غيّر مسارات الصور بما يناسبك) */
.section--about {
    background-image:
        linear-gradient(135deg, rgba(5, 5, 10, 0.236), rgba(3, 3, 6, 0.411)),
        url('https://media.licdn.com/dms/image/v2/C561BAQH_GuDAYGN37Q/company-background_10000/company-background_10000/0/1584525649542?e=2147483647&v=beta&t=GM73zcbduclINC2iuxrkCif77GTa_dPhRlb8ZpTjm4c');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section--activity {
    background-image:
        linear-gradient(135deg, rgba(7, 7, 10, 0.23), rgba(5, 5, 12, 0.5)),
        url('https://freecoupon.net/wp-content/uploads/2024/02/istockphoto-1211554164-612x612-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section--products {
    background-image:
        linear-gradient(135deg, rgba(3, 3, 5, 0.96), rgba(6, 6, 10, 0.98)),
        url('');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section--vision {
    background-image:
        linear-gradient(135deg, rgba(7, 7, 9, 0.121), rgba(4, 4, 8, 0.159)),
        url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRcdC9iderIUNES-MUlUs56gItMN4MLZ4cRIUj8VRAxUkGtgUEMGbWMHEwyWt7W-Je2WDI&usqp=CAU');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section--legal {
    background-image:
        linear-gradient(135deg, rgba(5, 5, 8, 0.97), rgba(2, 2, 4, 0.99)),
        url('images/legal-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section--contact {
    background-image:
        linear-gradient(135deg, rgba(6, 6, 10, 0.1), rgba(3, 3, 7, 0.207)),
        url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQIq21TxmkbUiH3mvHE0T_SBiDadIrEi-U2eA&s');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* نصوص القسم */
.section p {
    color: var(--text-main);
    margin-bottom: 0.9rem;
}

/* القوائم */
.bullet-list {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.4rem;
}

.bullet-list li {
    position: relative;
    padding-right: 1.2rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.bullet-list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.7rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-soft), var(--gold));
}

/* ملاحظات */
.section-note {
    margin-top: 1.2rem;
    font-size: 0.8rem;
    color: rgba(230, 230, 230, 0.7);
    opacity: 0.85;
}

/* فئات المنتجات */
.section-header {
    margin-bottom: 2.2rem;
}

.products-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.16), transparent 55%),
                rgba(5, 5, 8, 0.92);
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.9);
    border-color: rgba(212, 175, 55, 0.7);
}

.product-image {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 8, 0.9), transparent 50%);
}

.product-text {
    padding: 1rem 1.1rem 1.3rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

/* الرؤية والقيم */
.vision-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
}

.values-block .bullet-list li {
    color: var(--text-main);
}

/* للتواصل */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.contact-text p {
    color: var(--text-main);
}

.contact-box {
    background: rgba(4, 4, 7, 0.94);
    border-radius: 20px;
    padding: 1.7rem 1.6rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.contact-box h3 {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--gold-soft);
}

.contact-list {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.3rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-list span:first-child {
    color: var(--gold-soft);
    margin-left: 0.4rem;
}

/* الفوتر */
.footer {
    background: #020204;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1rem 6vw;
}

.footer-inner {
    max-width: 1040px;
    margin: 0 auto;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* الأنيميشن */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
    animation-delay: var(--delay, 0s);
}

/* تجاوب الشاشات الصغيرة */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .hero-logo-bg {
        display: none;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 25px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .vision-layout,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .section {
        padding-inline: 5vw;
    }

    .navbar {
        padding-inline: 1rem;
    }

    .hero {
        padding-inline: 5vw;
    }

    .products-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-text h1 {
        font-size: 1.7rem;
    }
}
