/* ============================================================
   site.css
   استایل اختصاصی سایت مشتری
   ============================================================ */

:root {
    --navy:        #081A2C;
    --navy-light:  #0F2A44;
    --navy-dark:   #081A2C;

    --gold:        #C9A961;
    --gold-light:  #E0C88A;
    --gold-bg:     #FAF7F0;

    --white:       #FFFFFF;
    --off-white:   #F8FAFC;
    --gray-light:  #E2E8F0;
    --gray:        #64748B;
    --dark:        #0F172A;

    --success:     #16A34A;
    --warning:     #F59E0B;
    --danger:      #DC2626;

    --shadow-sm:   0 1px 3px rgba(8,26,44,.06);
    --shadow-md:   0 4px 12px rgba(8,26,44,.08);
    --shadow-lg:   0 12px 32px rgba(8,26,44,.12);

    --radius-sm:   8px;
    --radius:      12px;
    --radius-lg:   18px;

    --transition:  all .2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    direction: rtl;
    font-family: 'Shabnam', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark);
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ دکمه‌ها ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: 'Shabnam', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #20BD5A; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ============================================================
   هدر
   ============================================================ */
.site-header {
    background: var(--navy);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.header-top {
    background: rgba(0,0,0,.2);
    padding: 8px 0;
    font-size: 13px;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-top-contact {
    display: flex;
    gap: 16px;
    align-items: center;
    color: rgba(255,255,255,.75);
    flex-wrap: wrap;
}

.header-top-contact a,
.header-location {
    color: rgba(255,255,255,.85);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.header-top-contact a:hover { color: var(--gold); }
.header-top-contact .divider { color: rgba(255,255,255,.3); }

.header-wa-link {
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
.header-wa-link:hover { color: var(--gold-light); }

.header-main { padding: 14px 0; }

.header-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    flex-shrink: 0;
}

.logo-img {
    height: 56px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    gap: 2px;
}
.logo-text .logo-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}
.logo-text .logo-subtitle {
    font-size: 11px;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: .3px;
}

/* نمایش/مخفی بر اساس دستگاه */
.mobile-only { display: none; }
.desktop-only { display: inline; }

.nav-menu {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-menu a {
    color: rgba(255,255,255,.85);
    font-weight: 500;
    font-size: 15px;
    padding: 6px 0;
    position: relative;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--gold); }

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.header-actions { display: flex; gap: 10px; align-items: center; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all .2s;
}
.menu-toggle:hover { background: rgba(255,255,255,.1); }

/* ============================================================
   فوتر — دسکتاپ
   ============================================================ */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.8);
    padding: 50px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.7fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-col h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-col h4 i {
    color: var(--gold);
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    transition: all .2s;
    display: inline-block;
}
.footer-col ul a:hover {
    color: var(--gold);
    padding-right: 6px;
}

/* --- لوگو در فوتر --- */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
}
.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.footer-logo-text span {
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
}
.footer-logo-text small {
    color: var(--gold);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .5px;
}

/* --- درباره ما --- */
.footer-about p {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255,255,255,.7);
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
}

/* --- تماس --- */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    color: rgba(255,255,255,.8);
    line-height: 1.6;
}
.footer-contact-item .icon {
    color: var(--gold);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 5px;
    width: 16px;
    text-align: center;
}
.footer-contact-item a {
    color: inherit;
}
.footer-contact-item a:hover {
    color: var(--gold);
}

.footer-phone {
    font-family: 'Shabnam', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
}

.footer-country-title {
    color: rgba(255,255,255,.95);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 3px;
}
.footer-country-address {
    color: rgba(255,255,255,.6);
    font-size: 12px;
    line-height: 1.7;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.6);
}


/* ============================================================
   ریسپانسیو — همه در یک media query
   ============================================================ */

/* ============ تبلت و موبایل بزرگ (زیر 900px) ============ */
@media (max-width: 900px) {

    /* ---------- هدر ---------- */
    .header-top { display: none; }
    .header-main { padding: 10px 0; }
    .menu-toggle { display: block; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 80px 24px 24px;
        transition: right .3s;
        box-shadow: -10px 0 30px rgba(0,0,0,.3);
        z-index: 200;
    }
    .nav-menu.open { right: 0; }
    .nav-menu a {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
        font-size: 16px;
    }
    .nav-menu a.active::after { display: none; }

    .header-main-inner { gap: 10px; }

    .logo {
        gap: 8px;
        flex: 1;
        min-width: 0;
    }

    .logo-img {
        height: 38px;
        width: auto;
        max-width: 90px;
        object-fit: contain;
        object-position: right center;
    }

    .logo-text {
        line-height: 1.2;
        gap: 1px;
    }
    .logo-text .logo-title { font-size: 15px; }
    .logo-text .logo-subtitle { font-size: 11px; letter-spacing: .2px; }

    /* در موبایل: زیرنویس موبایل نشون، دسکتاپ مخفی */
    .mobile-only { display: inline; }
    .desktop-only { display: none; }

    /* ---------- فوتر ---------- */
    .site-footer {
        padding: 36px 0 0;
        margin-top: 40px;
    }

    /* چیدمان 2 ستونی */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
        padding-bottom: 28px;
    }

    /* ستون ۱ (درباره): تمام عرض */
    .footer-about {
        grid-column: 1 / -1;
    }

    /* ستون ۴ (تماس): تمام عرض */
    .footer-col:nth-child(4) {
        grid-column: 1 / -1;
    }

    /* ستون ۲ (دسترسی سریع) و ۳ (برندها) — کنار هم در یک ردیف */

    .footer-logo-img { height: 42px; }

    .footer-col h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .footer-col ul { gap: 8px; }
    .footer-col ul a { font-size: 13px; }
}


/* ============ موبایل کوچک (زیر 560px) ============ */
@media (max-width: 560px) {

    /* ---------- هدر ---------- */
    .header-main { padding: 8px 0; }

    .logo { gap: 6px; }

    .logo-img {
        height: 34px;
        max-width: 70px;
    }

    .logo-text .logo-title { font-size: 14px; }
    .logo-text .logo-subtitle { font-size: 10px; }

    .menu-toggle {
        font-size: 20px;
        padding: 6px 8px;
    }

    /* ---------- فوتر ---------- */
    .site-footer {
        padding: 28px 0 0;
        margin-top: 30px;
    }

    /* هنوز 2 ستونی برای دسترسی + برندها */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px 12px;
        padding-bottom: 22px;
    }

    /* درباره: تمام عرض */
    .footer-about {
        grid-column: 1 / -1;
    }

    /* تماس: تمام عرض */
    .footer-col:nth-child(4) {
        grid-column: 1 / -1;
    }

    /* ستون ۲ و ۳ همچنان کنار هم در یک ردیف */

    .footer-logo-img { height: 36px; }
    .footer-logo-text span { font-size: 14px; }
    .footer-logo-text small { font-size: 9px; }

    .footer-about p {
        font-size: 12px;
        line-height: 1.9;
    }

    .footer-col h4 {
        font-size: 12.5px;
        margin-bottom: 10px;
    }
    .footer-col h4 i { font-size: 12px; }

    .footer-col ul { gap: 6px; }
    .footer-col ul a { font-size: 12px; }

    .footer-contact-item {
        font-size: 12px;
        margin-bottom: 10px;
        gap: 8px;
    }

    .footer-phone { font-size: 13px; }
    .footer-country-title { font-size: 12px; }
    .footer-country-address { font-size: 11px; }

    .footer-bottom {
        font-size: 11px;
        padding: 14px 0;
    }
}