﻿
/* =========================
   FOOTER - JAHAN ROSHAN PREMIUM (FIXED)
========================= */

footer {
    background: #14213d !important; /* هماهنگ با هدر */
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.9;
    position: relative;
}

    /* خط طلایی بالا */
   /* footer::before {
        content: "";
        position: absolute;
        top: 0;
        right: 15px;
        left: 15px;
        height: 2px;
        border-radius: 50px;
        background: linear-gradient(90deg,#d4af37,#f7d774,#d4af37);
    }*/

/* =========================
   MAIN FOOTER BOX
========================= */

#footer_black {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
}

    /* لوگو */
    #footer_black img {
        max-height: 70px;
        width: auto;
        transition: .3s;
    }

        #footer_black img:hover {
            transform: scale(1.05);
        }

/* متن شرکت */
#text_Company_Name {
    font-size: 16px !important;
    font-weight: 500;
    color: rgba(255,255,255,.85) !important;
}

/* =========================
   SOCIAL LINKS
========================= */

#footer_black .nav-link {
    font-size: 15px !important;
    font-weight: 500;
    color: rgba(255,255,255,.8) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px !important;
    border-radius: 12px;
    transition: all .3s ease;
}

    #footer_black .nav-link:hover {
        background: rgba(255,255,255,.10);
        color: #fff !important;
        transform: translateY(-3px);
    }

    /* آیکون‌های شبکه اجتماعی */
    #footer_black .nav-link img {
        width: 28px !important;
        height: 28px !important;
        object-fit: contain;
    }

/* =========================
   DIVIDER
========================= */

footer hr {
    border-color: rgba(255,255,255,.08);
    margin: 25px 0;
}

/* =========================
   COPYRIGHT SECTION (FIXED - NO GLOBAL DAMAGE)
========================= */

/* فقط داخل فوتر محدود شد (حل مشکل اسلایدر) */
footer .bg-dark-overlay-3 {
    background: rgba(15, 23, 42, .85) !important;
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255,255,255,.06);
}

/* =========================
   TEXT + LINKS
========================= */

footer .text-muted {
    color: rgba(255,255,255,.6) !important;
}

footer .nav-link {
    font-size: 14px;
    color: rgba(255,255,255,.7) !important;
    padding: 6px 10px !important;
    border-radius: 10px;
    transition: .3s;
}

    footer .nav-link:hover {
        background: rgba(255,255,255,.08);
        color: #fff !important;
        transform: translateY(-2px);
    }

/* =========================
   LAYOUT FIX
========================= */

#footer_black .row {
    display: flex;
    align-items: center;
    text-align: center;
}

#footer_black .col-md-3,
#footer_black .col-md-5,
#footer_black .col-md-4 {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 991px) {

    #footer_black {
        text-align: center;
        padding: 20px;
    }

        #footer_black .col-md-3,
        #footer_black .col-md-4,
        #footer_black .col-md-5 {
            margin-bottom: 15px;
        }

        #footer_black .nav {
            justify-content: center !important;
        }

        #footer_black img {
            max-height: 60px;
        }
}

footer.bg-dark {
    background: #14213d !important;
}

.bg-dark {
    background-color: transparent !important;
}

footer {
    background: var(--footer-bg, #14213d);
}

[data-bs-theme="dark"] {
    --footer-bg: #14213d;
}