/* ============================
   DESKTOP
============================ */
.dl-hero-single {
    height: 750px; /* Desktop */
    background-size: cover !important;
    background-position: center top !important; /* Montre bien la tête */
    background-repeat: no-repeat !important;
}

/* ============================
   MOBILE
============================ */
@media (max-width: 768px) {

    .dl-hero-single {
        background-position: 75% center !important; /* ✔ décale pour montrer l’homme */
        background-size: cover !important;
        height: 900px !important;
        position: relative;
        overflow: visible !important;
    }

    /* Correct affichage du contenu */
    .dl-hero-single .at_hero_slider {
        position: relative;
        z-index: 2;
    }

    /* Ombre pour lisibilité */
    .dl-hero-single::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1;
    }

    /* Titres + boutons devant l’ombre */
    .at-hero-title p,
    .at-hero-title span {
        position: relative;
        z-index: 3;
    }
}


.btn-outline {
    display: inline-flex;
    align-items: center; /* Vertically center-align SVG and text */
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 260px; /* Fixed width for uniform size */
    justify-content: left; /* Center-align icon and text in button */
}

.btn-outline:hover {
    background-color: #000;
    color: #1466b8; /* Attention : PHP dans CSS, à gérer via inline style si nécessaire */
}

.btn-outline svg {
    margin-right: 8px; /* Consistent space between icon and text */
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.button-container:hover .btn-outline svg {
    transform: translateX(5px); /* Move icon slightly on hover */
}

/* ==========================
   Section Taxi Center
========================== */
.section-taxi-center {
    padding: 15px 0;
}

.section-taxi-center .featured-img img:first-of-type {
    max-width: 340px;
    width: 100%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.img-small {
    max-width: 320px;
    width: 100%;
    height: 340px;       /* 🔥 Augmente la hauteur ici */
    max-height: 340px;   /* 🔥 Nouvelle limite haute */
    object-fit: cover;   /* Garde l'image propre sans déformation */
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}


/* TEXT ALIGN LEFT PAR DÉFAUT */
.section-taxi-center .text-block {
    text-align: left;
    padding: 10px 20px;
}

.section-taxi-center h1,
.section-taxi-center .at-subtitle {
    display: block;
    text-align: left; /* ← corrigé */
    font-weight: 600;
}

.section-taxi-center p {
    line-height: 1.7;
    font-size: 17px;
    color: #444;
    margin-bottom: 15px;
}

.section-taxi-center .btn {
    margin-top: 25px;
    padding: 12px 28px;
    font-size: 18px;
    border-radius: 8px;
}

/* ==========================
   Alignement et responsive
========================== */
@media (min-width: 992px) {
    .row-center-align {
        display: flex;
        align-items: flex-start;
        margin-top: 20px;
    }

    .section-taxi-center .text-block {
        text-align: left;
        padding: 0 0 0 30px;
        padding-top: 0 !important;
    }

    .text-block h3 {
        margin-top: 0 !important;
        padding-top: 0 !important;
        line-height: 1.2;
    }

    .col-lg-8 {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
}

/* ==========================
   Bloc images + actions
========================== */
.bloc-image-actions {
    text-align: center;
    margin: 10px auto;
}

.actions {
    margin-top: 12px;
}

.btn-action {
    display: inline-block;
    margin: 5px 0;
    padding: 12px 20px;
    background-color: #1466b8;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    min-width: 220px;
    text-align: center;
    font-weight: bold;
}

/* Supprime les espaces en trop */
.row-center-align > [class*="col-"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* H3 aligné parfaitement */
.text-block h3 {
    margin-top: 0 !important;
}





.taxi-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.taxi-links a {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid #b0b0b0;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.taxi-links a:hover {
    border-color: #1466b8;
    background: #1466b8;
    color: #fff;
}



/* Ombre douce */
.shadow-custom {
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

/* Boîte de témoignage */
.testimonial-box {
    border-radius: 14px;
    background: #ffffff;
    height: 100%;
    position: relative;
}

/* Étoiles */
.stars {
    font-size: 22px;
    color: #1466b8;
}

/* Texte */
.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    font-style: italic;
}

/* Ligne entre texte et nom — comme dans ton modèle */
.testimonial-separator {
    border: none;
    border-top: 1px solid #e2e2e2;
    margin: 20px 0 15px 0;
}

/* Nom du client */
.client-name {
    font-weight: bold;
    font-size: 17px;
    color: #000;
}

/* Encadrement */
.testimonial-border {
    border: 1px solid #d3d3d3;
    padding: 20px;
    box-sizing: border-box;
}

/* Décoration dots */
.dots-wide {
    top: -20px;
    left: -20px;
    opacity: 0.4;
    width: 180px;
}

a:hover {
    color: #fff !important;
    text-decoration: none;
}



.card-vehicule {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9e9e9;
    margin-bottom: 40px;
}
.card-vehicule img {
    width: 100%;
    border-radius: 12px;
}
.vehicule-card {
    border: 2px solid #1466b8;
    border-radius: 28px;
    padding: 30px 20px;
    text-align: center;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.vehicule-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.vehicule-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.vehicule-cap {
    color: #8a8a8a;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 10px;
}

.vehicule-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
}

.btn-reserver {
    background: #1466b8;
    color: white;
    border-radius: 12px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-reserver:hover {
    background: #1466b8;
}




/* Couleur de fond */
.services-vtc {
    background: #1466b8;
}

/* Layout par défaut (desktop) */
.services-row-nowrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
}

.services-row-nowrap > div {
    flex: 0 0 12.5%;
    max-width: 12.5%;
}

/* Style des blocs */
.service-box {
    background: #ffffff;
    padding: 25px 10px;
    border-radius: 12px;
    text-align: center;
    min-height: 150px;
    transition: 0.3s ease-in-out;
}

.service-box i {
    font-size: 40px;
    color: #0c1f53;
    margin-bottom: 10px;
}

.service-box p {
    margin: 0;
    font-weight: 600;
    color: #0c1f53;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Media query pour mobile (≤768px) */
@media (max-width: 768px) {
    .services-row-nowrap {
        flex-wrap: wrap !important; /* permet de passer à plusieurs lignes */
    }

    .services-row-nowrap > div {
        flex: 0 0 50%; /* 2 colonnes sur mobile */
        max-width: 50%;
        margin-bottom: 15px; /* espace entre lignes */
    }
}
