/* REUSE-CHECK: bu bölümün stilleri CSS dosyalarında aranıldı — YOK; homepage-reviews.js addStyles() ile JS'ten
   <style id="hp-reviews-styles"> olarak basılıyordu. Kurallar AYNEN buraya taşındı (K2.0 Z3: sunucuda çizilen bölüm JS gelmeden
   stilli olsun diye). Sayfa bu dosyayı <head>'in sonunda yükler — bugünkü <style> konumu, ortak sınıflarda kazanan değişmez. */
            /* MIKE'S CSS STANDARDS: BEM naming + CSS variables only */
            .hp-reviews {
                background: var(--surface-color, #f8f9fa);
                padding: 80px 0;
            }

            .hp-reviews__hero {
                text-align: center;
                margin-bottom: 60px;
                position: relative;
                background: var(--surface-color, #f8f9fa);
                border-radius: var(--radius-lg, 20px);
                overflow: hidden;
                min-height: 300px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .hp-reviews__hero-bg {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 1;
            }

            .hp-reviews__hero-bg img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .hp-reviews__hero-overlay {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
                z-index: 2;
            }

            .hp-reviews__hero-content {
                position: relative;
                z-index: 3;
                color: white;
                padding: 40px;
            }

            .hp-reviews__title {
                font-size: 2.5rem;
                font-weight: 700;
                color: white;
                margin-bottom: 40px;
                font-family: var(--font-heading, 'Playfair Display', serif);
                text-shadow: 0 2px 4px rgba(0,0,0,0.3);
            }

            .hp-reviews__stats {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 30px;
            }

            .hp-reviews__rating-display {
                display: flex;
                align-items: center;
                gap: 15px;
                flex-wrap: wrap;
                justify-content: center;
            }

            .hp-reviews__stars {
                color: var(--warning-color, #fbbf24);
                font-size: 1.5rem;
            }

            /* Puan ve yorum sayısı koyu katmanlı görselin üstünde: tema metin rengi (açık zemin için) okunmaz, bant beyazı. */
            .hp-reviews__avg-rating {
                font-size: 2rem;
                font-weight: 700;
                color: white;
                text-shadow: 0 2px 4px rgba(0,0,0,0.3);
            }

            .hp-reviews__total-count {
                color: rgba(255,255,255,0.85);
                font-size: 1.1rem;
            }

            .hp-reviews__trust-badges {
                display: flex;
                gap: 20px;
                flex-wrap: wrap;
                justify-content: center;
            }

            .hp-reviews__badge {
                display: flex;
                align-items: center;
                gap: 8px;
                background: var(--primary-color);
                color: white;
                padding: 12px 20px;
                border-radius: 25px;
                font-weight: 600;
                font-size: 0.9rem;
            }

            .hp-reviews__carousel-container {
                position: relative;
                margin-bottom: 60px;
            }

            .hp-reviews__carousel {
                display: flex;
                gap: 30px;
                transition: transform 0.3s ease;
                overflow: hidden;
            }

            .hp-reviews__card {
                flex: 0 0 calc(33.333% - 20px);
                background: var(--card-background, white);
                border-radius: var(--radius-lg, 16px);
                padding: 30px;
                box-shadow: var(--shadow-md);
                border: 1px solid var(--border-color, #e5e7eb);
                position: relative;
                transition: all 0.3s ease;
            }

            .hp-reviews__card:hover {
                transform: translateY(-5px);
                box-shadow: var(--shadow-lg);
            }

            .hp-reviews__card-header {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                margin-bottom: 20px;
            }

            .hp-reviews__card-rating {
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .hp-reviews__card-stars {
                color: var(--warning-color, #fbbf24);
                font-size: 1rem;
            }

            .hp-reviews__card-score {
                font-weight: 600;
                color: var(--text-color);
            }

            .hp-reviews__card-country {
                font-size: 1.2rem;
            }

            .hp-reviews__card-content {
                margin-bottom: 25px;
            }

            .hp-reviews__card-title {
                font-size: 1.2rem;
                font-weight: 700;
                color: var(--text-color);
                margin-bottom: 12px;
            }

            .hp-reviews__card-text {
                color: var(--text-muted);
                line-height: 1.6;
                margin: 0;
            }

            .hp-reviews__read-more {
                background: none;
                border: none;
                color: var(--primary-color);
                font-weight: 600;
                cursor: pointer;
                padding: 0;
                margin-inline-start: 5px;
            }

            .hp-reviews__card-customer {
                display: flex;
                align-items: center;
                gap: 15px;
                margin-bottom: 20px;
                padding-bottom: 20px;
                border-bottom: 1px solid var(--border-color, #e5e7eb);
            }

            /* Baş harf avatarı — mobil kabuktaki .review-avatar ile aynı desen ve aynı tema
               değişkenleri (mobile-ui.js). Görsel indirilmiyor, harf çiziliyor. */
            .hp-reviews__customer-avatar {
                width: 50px;
                height: 50px;
                border-radius: 50%;
                overflow: hidden;
                flex-shrink: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                background: var(--business-primary, #1d4ed8);
                color: var(--on-primary, #ffffff);
                font-weight: 600;
                font-size: 1.05rem;
                line-height: 1;
                user-select: none;
            }

            .hp-reviews__customer-info {
                display: flex;
                flex-direction: column;
                gap: 4px;
            }

            .hp-reviews__customer-name {
                font-weight: 700;
                color: var(--text-color);
                font-size: 1.1rem;
            }

            .hp-reviews__customer-location {
                font-size: 0.9rem;
                color: var(--text-muted);
            }

            .hp-reviews__card-footer {
                display: flex;
                justify-content: space-between;
                align-items: center;
                border-top: 1px solid var(--border-color, #e5e7eb);
                padding-top: 20px;
            }

            .hp-reviews__card-meta {
                display: flex;
                flex-direction: column;
                gap: 5px;
            }

            .hp-reviews__tour-name {
                font-weight: 600;
                color: var(--text-color);
                font-size: 0.9rem;
            }

            .hp-reviews__date {
                color: var(--text-muted);
                font-size: 0.85rem;
            }

            .hp-reviews__helpful-btn {
                background: none;
                border: 1px solid var(--border-color);
                color: var(--text-muted);
                padding: 8px 16px;
                border-radius: 20px;
                cursor: pointer;
                font-size: 0.85rem;
                transition: all 0.2s ease;
            }

            .hp-reviews__helpful-btn:hover:not(:disabled) {
                border-color: var(--primary-color);
                color: var(--primary-color);
            }

            .hp-reviews__helpful-btn:disabled {
                opacity: 0.6;
                cursor: not-allowed;
            }

            .hp-reviews__verified-badge {
                position: absolute;
                top: 15px;
                inset-inline-end: 15px;
                background: var(--success-color, #10b981);
                color: white;
                padding: 4px 8px;
                border-radius: 12px;
                font-size: 0.75rem;
                display: flex;
                align-items: center;
                gap: 4px;
            }

            .hp-reviews__nav {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                width: 100%;
                display: flex;
                justify-content: space-between;
                pointer-events: none;
                z-index: 10;
            }

            .hp-reviews__nav-btn {
                background: var(--card-background, white);
                border: 1px solid var(--border-color);
                width: 50px;
                height: 50px;
                border-radius: 50%;
                color: var(--text-color);
                cursor: pointer;
                pointer-events: all;
                box-shadow: var(--shadow-md);
                transition: all 0.2s ease;
            }

            .hp-reviews__nav-btn:hover:not(:disabled) {
                background: var(--primary-color);
                color: white;
            }

            .hp-reviews__nav-btn:disabled {
                opacity: 0.3;
                cursor: not-allowed;
            }

            /* RTL: önceki/sonraki düğmeleri space-between ile kendiliğinden yer değiştirir; ok ikonu aynalanır */
            [dir="rtl"] .hp-reviews__nav-btn i {
                transform: scaleX(-1);
            }

            .hp-reviews__cta {
                text-align: center;
            }

            .hp-reviews__view-all-btn {
                display: inline-flex;
                align-items: center;
                gap: 10px;
                background: var(--primary-color);
                color: white;
                padding: 15px 30px;
                border-radius: 30px;
                text-decoration: none;
                font-weight: 600;
                transition: all 0.3s ease;
            }

            .hp-reviews__view-all-btn:hover {
                background: var(--secondary-color);
                transform: translateY(-2px);
                box-shadow: var(--shadow-lg);
                text-decoration: none;
                color: white;
            }

            .hp-reviews--empty {
                padding: 60px 0;
            }

            .hp-reviews__empty-state {
                text-align: center;
                max-width: 400px;
                margin: 0 auto;
            }

            .hp-reviews__empty-state i {
                font-size: 4rem;
                margin-bottom: 20px;
                opacity: 0.3;
            }

            .hp-reviews__empty-state h3 {
                font-size: 1.5rem;
                color: var(--text-color);
                margin-bottom: 10px;
            }

            .hp-reviews__empty-state p {
                color: var(--text-muted);
                margin-bottom: 30px;
            }

            .hp-reviews__cta-btn {
                background: var(--primary-color);
                color: white;
                padding: 12px 24px;
                border-radius: 25px;
                text-decoration: none;
                font-weight: 600;
                transition: all 0.3s ease;
            }

            .hp-reviews__cta-btn:hover {
                background: var(--secondary-color);
                text-decoration: none;
                color: white;
            }

            /* RESPONSIVE DESIGN */
            @media (max-width: 1200px) {
                .hp-reviews__card {
                    flex: 0 0 calc(50% - 15px);
                }
            }

            @media (max-width: 768px) {
                .hp-reviews {
                    padding: 60px 0;
                }

                .hp-reviews__title {
                    font-size: 2rem;
                }

                .hp-reviews__card {
                    flex: 0 0 calc(100% - 0px);
                }

                .hp-reviews__stats {
                    gap: 20px;
                }

                .hp-reviews__trust-badges {
                    gap: 15px;
                }

                .hp-reviews__badge {
                    padding: 10px 16px;
                    font-size: 0.8rem;
                }

                .hp-reviews__card-footer {
                    flex-direction: column;
                    gap: 15px;
                    align-items: flex-start;
                }

                .hp-reviews__nav {
                    display: none;
                }
            }

            @media (max-width: 480px) {
                .hp-reviews__rating-display {
                    flex-direction: column;
                    gap: 10px;
                }

                .hp-reviews__trust-badges {
                    flex-direction: column;
                    width: 100%;
                }

                .hp-reviews__badge {
                    justify-content: center;
                }
            }
        