/**
 * Site Footer Styles
 *
 * @package HomeProz
 */

.site-footer {
    background-color: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.footer-container {
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;

    @media (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (min-width: 1024px) {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 3rem;
    }
}

// Footer Columns
.footer-column {
    min-width: 0;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

// About Column
.footer-about {
    .footer-logo {
        margin-bottom: 1rem;

        img {
            max-height: 50px;
            width: auto;
        }

        .site-title {
            font-family: var(--font-display);
            font-size: 1.25rem;
            color: var(--color-text);
        }
    }

    .footer-tagline {
        font-size: 0.875rem;
        color: var(--color-text-muted);
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }
}

// Social Links
.footer-social {
    display: flex;
    gap: 1rem;

    a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: var(--color-bg-dark);
        border-radius: 0.25rem;
        color: var(--color-text-muted);

        &:hover {
            background-color: var(--color-accent);
            color: white;
        }

        svg {
            width: 20px;
            height: 20px;
        }
    }
}

// Footer Menu
.footer-links {
    .footer-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .menu-item {
        margin-bottom: 0.75rem;

        &:last-child {
            margin-bottom: 0;
        }

        a {
            color: var(--color-text-muted);
            font-size: 0.9375rem;
            text-decoration: none;

            &:hover {
                color: var(--color-accent-light);
            }
        }
    }
}

// Contact List
.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;

    &:last-child {
        margin-bottom: 0;
    }

    svg {
        flex-shrink: 0;
        color: var(--color-accent);
        margin-top: 0.125rem;
    }

    a {
        color: var(--color-text-muted);
        text-decoration: none;

        &:hover {
            color: var(--color-accent-light);
        }
    }

    span {
        color: var(--color-text-muted);
    }
}

// Footer Bottom
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;

    @media (min-width: 768px) {
        flex-direction: row;
        justify-content: space-between;
    }

    p {
        margin: 0;
        font-size: 0.8125rem;
        color: var(--color-text-muted);
    }

    .copyright {
        color: var(--color-sold);
    }

    .footer-credits a {
        color: var(--color-text-muted);
        text-decoration: none;

        &:hover {
            color: var(--color-accent-light);
        }
    }
}
