﻿/* wwwroot/css/footer.css */
.site-footer {
    background: var(--color-dark);
    color: #cbd5e1;
    padding: 48px 24px 0;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

    .footer-brand svg,
    .footer-brand img {
        width: 48px;
        height: 48px;
        color: var(--color-primary);
    }

.footer-brand-text strong {
    display: block;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 16px;
}

.footer-brand-text small {
    font-size: 11px;
    color: #94a3b8;
    font-family: var(--font-primary);
}

.footer-desc {
    font-size: 13px;
    line-height: 2;
    color: #94a3b8;
    max-width: 350px;
    font-family: var(--font-primary);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 14px;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 8px;
    position: relative;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 30px;
        height: 2px;
        background: var(--color-primary);
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 13px;
        color: #94a3b8;
        transition: all 0.25s ease;
        display: inline-block;
        font-family: var(--font-primary);
    }

        .footer-links a:hover {
            color: var(--color-primary);
            transform: translateX(-4px);
        }

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
    color: #64748b;
    flex-wrap: wrap;
    font-family: var(--font-primary);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

    .footer-socials a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,0.06);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        transition: all 0.25s ease;
    }

        .footer-socials a:hover {
            background: var(--color-primary);
            color: var(--color-dark);
            transform: translateY(-3px);
        }

    .footer-socials svg {
        width: 16px;
        height: 16px;
    }

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto;
    }

    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-links a:hover {
        transform: none;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}
