/* ─── Hera İşitme – Google Reviews Slider ─────────────────────────────── */

.hera-reviews-section {
    position: relative;
    overflow: hidden;
}

/* Google badge */
.hera-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 100px;
    padding: 6px 16px 6px 10px;
    font-size: 13px;
    font-weight: 500;
    color: #5f6368;
    margin: 0 auto 40px;
    width: fit-content;
    display: flex;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
}

/* ─── Slider outer ─────────────────────────────────────────────────────── */
.hera-slider-outer {
    position: relative;
    overflow: hidden;
    padding: 0 0 56px;   /* boşluk dots için */
}

/* ─── Track: 3 kart yan yana ──────────────────────────────────────────── */
.hera-slider-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

/* Mobil: 1 kart */
@media (max-width: 767px) {
    .hera-slider-track {
        grid-template-columns: 1fr;
    }
}

/* Tablet: 2 kart */
@media (min-width: 768px) and (max-width: 1023px) {
    .hera-slider-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Kart ─────────────────────────────────────────────────────────────── */
.testi-card.hera-slide {
    display: none;               /* JS aktif edene kadar gizle */
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.testi-card.hera-slide.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* ─── Avatar: fotoğraflı veya harfli ──────────────────────────────────── */
.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ─── Dots ─────────────────────────────────────────────────────────────── */
.hera-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
}

.hera-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.hera-dot.active {
    background: var(--color-primary, #1E90FF);
    transform: scale(1.35);
}

/* ─── Ok butonları ─────────────────────────────────────────────────────── */
.hera-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    transition: background 0.2s, box-shadow 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.hera-arrow:hover {
    background: var(--color-primary, #1E90FF);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.hera-arrow--prev { left: -20px; }
.hera-arrow--next { right: -20px; }

@media (max-width: 767px) {
    .hera-arrow { display: none; }
}

/* ─── Animasyon geçişi ─────────────────────────────────────────────────── */
.hera-slider-outer.sliding .testi-card.hera-slide.active {
    opacity: 0;
    transform: translateY(-12px);
}
