/* ============================================
   Modulo Noleggio Lungo Termine - Style CSS
   Design Moderno e Ottimizzato per Conversione
   ============================================ */

/* === VARIABILI CSS === */
:root {
    --primary-color: #dc143c;
    --primary-hover: #b8102f;
    --secondary-color: #333333;
    --accent-color: #00a651;
    --text-color: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f8f8;
    --border-color: #ececec;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* === RESET E BASE === */
.noleggio-lt-module {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.noleggio-lt-module * {
    box-sizing: border-box;
}

/* === HEADER MODULO === */
.noleggio-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #a01028 100%);
    color: white;
    border-radius: var(--radius);
}

.noleggio-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.noleggio-subtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
    font-weight: 300;
}

/* === SECTION TITLES === */
.section-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* === CARATTERISTICHE VEICOLO === */
.caratteristiche-section {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.caratteristiche-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.caratteristica-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.caratteristica-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.caratteristica-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
}

.caratteristica-icon svg {
    width: 20px;
    height: 20px;
}

.caratteristica-content {
    display: flex;
    flex-direction: column;
}

.caratteristica-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.caratteristica-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

/* === SERVIZI INCLUSI === */
.servizi-section {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.servizio-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.servizio-item:hover {
    background: #e8f5e9;
    transform: translateX(3px);
}

.servizio-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.servizio-icon svg {
    width: 24px;
    height: 24px;
}

.servizio-content {
    display: flex;
    flex-direction: column;
}

.servizio-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2px;
}

.servizio-desc {
    font-size: 13px;
    color: var(--text-light);
}

/* === VANTAGGI === */
.vantaggi-section {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.vantaggi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vantaggi-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.vantaggi-list li:last-child {
    border-bottom: none;
}

.vantaggi-list li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    margin-top: 2px;
}

.vantaggi-list li span {
    font-size: 15px;
    color: var(--text-color);
}

/* === OFFERTE === */
.offerte-section {
    margin-bottom: 30px;
}

.offerte-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offerta-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 30px;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.offerta-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.offerta-card.offerta-popular {
    border-color: var(--primary-color);
}

.offerta-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.offerta-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.offerta-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 6px;
}

.offerta-detail-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.offerta-detail-item > div {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.detail-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.offerta-price {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    display: block;
}

.price-period {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

.offerta-includes {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 6px;
}

.includes-title {
    font-size: 13px;
    color: var(--text-light);
    margin: 0 0 10px 0;
    font-weight: 500;
}

.includes-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 24px;
}

.includes-icons span {
    cursor: help;
    transition: var(--transition);
}

.includes-icons span:hover {
    transform: scale(1.2);
}

/* === BOTTONE CTA === */
.btn-richiedi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
}

.btn-richiedi:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

.btn-richiedi svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.btn-richiedi:hover svg {
    transform: translateX(4px);
}

/* === TRUST ELEMENTS === */
.trust-section {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    margin-top: 30px;
}

.trust-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-color);
    font-weight: 500;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 991px) {
    .noleggio-title {
        font-size: 28px;
    }
    
    .noleggio-subtitle {
        font-size: 16px;
    }
    
    .caratteristiche-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .servizi-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .noleggio-header {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .noleggio-title {
        font-size: 24px;
    }
    
    .noleggio-subtitle {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .caratteristiche-section,
    .servizi-section,
    .vantaggi-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .caratteristiche-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .servizi-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .offerta-card {
        padding: 20px;
    }
    
    .price-amount {
        font-size: 40px;
    }
    
    .trust-items {
        flex-direction: column;
        gap: 15px;
    }
    
    .trust-item {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .noleggio-title {
        font-size: 20px;
    }
    
    .caratteristica-item {
        padding: 12px;
    }
    
    .caratteristica-icon {
        width: 36px;
        height: 36px;
    }
    
    .caratteristica-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .servizio-item {
        padding: 12px;
    }
    
    .price-amount {
        font-size: 36px;
    }
    
    .btn-richiedi {
        padding: 14px 24px;
        font-size: 14px;
    }
}

/* === ANIMAZIONI === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.noleggio-lt-module > * {
    animation: fadeInUp 0.6s ease-out;
}

/* === PRINT === */
@media print {
    .noleggio-lt-module {
        box-shadow: none;
    }
    
    .btn-richiedi {
        display: none;
    }
    
    .offerta-card:hover {
        transform: none;
    }
}

