/* ============================
   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: #D4B460; /* 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: 30px 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: 340px;
    width: 100%;
    height: auto;
    max-height: 320px;
    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: #D4B460;
    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: #D4B460;
    background: #D4B460;
    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: #f7b500;
}

/* 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;
}



