/* ============================================
   STYLE-MINIMAL.CSS
   Testimony section + supporting styles
   ============================================ */

/* ============================================
   TESTIMONY SECTION — GOOGLE REVIEW SLIDER
   ============================================ */
.testimony {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

/* Top row — heading + google badge */
.testimony-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.testimony-top-left {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.testimony-eyebrow {
    font-size: 0.82rem;
    font-weight: 600;
    color: #65BDED;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.testimony-heading {
    margin-bottom: 0 !important;
    text-align: left !important;
    font-size: 2.2rem;
}

/* Google badge button */
.testimony-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 16px;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.testimony-google-badge:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

/* FIX: Google icon — MESTI ada width & height */
.testimony-google-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.testimony-google-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.testimony-google-score {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1F2937;
    line-height: 1;
}

.testimony-google-stars {
    color: #FBBF24;
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 1;
}

.testimony-google-label {
    font-size: 0.72rem;
    color: #6B7280;
    font-weight: 500;
}

/* ============================================
   TESTIMONY SLIDER TRACK
   ============================================ */
.testimony-slider-outer {
    overflow: hidden;
    width: 100%;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    /* Fade edges kiri & kanan */
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
}

.testimony-slider-outer:active {
    cursor: grabbing;
}

.testimony-slider-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

/* ============================================
   TESTIMONY CARD
   ============================================ */
.testimony-card {
    width: 300px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 1.2rem 1.3rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.testimony-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.10);
    transform: translateY(-4px);
    border-color: #65BDED;
}

/* Card header — avatar + name */
.testimony-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimony-reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.testimony-reviewer-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1F2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimony-reviewer-meta {
    font-size: 0.72rem;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    gap: 4px;
}

.testimony-reviewer-meta i {
    color: #4285F4;
    font-size: 10px;
}

/* Card body — review text */
.testimony-card-body {
    flex: 1;
}

.testimony-text {
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* "...more" link */
.testimony-read-more {
    color: #65BDED;
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    display: inline;
}

.testimony-read-more:hover {
    text-decoration: underline;
}

/* Card footer — date + stars */
.testimony-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.6rem;
    border-top: 1px solid #F3F4F6;
}

.testimony-review-date {
    font-size: 0.75rem;
    color: #9CA3AF;
    font-weight: 500;
}

.testimony-stars {
    color: #FBBF24;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Avatar initials */
.testimony-avatar-init {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    font-family: 'Outfit', sans-serif;
}

.av1 { background: #E6F1FB; color: #185FA5; }
.av2 { background: #E1F5EE; color: #0F6E56; }
.av3 { background: #FAEEDA; color: #854F0B; }
.av4 { background: #EEEDFE; color: #534AB7; }
.av5 { background: #FAECE7; color: #993C1D; }
.av6 { background: #FBEAF0; color: #993556; }
.av7 { background: #EAF3DE; color: #3B6D11; }

/* Hide broken photo elements */
.testimony-photo-wrap,
.testimony-review-photo {
    display: none !important;
}

/* ============================================
   RESPONSIVE — TESTIMONY
   ============================================ */
@media (max-width: 968px) {
    .testimony-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimony-heading {
        font-size: 1.8rem;
    }

    .testimony-card {
        width: 270px;
    }
}

@media (max-width: 480px) {
    .testimony {
        padding: 60px 0;
    }

    .testimony-heading {
        font-size: 1.5rem;
    }

    .testimony-card {
        width: 250px;
        padding: 1rem;
    }

    .testimony-text {
        font-size: 0.83rem;
    }

    .testimony-google-icon {
        width: 24px;
        height: 24px;
    }
}