/* Trust Bar */
.trust-bar {
    background: #FFC107;
    color: #004225;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Main Header */
.main-header {
    background: #004225;
    color: white;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    cursor: pointer;
}

.tagline {
    font-size: 14px;
    color: #FFC107;
    font-weight: 500;
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.urgency-badge {
    background: #D6006C;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.header-cta {
    background: #FFC107;
    color: #004225;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,193,7,0.4);
}

.social-header {
    display: flex;
    gap: 15px;
}

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

.social-icon:hover {
    background: #FFC107;
    color: #004225;
    transform: translateY(-2px);
}

/* 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;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.whatsapp-float::after {
    content: 'Chatta con noi!';
    position: absolute;
    right: 70px;
    background: #004225;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover::after {
    opacity: 1;
}

/* Live visitors */
.live-visitors {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFC107;
    font-size: 13px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #FF4444;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Footer */
footer {
    background: #004225;
    color: white;
    margin-top: 50px;
}

.footer-top {
    background: #D6006C;
    padding: 30px 20px;
}

.footer-newsletter {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-newsletter h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.footer-newsletter p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
}

.newsletter-btn {
    background: #FFC107;
    color: #004225;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer-main {
    padding: 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: #FFC107;
    margin-bottom: 20px;
    font-size: 18px;
}

.guarantee-item {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
}

.guarantee-icon {
    color: #FFC107;
    font-size: 20px;
    min-width: 24px;
}

.quick-faq {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.quick-faq h5 {
    color: #FFC107;
    margin-bottom: 8px;
    font-size: 14px;
}

.quick-faq p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    line-height: 1.5;
}

.contact-info {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
}

.contact-info a {
    color: #FFC107;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-footer {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-footer a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-footer a:hover {
    background: #FFC107;
    color: #004225;
    transform: translateY(-3px);
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.instagram-post {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.instagram-post:hover {
    transform: scale(1.05);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-bottom a {
    color: #FFC107;
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .trust-bar {
        font-size: 11px;
        padding: 6px 10px;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .logo {
        height: 40px;
    }

    .tagline {
        display: none;
    }

    .urgency-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .live-visitors {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-footer, .social-header {
        justify-content: center;
    }

    .instagram-feed {
        grid-template-columns: repeat(2, 1fr);
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float::after {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }
}

/* Navigation Bar */
.navigation-bar {
    background: #004225;
    padding: 12px 0;
    border-bottom: 2px solid #FFC107;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 193, 7, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .nav-content {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-link {
        font-size: 0.85em;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .quiz-nav {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        justify-content: space-between !important;
    }
    .quiz-btn.prev, .quiz-btn.next {
        padding: 8px 12px !important;
        font-size: 0.85em !important;
        flex-shrink: 0 !important;
    }
    #question-counter {
        white-space: nowrap !important;
        font-size: 0.9em !important;
    }
}

