/* ============================================================
   footer.css - استایل مدرن فوتر
   ============================================================ */

.footer {
    margin-top: 40px;
    padding: 40px 0 20px;
    background: #1a202c;
    color: #cbd5e0;
    border-top: 4px solid linear-gradient(135deg, #667eea, #764ba2);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    flex: 2;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 150px;
}

.footer-title {
    font-family: OpenCartFarsi, Tahoma;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 6px;
}

.footer-list a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-list a:hover {
    color: #667eea;
    transform: translateX(-4px);
}

.footer-trust {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-trust img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.footer-trust img:hover {
    transform: scale(1.04);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 24px 0 16px;
}

.footer-bottom {
    text-align: center;
}

#powered {
    font-size: 13px;
    color: #718096;
    margin: 0;
}

#powered a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.25s ease;
}

#powered a:hover {
    color: #667eea;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 991px) {
    .footer {
        padding: 30px 0 16px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-col {
        flex: 0 0 50%;
        min-width: unset;
    }

    .footer-trust {
        flex: 1;
        justify-content: center;
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 24px 0 12px;
        margin-top: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .footer-col {
        flex: 1;
    }

    .footer-title {
        font-size: 15px;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .footer-list a {
        font-size: 13px;
    }

    .footer-trust img {
        max-width: 140px;
    }

    #powered {
        font-size: 12px;
    }
}