/* ==================== TESTIMONIALS FIX - Tek Sayfa ==================== */

/* Testimonials section */
.testimonials {
    overflow: visible !important;
    padding: 4rem 0 !important;
}

/* Remove slider */
.testimonials-slider {
    overflow: visible !important;
    width: 100% !important;
    transform: none !important;
}

/* Grid layout - tek sayfa */
.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 2rem 0 !important;
}

/* Testimonial cards */
.testimonial-card {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    transform: none !important;
    opacity: 0;
    margin: 0 !important;
    padding: 2rem !important;
    background: rgba(30, 58, 138, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(234, 179, 8, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card.visible {
    opacity: 1 !important;
}

.testimonial-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(234, 179, 8, 0.3);
    border-color: rgba(234, 179, 8, 0.5);
}

/* Hide slider controls */
.testimonials-slider .slider-btn,
.testimonials .slider-controls,
.testimonials-nav,
.testimonials .prev-btn,
.testimonials .next-btn {
    display: none !important;
}

/* Stagger animation */
.testimonials-grid .testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 0.2s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 0.3s; }
.testimonials-grid .testimonial-card:nth-child(4) { transition-delay: 0.4s; }
.testimonials-grid .testimonial-card:nth-child(5) { transition-delay: 0.5s; }
.testimonials-grid .testimonial-card:nth-child(6) { transition-delay: 0.6s; }

/* Limit to 6 cards */
.testimonials-grid .testimonial-card:nth-child(n+7) {
    display: none !important;
}

/* Card content */
.testimonial-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid rgba(234, 179, 8, 0.5);
}

.testimonial-card .name {
    color: #eab308;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.testimonial-card .title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.testimonial-card .quote {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
}

/* Rating stars */
.testimonial-card .rating {
    color: #eab308;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* ===== RESPONSIVE ===== */

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 1rem 0 !important;
    }
    
    .testimonial-card {
        padding: 1.5rem !important;
    }
    
    /* Show only 3 on mobile */
    .testimonials-grid .testimonial-card:nth-child(n+4) {
        display: none !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .testimonials {
        padding: 2rem 0 !important;
    }
    
    .testimonial-card .avatar {
        width: 50px;
        height: 50px;
    }
}

