/* =============================================
   MEG Teması – REFERENCES
   Yüklendiği Yer : ANASAYFA
   İçerik         : Referanslar bölümü
   ============================================= */

.meg-references {
    padding: 100px 0;
    background: var(--off);
    overflow: hidden;
}

/* ── LOGO KARUSEL ──────────────────────────────────────── */
.meg-ref-logos-wrap {
    overflow: hidden;
    margin-bottom: 64px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.meg-ref-logos-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: meg-scroll 32s linear infinite;
}
.meg-ref-logos-wrap:hover .meg-ref-logos-track { animation-play-state: paused; }

@keyframes meg-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.meg-ref-logo-item {
    flex-shrink: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 32px;
    min-width: 160px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.meg-ref-logo-item:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}
.meg-ref-logo-item img {
    max-height: 44px;
    width: auto;
    filter: grayscale(1);
    opacity: .55;
    transition: all var(--transition);
}
.meg-ref-logo-item:hover img { filter: none; opacity: 1; }
.meg-ref-logo-item__text {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
    letter-spacing: .3px;
}

/* ── AYIRİCİ ──────────────────────────────────────────── */
.meg-ref-divider {
    text-align: center;
    margin-bottom: 52px;
    position: relative;
}
.meg-ref-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 1px;
    background: var(--border);
}
.meg-ref-divider span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--off);
    padding: 0 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy);
}
.meg-ref-divider span i { color: var(--gold); font-size: 14px; }

/* ── YORUM KARTLARI ───────────────────────────────────── */
.meg-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.meg-testimonial {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px 28px;
    position: relative;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.meg-testimonial:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.meg-testimonial:first-child {
    border-top: 3px solid var(--gold);
}

.meg-testimonial__quote {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 28px;
    color: var(--gold-pale);
    line-height: 1;
}

.meg-testimonial__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}
.meg-testimonial__stars i {
    color: var(--gold);
    font-size: 13px;
}

.meg-testimonial__text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    font-style: italic;
    flex: 1;
    margin-bottom: 24px;
}

.meg-testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.meg-testimonial__avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
}
.meg-testimonial__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meg-testimonial__author-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2px;
}
.meg-testimonial__author-info span {
    font-size: 12px;
    color: var(--muted);
}

.meg-references__note {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.meg-references__note i { color: var(--gold); }

/* ── RESPONSIVE ───────────────────────────────────────── */