:root{
  --accent: #2b5d2b;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --logo-circle-bg: #ffffff;
  --shadow: 0 10px 30px rgba(11,22,50,0.08);
}

/* Bölüm kapsayıcı (isteğe göre arkaplan rengini kaldırabilirsin) */
.refs-section {
  padding: 48px 16px;
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: transparent; /* sayfanın arka planını etkilemesin */
}

/* İç container genişliği */
.refs-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Başlık (opsiyonel) */
.refs-section h2 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 28px;
  color: var(--accent);
}

/* Grid: 4 kolon */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
}

/* Kart: içerik ortalanmış, arkaplan şeffaf tutup sadece logo dairesini vurguluyoruz */
.ref-card {
  background: transparent;    /* sadece logo dairesi beyaz olacak */
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Hover hafif yükselme (isteğe bağlı) */
.ref-card:hover {
  transform: translateY(-6px);
}

/* Logo dairesi: beyaz arka plan + gölge */
.logo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--logo-circle-bg); /* beyaz */
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

/* İçteki logo resmi: daire içinde ortalı, taşma yok */
.logo-wrap img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  display: block;
  transition: transform .35s ease, filter .35s ease;
  filter: saturate(0.95) contrast(0.98);
}

/* Hover etkisi: logo hafif büyüsün ve canlılaşsın */
.ref-card:hover .logo-wrap img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1);
}

/* Firma adı */
.ref-name {
  margin: 6px 0 0;
  font-size: 15px;
  color: #111827;
  font-weight: 600;
  text-align: center;
}

/* Detay linki (buton görünümü) */
.ref-link {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(43,93,43,0.10);
  font-size: 14px;
  transition: background .18s, color .18s, transform .12s;
}

/* Link hover */
.ref-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive: 3,2,1 kolonlara düşsün */
@media (max-width: 1024px) {
  .refs-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .logo-wrap { width: 110px; height: 110px; }
}

@media (max-width: 768px) {
  .refs-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .logo-wrap { width: 100px; height: 100px; }
}

@media (max-width: 480px) {
  .refs-grid { grid-template-columns: 1fr; gap: 14px; }
  .logo-wrap { width: 120px; height: 120px; } /* mobilde biraz büyük göster */
}
