/*--------------------------------------------------------------
# Testimonials Section - Carousel avec image de fond
--------------------------------------------------------------*/

.testimonials {
    padding: 100px 0;
    position: relative;
    background-image: url('../img/services/surveillance-01.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Masque transparent */
.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials .section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #fff;
}

/* Carousel Container */
.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    min-width: 100%;
    padding: 0 60px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-item.active {
    opacity: 1;
}

.testimonial-quote {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #fff;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    margin: 0;
}

.testimonial-role {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Flèches de navigation */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-arrow i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials .section-title h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .testimonial-item {
        margin-bottom: 40px;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
}