/* ==========================================================================
   By Kadir — Müşteri Yorumları & Referanslar Sayfası (testimonials.css)
   Lüks gayrimenkul marka standartlarında özel tipografi, kart & slider mimarisi
   ========================================================================== */

.testimonials-page {
    background-color: #f8f8f6;
    color: #101112;
    padding: 72px 0 96px;
}

.testimonials-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── 1. Bölüm Başlıkları ─── */
.testimonials-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
}

.testimonials-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b4010f;
    margin-bottom: 12px;
}

.testimonials-kicker::before,
.testimonials-kicker::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1.5px;
    background: #b4010f;
    opacity: 0.5;
}

.testimonials-section-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    color: #101112;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 14px;
}

.testimonials-section-desc {
    font-size: 15px;
    color: #5d636f;
    line-height: 1.65;
    margin: 0;
}

/* ─── 2. Yorumlar Slider Bölümü ─── */
.testimonials-slider-section {
    position: relative;
    margin-bottom: 72px;
}

.testimonials-slider-container {
    overflow: hidden;
    padding: 16px 6px 28px;
    margin: -16px -6px -28px;
}

.testimonials-slider-track {
    display: flex;
    gap: 28px;
    transition: transform 450ms cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.t-slide-item {
    flex: 0 0 calc((100% - (2 * 28px)) / 3);
    min-width: 0;
    display: flex;
    box-sizing: border-box;
}

/* Slider Controls (Alt Navigasyon & Noktalar) */
.testimonials-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.t-slider-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e4e8;
    color: #101112;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 17, 18, 0.06);
    transition: all 220ms ease;
}

.t-slider-nav-btn:hover:not(:disabled) {
    background: #b4010f;
    border-color: #b4010f;
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(180, 1, 15, 0.28);
}

.t-slider-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.t-slider-dots-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.t-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #d8dadf;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.t-slider-dot:hover {
    background: #b4010f;
    opacity: 0.6;
}

.t-slider-dot.is-active {
    width: 28px;
    background: #b4010f;
    opacity: 1;
}

/* ─── 3. Kart Tasarımı (Orijinal Premium Kart Stili Korundu) ─── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.t-card-item {
    position: relative;
    background: #ffffff;
    border: 1px solid #e8e9eb;
    border-radius: 20px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(16, 17, 18, 0.04);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 260ms ease,
        border-color 260ms ease;
}

.t-card-item:hover {
    transform: translateY(-6px);
    border-color: rgba(180, 1, 15, 0.3);
    box-shadow: 0 20px 44px rgba(16, 17, 18, 0.09);
}

.t-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.t-stars-wrap {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #e5a91b;
    font-size: 14px;
}

.t-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(180, 1, 15, 0.07);
    color: #b4010f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.t-quote-icon {
    position: absolute;
    top: 28px;
    right: 28px;
    font-size: 38px;
    color: rgba(16, 17, 18, 0.04);
    line-height: 1;
    pointer-events: none;
    transition: color 260ms ease;
}

.t-card-item:hover .t-quote-icon {
    color: rgba(180, 1, 15, 0.08);
}

.t-comment-text {
    font-size: 14.5px;
    line-height: 1.7;
    color: #383c45;
    margin-bottom: 28px;
    font-style: normal;
    flex-grow: 1;
}

.t-author-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #f2f2f4;
}

.t-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.t-author-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d2127, #0b0d0f);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.t-author-info {
    display: flex;
    flex-direction: column;
}

.t-author-name {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 15.5px;
    font-weight: 700;
    color: #101112;
    margin: 0;
    line-height: 1.3;
}

.t-author-title {
    font-size: 12.5px;
    color: #767c88;
    margin-top: 2px;
}

/* ─── 5. Değerlendirme & Yorum Bırakın CTA Kartı ─── */
.testimonials-cta-card {
    position: relative;
    background: linear-gradient(135deg, #0b0d0f 0%, #171b22 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 24px;
    padding: 48px 44px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.testimonials-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(180, 1, 15, 0.22), transparent 70%);
    pointer-events: none;
}

.t-cta-content {
    max-width: 620px;
    position: relative;
    z-index: 2;
}

.t-cta-kicker {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 10px;
}

.t-cta-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.t-cta-desc {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.6;
    margin: 0;
}

.t-cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.t-cta-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 12px;
    background: #25d366;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: all 220ms ease;
}

.t-cta-btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.t-cta-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 220ms ease;
}

.t-cta-btn-contact:hover {
    background: #b4010f;
    border-color: #b4010f;
    transform: translateY(-2px);
}

/* ─── 6. Boş Durum (Empty State) ─── */
.t-empty-state {
    text-align: center;
    padding: 72px 24px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px dashed #dedee2;
}

.t-empty-state i {
    font-size: 48px;
    color: #a0a4ad;
    margin-bottom: 16px;
}

.t-empty-state p {
    font-size: 16px;
    color: #6b707b;
    margin: 0;
}

/* ─── Responsive Uyumluluk ─── */
@media (max-width: 1199.98px) {
    .testimonials-slider-track {
        gap: 22px;
    }

    .t-slide-item {
        flex: 0 0 calc((100% - 22px) / 2);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .testimonials-page {
        padding: 56px 0 80px;
    }

    .testimonials-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 28px;
    }
}

@media (max-width: 767.98px) {
    .testimonials-page {
        padding: 44px 0 64px;
    }

    .testimonials-slider-track {
        gap: 16px;
    }

    .t-slide-item {
        flex: 0 0 100%;
    }

    .t-card-item {
        padding: 26px 22px;
    }

    .testimonials-slider-controls {
        margin-top: 26px;
        gap: 12px;
    }

    .t-slider-nav-btn {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}