/**
 * Testimonials Component Styles
 * Copyright © VtNetzwelt. All rights reserved.
 */

.testimonials-wrapper {
    margin: 40px 0;
    padding: 0;
    width: 100%;
}

.testimonials-container {
    width: 100%;
    margin: 0;
    padding: 0 15px;
}

.testimonials-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

/* Slider Layout Styles */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-slider-container {
    overflow: hidden;
    margin: 0; /* Full width - no space needed for arrows */
}

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

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
}

.testimonial-row {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-item {
    display: flex;
    flex: 1;
    min-height: 200px;
}

.testimonial-image-column {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonial-content-column {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-text blockquote {
    margin: 0;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    position: relative;
}

.testimonial-text blockquote:before {
    content: '"';
    font-size: 3rem;
    color: #e0e0e0;
    position: absolute;
    top: -15px;
    left: -15px;
    font-family: serif;
}

.testimonial-text blockquote p {
    margin: 0;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 20px;
}

.author-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
}

.author-designation {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

/* Dots Indicator */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: #666;
}

.slider-dot:hover {
    background: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-container {
        padding: 0 10px;
    }
    
    .testimonial-row {
        flex-direction: column;
        min-height: auto;
    }
    
    .testimonial-item {
        flex-direction: column;
        min-height: auto;
    }
    
    .testimonial-image-column {
        flex: none;
        padding: 20px;
        text-align: center;
    }
    
    .testimonial-content-column {
        padding: 20px;
        text-align: center;
    }
    
    .testimonials-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .testimonial-text blockquote {
        font-size: 1rem;
    }
    
    .testimonial-image img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .testimonials-wrapper {
        margin: 20px 0;
        padding: 0;
    }
    
    .testimonials-container {
        padding: 0 5px;
    }
    
    .testimonial-image-column,
    .testimonial-content-column {
        padding: 15px;
    }
    
    .testimonial-image img {
        width: 70px;
        height: 70px;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .author-designation {
        font-size: 0.9rem;
    }
}
