/* musteri-yorumlari.css — Anasayfa "Müşterilerimiz ne diyor?" bölümü */

.yorumlar { 
    padding: 80px 0px;
}

/* Başlık satırı */
.yorumlar__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.yorumlar__title {
    font-size: 28px;
    font-weight: 800;
    color: #0b1e3a;
    margin: 0 0 8px;
}

.yorumlar__sub {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
    flex-wrap: wrap;
}

.yorumlar__stars {
    display: inline-flex;
    gap: 2px;
}

    .yorumlar__stars .star {
        width: 16px;
        height: 16px;
        fill: #f59e0b;
    }

/* Google rozeti */
.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
    text-decoration: none;
}

    .google-badge:hover {
        border-color: #dfe3e8;
    }

.google-badge__logo {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
}

.google-badge__meta {
    line-height: 1.2;
}

.google-badge__lbl {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.google-badge__score {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 1px;
}

    .google-badge__score b {
        font-size: 18px;
        font-weight: 800;
        color: #f59e0b;
    }

    .google-badge__score .star {
        width: 15px;
        height: 15px;
        fill: #f59e0b;
    }

.google-badge__link {
    font-size: 12px;
    color: #94a3b8;
}

/* Sol görsel (1) + sağ kayan yorumlar (2) düzeni */
.yorumlar__layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 22px;
    align-items: stretch;
}

.yorumlar__media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
    background: #0b1e3a;
}

    .yorumlar__media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Kartlar (kaydırılabilir) */
.yorumlar__track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: auto; /* otomatik kaydırma JS ile kare-kare; smooth olmamalı */
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 8px;
    scrollbar-width: none;
    min-width: 0; /* grid kolonu içinde taşabilsin */
}

    .yorumlar__track::-webkit-scrollbar {
        display: none;
    }

.yorum-card {
    flex: 0 0 300px;
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 16px;
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 220px;
}

.yorum-card__stars {
    display: inline-flex;
    gap: 2px;
    margin-bottom: 14px;
}

    .yorum-card__stars .star {
        width: 16px;
        height: 16px;
        fill: #ef3e33;
    }

.yorum-card__quote {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    color: #f1d3d1;
    font-family: Georgia, "Times New Roman", serif;
}

.yorum-card__text {
    font-size: 15px;
    line-height: 1.55;
    color: #334155;
    margin: 0 0 20px;
    flex: 1;
}

.yorum-card__foot {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yorum-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #898d8f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.yorum-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #0b1e3a;
}

.yorum-card__meta {
    font-size: 13px;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 991.98px) {
    /* Görsel üstte, yorumlar altta tam genişlik */
    .yorumlar__layout {
        grid-template-columns: 1fr;
    }

    .yorumlar__media {
        min-height: 240px;
    }
}

@media (max-width: 640px) {
    .yorum-card {
        flex: 0 0 82%;
    }

    .yorumlar__title {
        font-size: 23px;
    }
}
