/* ===================================================
   Control Productions - Testimonials CSS
   ================================================== */

.testimonials-section {
    padding: 2rem 0 4rem;
    overflow: hidden;
}

/* ===================================================
   CAROUSEL
   ================================================== */

.carousel-wrapper {
    overflow: hidden;
    margin: 2rem 0;
    position: relative;
}

.carousel-row {
    display: flex;
    gap: 2rem;
    width: max-content;
}

/* Spacer between carousel loops */
.carousel-spacer {
    min-width: 150px;
    width: 150px;
}

/* Animation for scrolling */
.carousel-scroll-right {
    animation: scrollRight 40s linear infinite;
}

.carousel-scroll-left {
    animation: scrollLeft 40s linear infinite;
}

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%));
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(calc(-50%));
    }
    100% {
        transform: translateX(0);
    }
}

/* Pause animation on hover */
.carousel-row:hover {
    animation-play-state: paused;
}

/* ===================================================
   TESTIMONIAL CARD
   ================================================== */

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    min-width: 350px;
    max-width: 350px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-card:hover {
    background-color: rgba(230, 52, 98, 0.1);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 1rem;
}

.testimonial-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.testimonial-job {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-style: italic;
    opacity: 0.9;
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    padding: 0 1rem;
}

/* Quote marks styling */
.quote-start {
    font-size: 1rem;
    color: #E63462;
    font-weight: normal;
    margin-left: 0.2rem;
}

.quote-end {
    font-size: 1rem;
    color: #E63462;
    font-weight: normal;
    margin-right: 0.2rem;
}

/* ===================================================
   CTA SECTION
   ================================================== */

.testimonials-cta-text {
    font-size: 1.5rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* ===================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 768px) {
    .carousel-row {
        gap: 1.5rem;
    }

    .testimonial-card {
        min-width: 300px;
        max-width: 300px;
        padding: 1.5rem;
    }

    .testimonial-photo {
        width: 80px;
        height: 80px;
    }

    .testimonial-name {
        font-size: 1.2rem;
    }

    .testimonial-quote {
        font-size: 0.95rem;
    }

    .testimonials-cta-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
        padding: 1.2rem;
    }

    .carousel-scroll-right,
    .carousel-scroll-left {
        animation-duration: 50s;
    }

    .carousel-spacer {
        min-width: 100px;
        width: 100px;
    }
}
