/* FAQ Section */
.faq-section {
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    width: 30px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    color: var(--text-dark);
    font-size: 14px;
    flex: 1;
    min-width: 300px;
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.cookie-btn.accept {
    background: var(--accent-color);
    color: white;
}

.cookie-btn.accept:hover {
    background: #0051a2;
}

.cookie-btn.reject {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
}

.cookie-btn.reject:hover {
    background: var(--bg-light);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Google Maps */
.google-map-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.google-map-container iframe {
    border-radius: 15px;
    max-width: 1000px;
    width: 100%;
}

.map-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 300;
    transition: var(--transition);
}

.map-close:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(90deg);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Links */
.map-link, .phone-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
    transition: var(--transition);
}

.map-link:hover, .phone-link:hover {
    text-decoration: underline;
}

.phone-link {
    color: var(--text-dark);
    font-size: 16px;
}

/* Certificazioni Section (if needed) */
.certificazioni-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.certificazioni-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.certificazione-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    min-width: 150px;
}

.certificazione-item h4 {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.certificazione-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-content p {
        font-size: 13px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .google-map-container {
        padding: 20px;
    }
    
    .google-map-container iframe {
        height: 400px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-content p {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    
    .google-map-container {
        padding: 10px;
    }
    
    .google-map-container iframe {
        height: 350px;
        border-radius: 10px;
    }
    
    .map-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .faq-container {
        padding: 0 10px;
    }
    
    .faq-item {
        margin-bottom: 15px;
        border-radius: 10px;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 15px;
    }
    
    .faq-icon {
        font-size: 20px;
        width: 25px;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
    
    .social-links {
        gap: 10px;
        margin-top: 15px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

