/* ==========================================
   Swiper Services - 1.5 slides
   ========================================== */
.swiperServices{
    /* overflow: visible !important; */
    padding: 20px 0 100px 200px; /* ✅ Espace en bas pour les flèches + espacement à gauche */
}

.swiperAbout{
    padding-top: 20px;
}

.swiperServices .swiper-slide {
    display: flex;
    height: auto;
    width: auto !important;
}

.swiperAbout .swiper-slide{
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.behind-card{
    border-radius: 0 !important;
    min-height: 300px !important;
    height: auto !important;
    width: auto !important;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    height: 600px;
    cursor: grab;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:active {
    cursor: grabbing;
}

.service-card img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    border-radius: 30px;
}

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

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 40px 30px;
    color: white;
}

.service-content h3 {
    font-family: var(--butler);
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    margin-bottom: 10px;
    color: white;
}

.service-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}

/* Navigation Arrows avec Font Awesome - EN DESSOUS DES IMAGES */
.swiperServices .swiper-button-prev, 
.swiperAbout .swiper-button-prev,
.bgYellow2 .container .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: var(--black);
    border-radius: 50%;
    color: var(--secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: auto;
    bottom: 0;
    margin-top: 0;
    z-index: 10;
}
.swiperServices .swiper-button-next, 
.swiperAbout .swiper-button-next,
.bgYellow2 .container .swiper-button-next {
    width: 50px;
    height: 50px;
    background: var(--black) !important;
    border-radius: 50%;
    color: var(--secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: auto;
    bottom: 0;
    margin-top: 0;
    z-index: 10;
}

/* ✅ CACHER LES FLÈCHES NATIVES DE SWIPER */
.swiperServices .swiper-button-prev:after,
.swiperServices .swiper-button-next:after,
.swiperAbout .swiper-button-prev:after,
.swiperAbout .swiper-button-next:after,
.bgYellow2 .container .swiper-button-prev:after,
.bgYellow2 .container .swiper-button-next:after {
    content: '' !important;
    display: none !important;
}

.swiperServices .swiper-button-prev i,
.swiperServices .swiper-button-next i,
.swiperAbout .swiper-button-prev i,
.swiperAbout .swiper-button-next i,
.bgYellow2 .container .swiper-button-prev i,
.bgYellow2 .container .swiper-button-next i {
    font-size: 18px;
    color: var(--secondary);
}

.swiper-navigation-icon{
    display: none;
}

.swiperServices .swiper-button-prev:hover,
.swiperServices .swiper-button-next:hover,
.swiperAbout .swiper-button-prev:hover,
.swiperAbout .swiper-button-next:hover,
.bgYellow2 .container .swiper-button-prev:hover,
.bgYellow2 .container .swiper-button-next:hover {
    background: var(--secondary) !important;
    border: 1px solid var(--black);
}

.swiperServices .swiper-button-prev:hover i,
.swiperServices .swiper-button-next:hover i,
.swiperAbout .swiper-button-prev:hover i,
.swiperAbout .swiper-button-next:hover i,
.bgYellow2 .container .swiper-button-prev:hover i,
.bgYellow2 .container .swiper-button-next:hover i {
    color: var(--black);
}

.swiperServices .swiper-button-prev,
.bgYellow2 .container .swiper-button-prev {
    left: 0;
    transform: translateX(0px);
}

.swiperServices .swiper-button-next,
.bgYellow2 .container .swiper-button-next {
    right: 0;
    transform: translateX(0px);
}

.swiperServices .swiper-button-disabled, .swiperAbout .swiper-button-disabled {
    opacity: 0.5;
}

/* Responsive */
@media only screen and (max-width: 1200px){ 
    /* Les flèches restent en dessous centrées */
}

@media only screen and (max-width: 992px){ 
    .service-card {
        height: 400px;
    }
    
    .swiperServices .swiper-button-prev,
    .swiperServices .swiper-button-next,
    .swiperAbout .swiper-button-prev,
    .swiperAbout .swiper-button-next {
        width: 45px;
        height: 45px;
        bottom: -70px;
    }
    
    .swiperServices .swiper-button-prev i,
    .swiperServices .swiper-button-next i,
    .swiperAbout .swiper-button-prev i,
    .swiperAbout .swiper-button-next i {
        font-size: 16px;
    }

    .swiperServices .swiper-button-prev, .swiperAbout .swiper-button-prev {
        transform: translateX(0px);
    }

    .swiperServices .swiper-button-next, .swiperAbout .swiper-button-next {
        transform: translateX(15px);
    }
}

@media only screen and (max-width: 768px) { 
    .service-card {
        height: auto;
        width: 100%;
    }
    
    .service-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    .swiperServices .swiper-slide {
        width: 100% !important;
    }
    
    .service-content {
        padding: 30px 20px;
    }
    
    .swiperServices, .swiperAbout {
        padding: 20px 0 80px 0;
    }
}

@media only screen and (max-width: 576px) { 
    .swiperServices .swiper-button-prev,
    .swiperAbout .swiper-button-prev,
    .swiperServices .swiper-button-next,
    .swiperAbout .swiper-button-next {
        width: 40px;
        height: 40px;
        bottom: 0px;
    }
    
    .swiperServices .swiper-button-prev i,
    .swiperAbout .swiper-button-prev i,
    .swiperServices .swiper-button-next i,
    .swiperAbout .swiper-button-next i {
        font-size: 14px;
    }
    
    .swiperServices .swiper-button-prev, .swiperAbout .swiper-button-prev {
        transform: translateX(0px);
    }

    .swiperServices .swiper-button-next, .swiperAbout .swiper-button-next {
        transform: translateX(0px);
    }
}

/* ==========================================
   Lightbox Galerie
   ========================================== */
.swiper-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.swiper-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.swiper-lightbox.closing {
    opacity: 0;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 20px;
}

.swiperLightbox {
    width: 90%;
    max-width: 1200px;
    height: 80vh;
}

.swiperLightbox .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-info {
    text-align: center;
    color: white;
    margin-top: 30px;
    max-width: 600px;
}

.lightbox-info h3 {
    font-family: var(--butler);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 10px;
    color: var(--secondary);
}

.lightbox-info p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

/* Boutons de la lightbox */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: var(--secondary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close i,
.lightbox-prev i,
.lightbox-next i {
    font-size: 20px;
    color: var(--black);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--black);
}

.lightbox-close:hover i,
.lightbox-prev:hover i,
.lightbox-next:hover i {
    color: var(--secondary);
}

/* Responsive Lightbox */
@media only screen and (max-width: 768px) {
    .lightbox-content {
        padding: 60px 10px 10px;
    }
    
    .swiperLightbox {
        width: 95%;
        height: 70vh;
    }
    
    .lightbox-image-container img {
        max-height: 60vh;
    }
    
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-close i,
    .lightbox-prev i,
    .lightbox-next i {
        font-size: 16px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

/* ==========================================
   Swiper Services Mobile - 1 slide
   ========================================== */
.swiperServicesMobile {
    width: 100%;
    height: 100%;
    padding-bottom: 50px;
}

.swiperServicesMobile .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.divCarousel {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
}

.divCarousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.divCarousel .carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.divCarousel .spanExpand {
    color: var(--white);
}

.swiperServicesMobile .swiper-pagination {
    bottom: 10px;
}

.swiperServicesMobile .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiperServicesMobile .swiper-pagination-bullet-active {
    background: var(--secondary);
    opacity: 1;
}

.swiperServicesMobile .swiper-button-prev,
.swiperServicesMobile .swiper-button-next {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    color: var(--black);
    transition: all 0.3s ease;
}

.swiperServicesMobile .swiper-button-prev:hover,
.swiperServicesMobile .swiper-button-next:hover {
    background: var(--white);
    border: 1px solid var(--secondary);
}

.swiperServicesMobile .swiper-button-prev::after,
.swiperServicesMobile .swiper-button-next::after {
    content: '';
}

.swiperServicesMobile .swiper-button-prev i,
.swiperServicesMobile .swiper-button-next i {
    font-size: 18px;
}

/* ==========================================
   Swiper Team Mobile - 1 slide
   ========================================== */
.swiperTeamMobile {
    width: 100%;
    height: 100%;
    padding-bottom: 50px;
}

.swiperTeamMobile .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiperTeamMobile .swiper-pagination {
    bottom: 10px;
}

.swiperTeamMobile .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiperTeamMobile .swiper-pagination-bullet-active {
    background: var(--secondary);
    opacity: 1;
}

.swiperTeamMobile .swiper-button-prev,
.swiperTeamMobile .swiper-button-next {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    color: var(--black);
    transition: all 0.3s ease;
}

.swiperTeamMobile .swiper-button-prev:hover,
.swiperTeamMobile .swiper-button-next:hover {
    background: var(--white);
    border: 1px solid var(--secondary);
}

.swiperTeamMobile .swiper-button-prev::after,
.swiperTeamMobile .swiper-button-next::after {
    content: '';
}

.swiperTeamMobile .swiper-button-prev i,
.swiperTeamMobile .swiper-button-next i {
    font-size: 18px;
}

/* Classes de visibilité responsive */
.mobileShow {
    display: none;
}

@media (max-width: 991px) {
    .mobileNone {
        display: none;
    }
    
    .mobileShow {
        display: block;
    }
}


@media only screen and (max-width: 992px){ 
  .swiperAbout .swiper-slide{
    justify-content: start;
  }
  .behind-card{
    padding: 0;
  }
  .swiperAbout{
    padding: 20px 0 40px 0;
  }
}