/**
 * Footer Styles - 4 colonne simmetriche
 */

.site-footer {
    background-color: #2a2a2a;
    color: #fff;
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

/* 4 colonne con stesso gap dei widget articoli */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: 3rem;
}

.footer-column {
    min-width: 0;
}

.footer-title {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #b0b0b0;
    font-size: 0.875rem;
    text-decoration: none;
    word-break: break-word;
}

.footer-links a:hover {
    color: #E84855;
}

.footer-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
    margin: 0 auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: #E84855;
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
    color: #b0b0b0;
}

.footer-copyright a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-copyright a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Tablet: 2 colonne */
@media (min-width: 768px) and (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 colonna centrata */
@media (max-width: 767px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
    .footer-column,
    .footer-title {
        text-align: center;
    }
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Dark mode */
body.dark-mode .site-footer {
    background-color: #1a1a1a;
}
