/* Footer Styles - Sito Vigilanza */
.footer {
    background: linear-gradient(135deg, #0C82C1 0%, #0a6fa3 100%);
    color: white;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="shield" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 2L16 6V14C16 16 10 18 10 18S4 16 4 14V6L10 2Z" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23shield)"/></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 60px 20px 40px;
}

.footer-section h3 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
}

.footer-section h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 8px;
}

.footer-section h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 25px;
    color: #ffffff;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.footer-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    color: white;
    font-weight: bold;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Certificazioni */
.certifications {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Contatti */
.contact-info {
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-icon {
    margin-right: 12px;
    font-size: 14px;
    min-width: 20px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.contact-item span:last-child {
    flex: 1;
    white-space: normal;
    line-height: 1.4;
}

.emergency {
    font-weight: bold;
    color: #ffeb3b;
    text-shadow: 0 0 5px rgba(255, 235, 59, 0.3);
}

/* Social Links - RIMOSSO */

/* Orari */
.business-hours p {
    margin-bottom: 8px;
    font-size: 13px;
}

.business-hours strong {
    color: #ffeb3b;
    text-shadow: 0 0 5px rgba(255, 235, 59, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    backdrop-filter: blur(10px);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

/* Copyright */
.copyright p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    position: relative;
}

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

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 15px 30px;
    }
    
    .footer-section h3 {
        font-size: 28px;
        text-align: left;
        margin-left: 0;
        width: 100%;
    }

    .footer-section h3::after {
        left: 0;
        margin-left: 0;
    }
    
    .footer-section {
        text-align: left;
        margin: 0;
        padding: 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 0 15px;
    }
    
    .certifications {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 30px 10px 20px;
    }
    
    .footer-section h3 {
        font-size: 24px;
        text-align: left;
        margin-left: 0;
        width: 100%;
    }
    
    .footer-section {
        text-align: left;
        padding: 0;
    }
    
    .footer-section h3::after {
        left: 0;
        margin-left: 0;
    }
    
    .contact-item {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
        flex-wrap: nowrap;
        text-align: left;
    }
    
    .contact-icon {
        margin-bottom: 0;
        margin-right: 8px;
        min-width: auto;
    }
    
    .contact-item span:last-child {
        white-space: normal;
        line-height: 1.2;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}