/* Corrections pour le formulaire de réservation */
.booking-modal {
    z-index: 9999 !important; /* S'assurer que le modal est au-dessus de tout */
    padding-top: 60px; /* Ajouter un espace en haut pour éviter la navbar */
    overflow-y: auto; /* Permettre le défilement */
}

.booking-form {
    margin: 60px auto !important; /* Marge supérieure pour éviter la navbar */
    max-height: 80vh !important; /* Limiter la hauteur pour permettre le défilement */
    overflow-y: auto !important; /* Permettre le défilement à l'intérieur du formulaire */
    padding-right: 20px !important; /* Espace pour la scrollbar */
}

/* Style du formulaire pour mobile */
@media (max-width: 767px) {
    .booking-form {
        padding: 20px !important;
        margin: 70px auto 20px auto !important;
        max-width: 90%;
        max-height: 70vh !important; /* Hauteur réduite sur mobile */
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
}

/* Correction pour le bouton de réservation en français */
.submit-btn {
    letter-spacing: -0.3px; /* Réduire légèrement l'espacement des lettres */
    font-size: 15px !important; /* Taille de police légèrement réduite */
    white-space: nowrap; /* Empêcher le retour à la ligne */
    padding: 15px 10px !important; /* Ajuster le padding horizontal */
}

@media (max-width: 320px) {
    /* Ajustement supplémentaire pour les très petits écrans */
    .submit-btn {
        font-size: 14px !important;
        letter-spacing: -0.5px;
    }
}

/* Style de scrollbar personnalisé */
.booking-form::-webkit-scrollbar {
    width: 8px;
}

.booking-form::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.booking-form::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.booking-form::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Empêcher le défilement du body quand le modal est ouvert */
body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Styles pour le tableau des tarifs */
.pricing-table-section {
    padding: 60px 0;
}

.price-table-container {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    background-color: #fff;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th {
    background-color: #000000;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.price-table th:first-child {
    border-top-left-radius: 8px;
}

.price-table th:last-child {
    border-top-right-radius: 8px;
}

.price-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.price-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.price-table tbody tr:hover {
    background-color: #f5f5f5;
}

.pricing-info {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.pricing-info h5 {
    color: #000000;
    margin-bottom: 15px;
    font-weight: 600;
}

.supplement-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.supplement-item:last-child {
    border-bottom: none;
}

.supplement-price {
    font-weight: 600;
    color: #000000;
}

.pricing-note {
    font-size: 14px;
    font-style: italic;
    color: #666;
    margin-top: 15px;
}

.btn-view-all-prices {
    display: inline-block;
    padding: 10px 25px;
    background-color: #000000;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-view-all-prices:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .pricing-table-section {
        padding: 40px 0;
    }
    
    .price-table th, 
    .price-table td {
        padding: 10px;
        font-size: 14px;
    }
    
    .pricing-info {
        padding: 15px;
    }
    
    .supplement-item {
        flex-direction: column;
        text-align: center;
    }
    
    .supplement-price {
        margin-top: 5px;
    }
    
    .pricing-note {
        font-size: 12px;
    }
}

/* Styles pour les cartes de la flotte */
.fleet-card {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    background-color: #fff;
}

.fleet-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.fleet-card .card-body {
    padding: 25px;
}

.fleet-card h3 {
    font-weight: 600;
    margin-bottom: 10px;
}

.fleet-card p {
    color: #666;
    line-height: 1.6;
    min-height: 70px;
}

.fleet-card .card-image {
    margin: 15px 0;
    border-radius: 5px;
    overflow: hidden;
}

.fleet-card img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.fleet-card:hover img {
    transform: scale(1.03);
}

.fleet-card .passenger-info,
.fleet-card .luggage-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 991px) {
    .fleet-card p {
        min-height: auto;
    }
}

/* Styles pour le menu mobile */
.mobile-menu-active {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

.mobile-header-wrapper-style {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

.mobile-header-wrapper-style.sidebar-visible {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    cursor: pointer;
}

.mobile-header-wrapper-inner {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    overflow-y: auto;
    padding: 30px 20px;
    transition: right 0.3s ease;
    -webkit-overflow-scrolling: touch;
}

.sidebar-visible .mobile-header-wrapper-inner {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 9999;
}

.mobile-menu-close:before,
.mobile-menu-close:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
}

.mobile-menu-close:before {
    transform: rotate(45deg);
}

.mobile-menu-close:after {
    transform: rotate(-45deg);
}

.mobile-menu-close:hover:before,
.mobile-menu-close:hover:after {
    background-color: #d72323;
}

/* Animation du menu mobile */
.mobile-header-wrapper-style {
    transition: all 0.3s ease-in-out;
}

/* Style spécifique pour les appareils iOS */
@supports (-webkit-touch-callout: none) {
    .mobile-header-wrapper-inner {
        height: -webkit-fill-available;
    }
}

/* Correction pour l'alignement des formulaires */
.booking-form .form-group {
    margin-bottom: 15px;
} 