/**
 * Footer Styles - Toscocell
 *
 * @package Toscocell
 * @since 1.0.0
 */

/* ==========================================================================
   Footer Base
   ========================================================================== */

/* Rimuovi completamente lo spazio sopra al footer */
#content,
.site-content,
#primary,
.content-area {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site-footer {
    background: #1e1e52;
    color: #fff;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ==========================================================================
   Footer Top - Logo & VAT Info
   ========================================================================== */

.footer-top {
    background: #16163d;
    padding: 2.5rem 0;
    text-align: center;
}

.footer-top-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.footer-logo .custom-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
}

.footer-logo-tagline {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.9;
    display: block;
    margin-top: 0.25rem;
}

.footer-vat-info {
    text-align: center;
}

.footer-vat-info p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-vat-info strong {
    font-weight: 600;
}

/* ==========================================================================
   Footer Main - 5 Columns
   ========================================================================== */

.footer-main {
    padding: 3rem 0;
    background: #1e1e52;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.footer-column {
    text-align: left;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    color: #fff;
}

.footer-address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.footer-warehouse p,
.footer-hours,
.footer-contact,
.footer-staff {
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.footer-warehouse a,
.footer-contact a,
.footer-staff a {
    color: #8ab4f8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-warehouse a:hover,
.footer-contact a:hover,
.footer-staff a:hover {
    color: #00d4ff;
    text-decoration: underline;
}

/* ==========================================================================
   Footer Menu Bar
   ========================================================================== */

.footer-menu-bar {
    background: #252566;
    padding: 1.25rem 0;
}

.footer-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    flex: 1;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-menu a:hover {
    color: #00d4ff;
}

.footer-info-links {
    display: flex;
    gap: 2rem;
    flex-shrink: 0;
}

.info-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #00d4ff;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
}

/* ==========================================================================
   Footer Bottom - Social & Legal
   ========================================================================== */

.footer-bottom {
    background: #1e1e52;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    transform: translateY(-3px);
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #00d4ff;
    text-decoration: underline;
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.4);
}

.copyright {
    font-weight: 400;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1200px) {
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 1100px) {
    .footer-menu {
        gap: 1.5rem;
    }

    .footer-menu a {
        font-size: 0.75rem;
    }

    .info-link {
        font-size: 0.75rem;
    }

    .footer-info-links {
        gap: 1.5rem;
    }
}

@media (max-width: 968px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }

    .footer-navigation {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .footer-info-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
}

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

    .footer-main {
        padding: 2rem 0;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1rem;
    }

    .footer-column {
        text-align: left;
    }

    .footer-title,
    .footer-subtitle {
        margin-bottom: 0.65rem;
    }

    .footer-menu-bar {
        padding: 1rem 0;
    }

    .footer-navigation {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        align-items: start;
    }

    .footer-menu {
        width: 100%;
        margin: 0;
        gap: 0.75rem;
    }

    .footer-info-links {
        width: 100%;
        margin: 0;
        gap: 0.75rem;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .footer-bottom {
        padding: 1.5rem 0;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-legal .separator {
        display: none;
    }

    .footer-logo-text {
        font-size: 1.5rem;
    }

    .footer-logo-tagline {
        font-size: 0.65rem;
    }
}
