/* ==========================================
   מה יש פה? - עיצוב חוות דעת
   זהה לתצוגה המקדימה במחולל
   ========================================== */

/* ========== בסיס משותף ========== */
.testimonials-carousel,
.testimonials-grid-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-carousel .container,
.testimonials-grid-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonials-title {
    color: #F69898;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #F69898, #FFD700);
    border-radius: 3px;
}

/* ========================================
   כרטיס - זהה למחולל
   ======================================== */
.testimonial-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* פס צבעוני למעלה */
.card-header {
    height: 8px;
    background: linear-gradient(90deg, #F69898, #FFD700);
}

/* תוכן מרכזי */
.card-content {
    padding: 30px;
    text-align: center;
}

/* אווטר */
.card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F69898, #ff9e9e);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 5px 20px rgba(246, 152, 152, 0.4);
}

/* שם */
.card-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 5px;
}

/* תפקיד */
.card-role {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 15px;
}

/* כוכבים */
.card-stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* טקסט */
.card-text {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    padding: 0 20px;
}

.card-text::before,
.card-text::after {
    font-size: 3rem;
    opacity: 0.15;
    position: absolute;
    font-family: Georgia, serif;
}

.card-text::before {
    content: '"';
    top: -20px;
    right: 0;
}

.card-text::after {
    content: '"';
    bottom: -30px;
    left: 0;
}

/* פוטר */
.card-footer {
    padding: 15px 30px;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

.card-footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-footer-logo img {
    width: 20px;
    height: 20px;
}

/* ========================================
   סגנונות צבע - זהה למחולל
   ======================================== */

/* קלאסי - לבן */
.testimonial-card.card-style-classic {
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    color: #333;
}

/* ורוד */
.testimonial-card.card-style-pink {
    background: linear-gradient(145deg, #fff5f5 0%, #ffe0e0 100%);
    color: #333;
}

/* גרדיאנט - כחול כהה */
.testimonial-card.card-style-gradient {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

/* כהה - שחור */
.testimonial-card.card-style-dark {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    color: white;
}

/* בהיר - אפור */
.testimonial-card.card-style-light {
    background: linear-gradient(145deg, #f0f4f8 0%, #d9e2ec 100%);
    color: #333;
}

/* ========================================
   קרוסלה - גרסה קומפקטית
   ======================================== */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding: 15px 0;
}

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

/* כרטיס קומפקטי בקרוסלה */
.testimonials-carousel .testimonial-card {
    flex: 0 0 320px;
    max-width: 320px;
    min-height: auto;
}

.testimonials-carousel .card-content {
    padding: 20px;
}

.testimonials-carousel .card-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.testimonials-carousel .card-name {
    font-size: 1.1rem;
}

.testimonials-carousel .card-role {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.testimonials-carousel .card-stars {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.testimonials-carousel .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 90px;
}

.testimonials-carousel .card-text::before,
.testimonials-carousel .card-text::after {
    font-size: 2rem;
}

.testimonials-carousel .card-text::before {
    top: -15px;
}

.testimonials-carousel .card-text::after {
    bottom: -20px;
}

.testimonials-carousel .card-footer {
    padding: 12px 20px;
    font-size: 0.8rem;
}

.testimonials-carousel .card-footer-logo img {
    width: 16px;
    height: 16px;
}

/* כפתורי ניווט */
.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonials-nav-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #F69898, #e58080);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(246, 152, 152, 0.5);
}

/* נקודות ניווט */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonials-dot {
    width: 12px;
    height: 12px;
    background: #444;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-dot.active {
    background: #F69898;
    transform: scale(1.3);
}

.testimonials-dot:hover {
    background: #F69898;
}

/* ========================================
   גריד - גודל מלא כמו התצוגה המקדימה
   ======================================== */
.testimonials-grid-section {
    min-height: 100vh;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* הכרטיסים בגריד - גודל מלא */
.testimonials-grid .testimonial-card {
    max-width: 500px;
    min-height: 350px;
    margin: 0 auto;
    width: 100%;
}

/* סטטיסטיקות */
.testimonials-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.testimonials-stat {
    text-align: center;
    padding: 20px 30px;
    background: rgba(246, 152, 152, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(246, 152, 152, 0.2);
}

.testimonials-stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #F69898;
    display: block;
}

.testimonials-stat-label {
    color: #888;
    font-size: 0.95rem;
    margin-top: 5px;
}

/* הודעה ריקה */
.testimonials-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.testimonials-empty i {
    font-size: 4rem;
    color: #444;
    margin-bottom: 20px;
}

.testimonials-empty h3 {
    color: #F69898;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* ========================================
   רספונסיבי
   ======================================== */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .testimonials-carousel,
    .testimonials-grid-section {
        padding: 40px 0;
    }
    
    .testimonials-title {
        font-size: 1.6rem;
    }
    
    /* קרוסלה במובייל */
    .testimonials-carousel .testimonial-card {
        flex: 0 0 280px;
        max-width: 280px;
    }
    
    .testimonials-carousel .card-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .testimonials-carousel .card-text {
        -webkit-line-clamp: 3;
        min-height: 70px;
    }
    
    /* גריד במובייל */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .testimonials-grid .testimonial-card {
        min-height: auto;
    }
    
    .card-content {
        padding: 25px;
    }
    
    .card-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .testimonials-stats {
        gap: 20px;
    }
    
    .testimonials-stat {
        padding: 15px 20px;
    }
    
    .testimonials-stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel .testimonial-card {
        flex: 0 0 260px;
        max-width: 260px;
    }
    
    .testimonials-carousel .card-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .testimonials-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .card-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .card-name {
        font-size: 1.2rem;
    }
    
    .card-text {
        font-size: 1rem;
    }
}
