/* =========================================================================
   TESTIMONIALS SWIPER COMPONENT (ULTRA-GLASS & ORANGE TINT EDITION)
   Architecture: Ambient Orange Translucency + GPU Backdrop Blur + Contrast Lock
   Target: assets/css/components/testimonials.css
   ========================================================================= */

:root {
    --star-active: #fbbf24;
    --star-inactive: rgba(255, 255, 255, 0.35);
    --brand-accent: #f16b4e;
}

/* 🎯 1. BÖLÜM KAPSAYICISI & AÇILMIŞ GÖRSEL BACKDROP */
.home-testimonials-section {
    position: relative;
    width: 100%;
    padding: 40px 0 35px 0;
    box-sizing: border-box;
    
    /* 🎯 %40 - %48 KOYULUK: Arka plan görseli çok daha net ve canlı görünür */
    background: 
        linear-gradient(
            rgba(15, 23, 42, 0.30), 
            rgba(15, 23, 42, 0.38)
        ),
        url('../../images/default-banner.jpg') center center / cover no-repeat;
    
    background-color: #0f172a;
}

.testimonials-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* 🎯 2. BAŞLIK KATMANI */
.testimonials-header {
    text-align: center;
    margin-bottom: 24px;
}

.testimonials-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.testimonials-title {
    font-size: 25px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.testimonials-divider {
    width: 42px;
    height: 3px;
    background-color: var(--brand-accent);
    margin: 10px auto 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(241, 107, 78, 0.4);
}

/* 🎯 3. SWIPER KAPSAYICISI */
.umitTestimonialsSwiper {
    width: 100%;
    overflow: hidden;
    padding: 6px 0 18px 0;
    position: relative;
}

.umitTestimonialsSwiper .swiper-wrapper {
    box-sizing: border-box;
}

.umitTestimonialsSwiper .swiper-slide {
    height: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    display: flex !important;
}

/* 🎯 4. ŞEFFAF TURUNCU AMBİYANS & BUZLU CAM (GLASSMORPHISM) KARTLAR */
.testimonial-card {
    /* 🎯 Beyaz ve Turuncu hibrit şeffaf zemin */
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.22) 0%, 
        rgba(241, 107, 78, 0.12) 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    /* 🎯 Kristal Cam Sınır Efekti */
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    padding: 20px 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.45), 
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.25s ease, 
                border-color 0.25s ease,
                background 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.32) 0%, 
        rgba(241, 107, 78, 0.22) 100%
    );
    border-color: rgba(241, 107, 78, 0.6);
    box-shadow: 0 20px 38px -6px rgba(0, 0, 0, 0.55), 
                0 0 15px rgba(241, 107, 78, 0.25);
}

/* META TOP: YILDIZ & PLATFORM */
.card-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.star-rating {
    display: flex;
    gap: 3px;
}

.star-icon {
    width: 15px;
    height: 15px;
    fill: var(--star-inactive);
}

.star-icon.filled {
    fill: var(--star-active);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.review-source-badge {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    background-color: rgba(15, 23, 42, 0.45);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

/* YORUM GÖVDESİ (KOYU ZEMİN İÇİN YÜKSEK KONTRAST) */
.card-body {
    flex-grow: 1;
    margin-bottom: 14px;
    
    /* 🎯 2D MERKEZLEME */
    display: flex;
    align-items: center;     /* Y Ekseni: Dikeyde tam ortalar */
    justify-content: center; /* X Ekseni: Yatayda tam ortalar */
    text-align: center;
}

.review-comment {
    font-size: 13.5px;
    line-height: 1.55;
    color: #ffffff;
    margin: 0;
    font-style: italic;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    
    /* 🎯 Çok satırlı paragrafların her satırını X ekseninde ortalar */
    text-align: center;
    width: 100%;
}

/* YAZAR BİLGİSİ */
.card-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initial {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.author-location {
    font-size: 11.5px;
    color: #e2e8f0;
}

/* 🎯 5. SAYFALAMA NOKTALARI */
.testimonials-pagination {
    position: relative !important;
    margin-top: 14px !important;
    bottom: 0 !important;
    text-align: center;
}

.testimonials-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background-color: rgba(255, 255, 255, 0.45);
    opacity: 1;
    transition: all 0.25s ease;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background-color: var(--brand-accent);
    width: 22px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(241, 107, 78, 0.7);
}