/* ============================================
   VEHICLE CARD STYLES - DESIGN PRO
   ============================================ */

/* Conteneur principal - Grid 3 colonnes */
.vehicles-grid-modern {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin-top: 50px !important;
}

/* Carte individuelle */
.vehicle-card-modern {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.vehicle-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.15);
}

/* ========== BADGES ========== */
.vehicle-badge-promo {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e94f2b;
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    letter-spacing: 0.5px;
}

.vehicle-badge-fuel {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
}

.vehicle-badge-fuel i {
    margin-right: 5px;
}

/* ========== IMAGE ========== */
.vehicle-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card-modern:hover .vehicle-card-image img {
    transform: scale(1.05);
}

/* ========== PRIX + TITRE (superposés sur l'image) ========== */
.vehicle-price-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px 15px 15px;
    color: white;
}

.vehicle-brand-overlay {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.vehicle-title-overlay {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.vehicle-price-overlay .price {
    font-size: 24px;
    font-weight: 800;
    color: #e94f2b;
}

.vehicle-price-overlay .price-label {
    font-size: 11px;
    font-weight: 500;
    margin-left: 5px;
    opacity: 0.8;
}

/* ========== INFORMATIONS DÉTAILLÉES ========== */
.vehicle-details {
    padding: 20px;
    background: white;
}

/* Grille des specs */
.vehicle-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.spec-item {
    text-align: center;
    padding: 8px 5px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.spec-item i {
    font-size: 18px;
    color: #e94f2b;
    margin-bottom: 5px;
    display: block;
}

.spec-label {
    font-size: 10px;
    color: #6c757d;
    margin-top: 3px;
}

.spec-value {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
}

/* Description courte */
.vehicle-short-desc {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 5px;
}

/* ========== BOUTONS ========== */
.vehicle-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-whatsapp {
    flex: 1;
    background: #25D366;
    color: white;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-details {
    flex: 1;
    background: transparent;
    border: 2px solid #e94f2b;
    color: #e94f2b;
    padding: 10px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-details:hover {
    background: #e94f2b;
    color: white;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .vehicles-grid-modern {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    .vehicles-grid-modern {
        grid-template-columns: 1fr !important;
    }
    
    .vehicle-card-image {
        height: 200px;
    }
    
    .vehicle-title-overlay {
        font-size: 18px;
    }
    
    .vehicle-price-overlay .price {
        font-size: 20px;
    }
}