/* Styles pour la page véhicules */
/* Container principal */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
.vehicles-hero-title{
    text-align: center;
}
.vehicles-hero {
    position: relative;
    min-height: 60vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.vehicles-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(237, 27, 36, 0.1) 0%, transparent 70%);
}

.vehicles-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px 80px 20px;
}

.vehicles-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(237, 27, 36, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(237, 27, 36, 0.3);
    border-radius: 100px;
    padding: 8px 20px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.vehicule-gradient-text{
    color: white;
}

.vehicles-hero-content h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.vehicles-hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.8);
}

/* Filtres compacts intégrés */
.compact-filters {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

[data-theme="light"] .compact-filters {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.filter-item {
    position: relative;
    flex: 1;
    min-width: 140px;
}

.filter-item i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--primary);
    z-index: 1;
    pointer-events: none;
}

.compact-select {
    width: 100%;
    padding: 10px 12px 10px 38px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    color: var(--text-color);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
}

[data-theme="light"] .compact-select {
    background-color: white;
}

.compact-select:hover {
    border-color: var(--primary);
}

.compact-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(237, 27, 36, 0.2);
}

.filter-reset-btn {
    width: 42px;
    height: 42px;
    background: rgba(237, 27, 36, 0.15);
    border: 1px solid rgba(237, 27, 36, 0.3);
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-reset-btn:hover {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
}

.filter-results-badge {
    text-align: center;
    margin-top: 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .filter-results-badge {
    color: rgba(0, 0, 0, 0.5);
}

.filter-results-badge span {
    color: var(--primary);
    font-weight: 700;
}

/* Section véhicules complets */
.vehicles-full {
    padding: 60px 0;
    background: var(--bg-color);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Carte véhicule - hauteur flexible selon contenu */
.vehicle-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 450px;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.vehicle-card:hover .vehicle-img {
    transform: scale(1.05);
}

/* Badge disponibilité */
.vehicle-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

/* Conteneur image - hauteur fixe mais proportionnelle */
.vehicle-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

/* Badge "Disponible bientôt" */
.badge-coming-soon {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    animation: pulse-coming-soon 2s ease-in-out infinite;
}

@keyframes pulse-coming-soon {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.98); }
}

/* Badge "Disponible" */
.badge-available {
    background: rgba(76, 175, 80, 0.9);
    color: white;
    width: 86px;
}

/* Badge "Indisponible" */
.badge-unavailable {
    background: rgba(169, 177, 207, 0.9);
    color: white;
    width: 200px;
}

/* Bouton "Disponible bientôt" */
.btn-book-soon {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Style pour le véhicule en "Disponible bientôt" */
.vehicle-coming-soon {
    border-color: #FF9800 !important;
}

.vehicle-coming-soon:hover {
    border-color: #F57C00 !important;
}

/* Affichage du compte à rebours dans la carte */
.vehicle-countdown-timer {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.vehicle-countdown-timer i {
    color: #FF9800;
}

/* Animation pour les badges */
.badge-available, .badge-coming-soon, .badge-unavailable {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
    white-space: nowrap;
}

/* Bouton Voir détails au survol */
.view-details-btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.vehicle-image:hover .view-details-btn {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.view-details-btn:hover {
    background: var(--primary-dark);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 27, 36, 0.3);
}

/* Icône zoom */
.zoom-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    cursor: pointer;
}

.vehicle-image:hover .zoom-icon {
    opacity: 1;
    transform: scale(1.05);
}

.zoom-icon i {
    color: white;
    font-size: 1rem;
}

.zoom-icon:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Affichage des notes */
.vehicle-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.vehicle-rating .stars {
    display: inline-flex;
    gap: 2px;
    color: #ffc107;
    font-size: 0.75rem;
}

.vehicle-rating .rating-score {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.8rem;
}

.vehicle-rating .review-count {
    font-size: 0.7rem;
    color: var(--text-light);
}

.vehicle-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: var(--text-color);
}

.vehicle-category {
    font-size: 0.8rem;
    color: var(--primary);
    margin: 0 0 10px 0;
    font-weight: 500;
}

/* Description - limite le nombre de lignes */
.vehicle-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Caractéristiques - flex-wrap pour s'adapter */
.vehicle-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.vehicle-features span {
    font-size: 0.7rem;
    background: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-color);
}

/* Prix */
.vehicle-price {
    margin-bottom: 15px;
}

.vehicle-price .price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.vehicle-features span i {
    font-size: 0.65rem;
    color: var(--primary);
}

.vehicle-price .per-day {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Informations véhicule - prend l'espace restant */
.vehicle-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ============================================================ */
/* STYLES POUR LE CONTENEUR DE RÉSERVATION AVEC REPLACEMENT */
/* ============================================================ */

.reservation-buttons-container {
    position: relative;
    width: 100%;
    margin-top: auto;
    min-height: 48px; /* Hauteur minimale pour éviter les sauts */
}

/* Bouton "Réserver" par défaut */
.btn-book-main {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.btn-book-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 27, 36, 0.3);
    gap: 15px;
}

/* Options de réservation (Particulier & Entreprise) */
.reservation-options {
    display: flex;
    gap: 10px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

/* Au survol du conteneur : on cache le bouton "Réserver" et on affiche les options */
.reservation-buttons-container:hover .btn-book-main {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    pointer-events: none;
}

.reservation-buttons-container:hover .reservation-options {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    position: relative; /* Reprendre la place dans le flux */
}

/* Style des boutons Particulier et Entreprise */
.btn-particulier,
.btn-entreprise {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-particulier {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

.btn-particulier:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.btn-entreprise {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
}

.btn-entreprise:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-book-disabled {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    color: var(--text-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 600;
    cursor: not-allowed;
}

/* ============================================================ */
/* FIN STYLES POUR LE CONTENEUR DE RÉSERVATION AVEC REPLACEMENT */
/* ============================================================ */

/* Modal Galerie */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.gallery-modal-content {
    max-width: 70vw;
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

.gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.gallery-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-modal-close {
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.gallery-main-image {
    position: relative;
    background: var(--dark-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    max-height: 60vh;
    overflow: hidden;
}

.gallery-main-image img {
    max-width: 90%;
    max-height: 30vh;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.05);
}

.gallery-thumbnails {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    overflow-x: auto;
    background: var(--gray);
    border-top: 1px solid var(--border);
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    opacity: 0.6;
    flex-shrink: 0;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.gallery-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 16px;
}

.gallery-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.gallery-price span:first-child {
    font-size: 0.85rem;
    color: var(--white-off);
}

.gallery-price strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-reserve {
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-reserve:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(237,27,36,0.3);
}

/* Message aucun véhicule */
.no-vehicles-message {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-secondary);
    border-radius: 20px;
    margin-top: 40px;
}

.no-vehicles-message i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-vehicles-message h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.no-vehicles-message p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.btn-reset-filters {
    padding: 12px 24px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.btn-reset-filters:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Style pour le bouton de retour */
.back-to-reservation {
    margin-bottom: 30px;
}

.btn-back-reservation {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-back-reservation:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(-5px);
}

/* Badge pour l'indisponibilité exceptionnelle */
.badge-exceptionally-unavailable {
    background: linear-gradient(135deg, #f44336, #c62828);
    color: white;
    width: 160px;
    animation: pulse-exceptionnal 1.5s ease-in-out infinite;
}

.btn-extend {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-extend:hover {
    background: #2196F3;
    color: white;
    transform: scale(1.05);
}

@keyframes pulse-exceptionnal {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.98); box-shadow: 0 0 20px rgba(244, 67, 54, 0.4); }
}

/* ==================== RESPONSIVE ==================== */

/* Tablettes */
@media (max-width: 992px) {
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .vehicle-image {
        height: 200px;
    }
    
    .vehicle-info {
        padding: 18px;
    }
    
    .vehicle-info h3 {
        font-size: 1.1rem;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .badge-available, .badge-coming-soon, .badge-unavailable {
        font-size: 0.6rem;
        padding: 4px 8px;
        white-space: normal;
        max-width: 80%;
    }

    .compact-filters {
        border-radius: 20px;
        padding: 15px;
    }
    
    .filters-container {
        flex-direction: column;
        gap: 12px;
    }
    .vehicles-full {
        padding: 40px 0;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vehicle-image {
        height: 220px;
    }
    
    .vehicle-info {
        padding: 16px;
    }
    
    .vehicle-features {
        gap: 6px;
    }
    
    .vehicle-features span {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
    
    .vehicle-price .price {
        font-size: 1.2rem;
    }
    
    /* Sur mobile, les options sont toujours visibles, le bouton Réserver est masqué */
    .reservation-options {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        margin-top: 0;
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-book-main {
        display: none;
    }
    
    .btn-particulier,
    .btn-entreprise {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    /* Le bouton voir détails est toujours visible sur mobile */
    .view-details-btn {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        bottom: 12px;
        font-size: 0.7rem;
        padding: 6px 14px;
    }
    
    .filter-item {
        width: 100%;
        min-width: auto;
    }
    
    .filter-reset-btn {
        width: 100%;
        border-radius: 40px;
        height: 42px;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vehicles-hero-content {
        padding: 40px 20px 60px 20px;
    }
    
    .vehicles-hero-content p {
        margin-bottom: 30px;
    }
    
    .gallery-modal-content {
        max-width: 90vw;
        max-height: 90vh;
    }
    
    .gallery-main-image {
        min-height: 250px;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 35px;
        height: 35px;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 45px;
    }
    
    .gallery-info {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-reserve {
        width: 100%;
        text-align: center;
    }
}

/* Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Très petits mobiles */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .vehicle-image {
        height: 180px;
    }
    
    .vehicle-info h3 {
        font-size: 1rem;
    }
    
    .vehicle-desc {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    .vehicle-features span {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .vehicle-price .price {
        font-size: 1.1rem;
    }
    
    .btn-particulier,
    .btn-entreprise {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .gallery-thumb {
        width: 50px;
        height: 40px;
    }
    
    .view-details-btn {
        font-size: 0.65rem;
        padding: 5px 10px;
    }
    
    .vehicle-rating .stars {
        font-size: 0.7rem;
    }
}

/* Grands écrans */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
    
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 35px;
    }
    
    .vehicle-image {
        height: 250px;
    }
    
    .vehicle-info {
        padding: 24px;
    }
    
    .vehicle-info h3 {
        font-size: 1.3rem;
    }
}

/* Ajustement pour les écrans très larges */
@media (min-width: 1800px) {
    .container {
        max-width: 1800px;
    }
    
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
        gap: 40px;
    }
    
    .vehicle-image {
        height: 280px;
    }
}

/* Support du mode paysage sur mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .vehicle-image {
        height: 180px;
    }
}
