/* ==========================================
   VIPSAMOCHODY - Testimonials Carousel
   REDESIGNED for perfect desktop display
   ========================================== */

/* === TESTIMONIALS CAROUSEL SECTION === */
.testimonials-carousel-section {
    padding: 80px 20px 100px;
    background: var(--color-gray-900);
    position: relative;
}

.testimonials-carousel-section::before {
    content: '';
    position: absolute;
    top: -400px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.testimonials-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* === SECTION HEADER === */
.testimonials-carousel-container .section-header {
    margin-bottom: 60px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-carousel-container .section-title-new {
    margin-bottom: 20px;
}

.testimonials-carousel-container .section-description {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === CAROUSEL WRAPPER === */
.testimonials-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 90px;
}

/* === TRACK CONTAINER === */
.testimonials-track-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* === TRACK === */
.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* === SLIDE === */
.testimonial-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    padding: 0 10px;
    box-sizing: border-box;
}

/* === CAROUSEL BUTTONS === */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95), rgba(17, 24, 39, 0.95));
    border: 2px solid rgba(107, 114, 128, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

.carousel-btn:hover:not(:disabled) i {
    color: var(--color-black);
}

.carousel-btn i {
    font-size: 24px;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(31, 41, 55, 0.5);
    border-color: rgba(107, 114, 128, 0.3);
}

.carousel-btn:disabled:hover {
    transform: translateY(-50%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* === TESTIMONIAL CARD === */
.testimonial-card-new {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
    border: 2px solid rgba(55, 65, 81, 0.6);
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 450px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-card-new:hover {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(17, 24, 39, 0.95) 100%);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2),
                0 0 80px rgba(16, 185, 129, 0.1);
}

/* === QUOTE ICON === */
.testimonial-quote-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.testimonial-card-new:hover .testimonial-quote-icon {
    opacity: 1;
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.1));
}

.testimonial-quote-icon i {
    font-size: 30px;
    color: var(--color-primary);
}

/* === RATING === */
.testimonial-rating {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.testimonial-rating i {
    color: #FFC107;
    font-size: 20px;
}

/* === TEXT === */
.testimonial-text-new {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(209, 213, 219, 0.95);
    margin-bottom: 30px;
    flex-grow: 1;
    position: relative;
    padding-left: 20px;
    font-style: italic;
}

.testimonial-text-new::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, transparent 100%);
    border-radius: 10px;
}

/* === AUTHOR === */
.testimonial-author-new {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(55, 65, 81, 0.6);
}

.testimonial-avatar-new {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-primary);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card-new:hover .testimonial-avatar-new {
    border-width: 4px;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
    transform: scale(1.05);
}

.testimonial-avatar-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card-new:hover .testimonial-avatar-new img {
    transform: scale(1.1);
}

.testimonial-author-info {
    flex-grow: 1;
}

.testimonial-name-new {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gray-50);
    margin-bottom: 6px;
}

.testimonial-car-new {
    font-size: 16px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-date {
    font-size: 14px;
    color: rgba(156, 163, 175, 0.8);
}

/* === CAROUSEL DOTS === */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding: 15px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(107, 114, 128, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0;
}

.carousel-dot:hover:not(.active) {
    background: rgba(107, 114, 128, 0.8);
    transform: scale(1.3);
}

.carousel-dot.active {
    background: var(--color-primary);
    width: 40px;
    border-radius: 20px;
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* === RESPONSIVE === */

/* Large Desktop */
@media (max-width: 1400px) {
    .testimonials-carousel {
        max-width: 1000px;
        padding: 0 80px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .testimonials-carousel {
        max-width: 900px;
        padding: 0 70px;
    }
    
    .carousel-btn {
        width: 65px;
        height: 65px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .testimonials-carousel {
        max-width: 700px;
        padding: 0 60px;
    }
    
    .carousel-btn {
        width: 60px;
        height: 60px;
    }
    
    .carousel-btn i {
        font-size: 20px;
    }
    
    .testimonial-card-new {
        padding: 40px 30px;
        min-height: 400px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .testimonials-carousel {
        padding: 0 55px;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
    }
    
    .carousel-btn i {
        font-size: 18px;
    }
    
    .testimonial-card-new {
        padding: 35px 25px;
        min-height: 380px;
    }
    
    .testimonial-text-new {
        font-size: 16px;
    }
    
    .testimonial-avatar-new {
        width: 70px;
        height: 70px;
    }
    
    .testimonial-quote-icon {
        width: 60px;
        height: 60px;
        top: 30px;
        right: 30px;
    }
    
    .testimonial-quote-icon i {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .testimonials-carousel-section {
        padding: 60px 15px 80px;
    }
    
    .testimonials-carousel {
        padding: 0 50px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .carousel-btn i {
        font-size: 16px;
    }
    
    .testimonial-card-new {
        padding: 30px 20px;
        min-height: 420px;
    }
    
    .testimonial-text-new {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .testimonial-avatar-new {
        width: 65px;
        height: 65px;
    }
    
    .testimonial-name-new {
        font-size: 18px;
    }
    
    .testimonial-car-new {
        font-size: 14px;
    }
    
    .carousel-dots {
        margin-top: 40px;
        gap: 8px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    .carousel-dot.active {
        width: 32px;
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    .testimonials-carousel {
        padding: 0 45px;
    }
    
    .carousel-btn {
        width: 42px;
        height: 42px;
    }
    
    .testimonial-card-new {
        padding: 25px 18px;
    }
}
