/*
Theme Name: FuturaAssicura AUTO
Version: 1.6.0
*/

/* Reset e Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', Arial, sans-serif; line-height: 1.6; color: #333; background: #f0f4f8; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { 
    background: rgba(255, 255, 255, 0.98); 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
}
.header-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; /* Centra verticalmente */
    padding: 15px 0; 
    min-height: 80px; /* Altezza minima per un corretto allineamento */
}
.logo { 
    font-size: 2em; 
    font-weight: bold; 
    background: linear-gradient(45deg, #0056b3, #007bff); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    text-decoration: none; 
}
.main-nav {
    /* margin-left: auto; --- QUESTA RIGA È STATA RIMOSSA PER CENTRARE IL MENU --- */
}
.main-nav ul { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
}
.main-nav a { 
    text-decoration: none; 
    color: #333; 
    font-weight: 600; 
    transition: all 0.3s ease; 
}
.main-nav a:hover { 
    color: #007bff; 
}

/* Pulsante Chiamaci Ora nell'Header */
.header-contact {
    margin-left: 30px;
}
.header-call-btn {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.header-call-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Pulsante Menu Mobile (Hamburger) */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
.menu-toggle span { display: block; width: 25px; height: 3px; background-color: #333; margin: 5px 0; transition: all 0.3s ease-in-out; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* Hero Section */
.hero-section { background: linear-gradient(135deg, #0056b3, #007bff); color: white; padding-top: 150px; padding-bottom: 80px; display: flex; align-items: center; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; width: 100%; }
.hero-content { text-align: left; }
.hero-image-column { display: flex; align-items: center; justify-content: center; }
.hero-image-column img { max-width: 100%; height: auto; border-radius: 15px; }
.hero-title { font-size: 3.2em; line-height: 1.2; margin-bottom: 20px; }
.hero-subtitle { font-size: 1.2em; margin-bottom: 30px; opacity: 0.9; }
.cta-button { display: inline-block; background: #ffffff; color: #007bff; padding: 16px 35px; border-radius: 50px; text-decoration: none; font-weight: bold; font-size: 1.1em; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; }
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); }

/* Sezione Veicoli Coperti */
.covered-vehicles-section { padding: 80px 0; background-color: #ffffff; }
.section-title { text-align: center; font-size: 2.5em; margin-bottom: 50px; color: #333; }
.vehicles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.vehicle-card { background: #ffffff; padding: 40px 30px; border-radius: 16px; text-align: center; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; }
.vehicle-card:hover { transform: translateY(-8px); box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1); }
.vehicle-icon { display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; border-radius: 50%; background-color: #e9f5ff; color: #007bff; font-size: 2.5em; margin-bottom: 25px; }
.vehicle-card h3 { font-size: 1.4em; margin-bottom: 15px; color: #333; }
.vehicle-card p { font-size: 0.95em; line-height: 1.6; color: #666; }

/* Form Section */
.form-section { background: #f0f4f8; padding: 100px 0; }
.form-section-container { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 60px; }
.form-info-column .section-title { text-align: left; margin-bottom: 20px; }
.form-info-column .section-subtitle { font-size: 1.1em; color: #666; line-height: 1.7; margin-bottom: 30px; }
.form-info-column .benefits-list { list-style: none; padding: 0; }
.form-info-column .benefits-list li { font-size: 1.1em; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.form-info-column .benefit-icon { color: #007bff; font-weight: bold; }
.form-wrapper-column .insurance-form { box-shadow: 0 20px 50px rgba(0, 86, 179, 0.1); padding: 40px; border-radius: 20px; background: #fff; }

/* Countdown Section */
.countdown-section { background: linear-gradient(135deg, #0056b3, #007bff); color: white; padding: 60px 0; text-align: center; }
.countdown-title { font-size: 2.2em; margin-bottom: 30px; }
.countdown-timer { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.countdown-item { background: rgba(255, 255, 255, 0.1); border-radius: 15px; padding: 25px 20px; min-width: 100px; }
.countdown-number { font-size: 2.5em; font-weight: bold; display: block; }
.countdown-label { font-size: 0.9em; text-transform: uppercase; margin-top: 5px; }

/* Pricing Section */
.pricing-section { background: #ffffff; padding: 80px 0; }
.pricing-title { text-align: center; font-size: 2.8em; margin-bottom: 20px; background: linear-gradient(45deg, #0056b3, #007bff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pricing-subtitle { text-align: center; font-size: 1.2em; margin-bottom: 50px; color: #666; }

/* Sezione Aiuto (CTA Finale) */
.help-section { background: #f0f4f8; padding: 80px 0; text-align: center; }
.help-section .section-title { color: #333; }
.help-section .section-subtitle { font-size: 1.2em; color: #666; margin-top: -30px; margin-bottom: 40px; }
.help-buttons { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.help-btn { display: flex; align-items: center; justify-content: center; padding: 18px 30px; border: none; border-radius: 12px; color: white; font-size: 1.1em; font-weight: bold; text-decoration: none; transition: all 0.3s ease; width: 100%; max-width: 400px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
.help-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); }
.help-btn .btn-icon { margin-right: 12px; font-size: 1.2em; }
.help-btn.whatsapp-btn { background-color: #25D366; }
.help-btn.call-btn { background-color: #007bff; }
.help-btn.form-btn { background-color: #dc3545; }

/* Footer */
.site-footer { background: #0d1d2c; color: white; padding: 50px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 30px; }
.footer-section h3 { color: #4dabf7; margin-bottom: 20px; font-size: 1.3em; }
.footer-section p, .footer-section a { color: #ccc; text-decoration: none; line-height: 1.8; transition: color 0.3s ease; }
.footer-section a:hover { color: #4dabf7; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #2c3e50; color: #999; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .form-section-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content, .form-info-column { text-align: center; }
    .hero-image-column { margin-top: 40px; order: -1; }
    .form-info-column { margin-bottom: 50px; }
    .form-info-column .section-title { text-align: center; }
    .vehicles-grid { grid-template-columns: 1fr; gap: 25px; max-width: 450px; margin: 0 auto; }
    .hero-title { font-size: 2.8em; }
}
@media (max-width: 768px) {
    .main-nav, .header-contact { display: none; }
    .main-nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.1); padding: 10px 0; border-top: 1px solid #eee; }
    .main-nav a { padding: 12px 20px; display: block; width: 100%; }
    .menu-toggle { display: block; }
    .header-content { justify-content: space-between; }
    .logo { margin-right: auto; }
    .hero-title { font-size: 2.5em; }
    .countdown-timer { gap: 15px; }
    .countdown-item { min-width: 80px; padding: 20px 15px; }
    .form-section-container { gap: 40px; }
    .vehicles-grid { max-width: none; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 2em; }
    .pricing-title, .section-title { font-size: 2.2em; }
    .container { padding: 0 15px; }
}

/* WordPress Specific */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }