﻿/**
 * Mahartist — فوتر سایت (بازنویسی سبک، بدون تصویر پس‌زمینه)
 */

.footer {
    background: #fffafa !important;
    background-image: none !important;
    color: #333;
}

.footer-top,
.footer-middle,
.footer-bottom {
    border-color: color-mix(in srgb, var(--brand-primary) 14%, #e8e4e0) !important;
}

.footer-top {
    padding: 3rem 0 2.5rem;
}

.footer-middle {
    padding: 2.5rem 0 1.5rem;
}

.footer-bottom {
    padding: 1.75rem 0 2rem;
}

.footer a:not(.social-link) {
    color: #444;
    transition: color 0.2s ease;
}

.footer a:not(.social-link):hover {
    color: var(--brand-primary) !important;
}

.footer-middle .widget-title {
    color: #fff !important;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--brand-primary) 18%, transparent);
}

.footer-middle .widget-body {
    color: #444 !important;
    font-weight: 600 !important;
}

.footer-middle .widget-body a {
    font-weight: 600;
}

.footer .social-links {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    border: 1.5px solid color-mix(in srgb, var(--brand-primary) 28%, #ccc) !important;
    color: var(--brand-primary) !important;
    background: #fff;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer .social-link:hover {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.footer .copyright {
    color: #666 !important;
    font-weight: 600 !important;
}

.footer .copyright .footer-credit-link,
.footer .copyright a.footer-credit-link {
    color: var(--brand-primary) !important;
    -webkit-text-fill-color: var(--brand-primary) !important;
    font-weight: 700;
    text-decoration: none;
}

.footer .copyright .footer-credit-link:hover {
    color: color-mix(in srgb, var(--brand-primary) 78%, #1a0f08) !important;
    -webkit-text-fill-color: color-mix(in srgb, var(--brand-primary) 78%, #1a0f08) !important;
    text-decoration: underline;
}

.footer-top img[alt="logo-footer"] {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.06));
}

@media (max-width: 991px) {
    .footer-top {
        padding: 2.25rem 0 2rem;
    }

    .footer-middle {
        padding: 2rem 0 1.25rem;
    }
}
