/* ====================================================
   MÜŞTERİ REFERANSLARI BÖLÜMÜ
   /public_html/assets/references.css
   ==================================================== */

.references-section {
  background: linear-gradient(180deg, rgba(255, 214, 10, 0.02) 0%, transparent 100%);
  border-top: 1px solid var(--line);
  position: relative;
}

/* ============ SAYI KARTLARI ============ */
.refs-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.refs-stat-card {
  background: linear-gradient(135deg, rgba(255, 214, 10, 0.06) 0%, var(--surface) 100%);
  border: 1px solid rgba(255, 214, 10, 0.2);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.refs-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--yellow) 50%, transparent 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.refs-stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
  background: linear-gradient(135deg, rgba(255, 214, 10, 0.1) 0%, var(--surface-light) 100%);
  box-shadow: 0 12px 32px rgba(255, 214, 10, 0.15);
}

.refs-stat-card:hover::before {
  transform: scaleX(1);
}

.refs-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.refs-stat-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============ BÖLÜM ETIKETI ============ */
.refs-section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 6px 16px;
  background: rgba(255, 214, 10, 0.08);
  border: 1px solid rgba(255, 214, 10, 0.2);
  border-radius: 100px;
}

.refs-section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}

/* ============ TESTIMONIALS ============ */
.refs-testimonials-wrap {
  margin-bottom: 56px;
  text-align: center;
}

.refs-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.refs-testimonial {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(255, 214, 10, 0.02) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.refs-testimonial:hover {
  border-color: rgba(255, 214, 10, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.refs-testimonial-quote-deco {
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: 'Sora', Georgia, serif;
  font-size: 72px;
  line-height: 0.6;
  color: rgba(255, 214, 10, 0.15);
  font-weight: 800;
  pointer-events: none;
}

.refs-testimonial-stars {
  color: var(--yellow);
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.refs-testimonial-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.refs-testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.refs-testimonial-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--yellow) 0%, #F5BB00 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 214, 10, 0.25);
}

.refs-testimonial-info {
  flex: 1;
  min-width: 0;
}

.refs-testimonial-name {
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.refs-testimonial-meta {
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.4;
}

/* ============ LOGOLAR (Akan Şerit) ============ */
.refs-logos-wrap {
  text-align: center;
}

.refs-logos-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.refs-logos-track {
  display: flex;
  width: max-content;
  animation: refs-logo-scroll 40s linear infinite;
}

.refs-logos-track:hover {
  animation-play-state: paused;
}

@keyframes refs-logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.refs-logo-card {
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  padding: 16px 28px;
  margin: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 80px;
  transition: all 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: default;
}

.refs-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 214, 10, 0.3);
  background: linear-gradient(135deg, #fff 0%, #FFF8DC 100%);
}

.refs-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.refs-logo-text {
  color: var(--bg);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ============ MOBİL ============ */
@media (max-width: 1024px) {
  .refs-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .refs-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .refs-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .refs-stat-card {
    padding: 22px 14px;
  }
  
  .refs-stat-num {
    font-size: 1.6rem;
  }
  
  .refs-stat-label {
    font-size: 0.7rem;
  }
  
  .refs-testimonial {
    padding: 22px 18px;
  }
  
  .refs-logo-card {
    min-width: 140px;
    height: 60px;
    padding: 12px 20px;
    margin: 0 6px;
  }
  
  .refs-logo-text {
    font-size: 12px;
  }
}
