/* =========================================================
   إعدادات عامة
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", sans-serif;
    direction: rtl;
    background: #ffffff;
    color: #222;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 40px;
}


/* =========================================================
   الألوان
========================================================= */

:root {

    --primary: #b88a2b;
    --primary-dark: #8d681d;
    --dark: #151515;
    --dark-2: #222222;
    --light: #f7f7f7;
    --white: #ffffff;
    --text: #333333;
    --muted: #777777;
    --border: #e8e8e8;
    --green: #25d366;

}


/* =========================================================
   Navbar
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* الشعار */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--dark);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-text strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

.logo-text span {
    font-size: 10px;
    color: var(--muted);
}


/* روابط القائمة */

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a {
    position: relative;
    padding: 10px 13px;
    color: #444;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-dark);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: 2px;
    right: 13px;
    left: 13px;
    height: 2px;
    background: var(--primary);
}


/* زر اتصل بنا */

.nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    background: var(--dark);
    color: var(--white);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.nav-contact:hover {
    background: var(--primary);
    color: var(--white);
}


/* زر القائمة */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--dark);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}


/* =========================================================
   Hero
========================================================= */

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.86),
            rgba(0, 0, 0, 0.62),
            rgba(0, 0, 0, 0.35)
        ),
        url("../images/1.jpg") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(184, 138, 43, 0.16),
            transparent 35%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
    padding: 80px 0;
}

.hero-small-title {
    display: inline-block;
    color: var(--primary);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 75px);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-content > p {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-description {
    max-width: 600px;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.78);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}


/* =========================================================
   Buttons
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 11px 22px;
    border-radius: 7px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-light {
    background: var(--white);
    color: var(--dark);
}

.btn-light:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background: var(--green);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1eb85a;
    color: var(--white);
}


/* =========================================================
   Features
========================================================= */

.features {
    position: relative;
    margin-top: -45px;
    z-index: 5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.feature-card {
    background: var(--white);
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.09);
    border: 1px solid var(--border);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(184, 138, 43, 0.12);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   الأقسام العامة
========================================================= */

.section {
    padding: 90px 0;
}

.section-label {
    display: inline-block;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading h2 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--muted);
    font-size: 14px;
}


/* =========================================================
   About
========================================================= */

.about-preview {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 12px;
    top: 18px;
    right: -18px;
    z-index: 0;
}

.about-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 12px;
}

.about-content h2 {
    font-size: 39px;
    line-height: 1.4;
    margin-bottom: 18px;
}

.about-content h2 span {
    display: block;
    color: var(--primary);
}

.about-content p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 15px;
}


/* =========================================================
   Services
========================================================= */

.services-section {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--white);
    padding: 35px 28px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    background: var(--dark);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-card a {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


/* =========================================================
   المنتجات في الرئيسية
========================================================= */

.products-preview {
    background: #fff;
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.home-product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.home-product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.home-product-image {
    height: 300px;
    background: #f7f7f7;
    overflow: hidden;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.home-product-card:hover .home-product-image img {
    transform: scale(1.05);
}

.home-product-info {
    padding: 22px;
}

.home-product-info > span {
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
}

.home-product-info h3 {
    font-size: 20px;
    margin: 5px 0 12px;
}

.home-product-info a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
}

.home-product-info a:hover {
    color: var(--primary-dark);
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 65px 0;
    background:
        linear-gradient(
            110deg,
            #171717,
            #272727
        );
    color: var(--white);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-content > div:first-child span {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

.cta-content h2 {
    font-size: 32px;
    margin: 5px 0;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}


/* =========================================================
   Footer
========================================================= */

.site-footer {
    background: #0d0d0d;
    color: var(--white);
    padding-top: 65px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 45px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    margin-bottom: 18px;
}

.footer-logo i {
    color: var(--primary);
}

.footer-about p {
    max-width: 400px;
    color: #aaa;
    font-size: 13px;
}

.footer-grid h3 {
    font-size: 17px;
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.footer-links a {
    color: #aaa;
    font-size: 13px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.footer-contact p {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 9px;
}

.footer-contact i {
    color: var(--primary);
    width: 25px;
}

.footer-bottom {
    border-top: 1px solid #252525;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #777;
    font-size: 12px;
}


/* =========================================================
   Page Header للصفحات الداخلية
========================================================= */

.page-header {
    background:
        linear-gradient(
            100deg,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.7)
        );
    color: var(--white);
    padding: 85px 0;
}

.page-header-content {
    max-width: 700px;
}

.page-header-content span {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

.page-header-content h1 {
    font-size: 45px;
    margin: 5px 0 10px;
}

.page-header-content p {
    color: #ccc;
    font-size: 14px;
}


/* =========================================================
   تجاوب الجوال
========================================================= */

@media (max-width: 1050px) {

    .nav-links {
        gap: 0;
    }

    .nav-links a {
        padding: 10px 8px;
        font-size: 13px;
    }

    .nav-contact {
        padding: 10px 13px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 850px) {

    .navbar {
        min-height: 72px;
    }

    .nav-contact {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        right: 20px;
        left: 20px;
        background: var(--white);
        padding: 12px;
        border-radius: 10px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        border: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
    }

    .nav-links a:last-child {
        border-bottom: 0;
    }

    .nav-links a.active::after {
        display: none;
    }

    .hero {
        min-height: 580px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        max-width: 650px;
        margin: 0 auto;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .logo-text strong {
        font-size: 17px;
    }

    .logo-text span {
        font-size: 9px;
    }

    .logo-icon {
        width: 43px;
        height: 43px;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-content > p {
        font-size: 19px;
    }

    .hero-description {
        font-size: 13px !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .features {
        margin-top: -25px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .about-image img {
        height: 320px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .home-products-grid {
        grid-template-columns: 1fr;
    }

    .home-product-image {
        height: 280px;
    }

    .cta-content h2 {
        font-size: 26px;
    }

    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-header {
        padding: 60px 0;
    }

    .page-header-content h1 {
        font-size: 34px;
    }

}