/* ==========================================================
   DGO Referanslar Widget
   ========================================================== */

.dgo-refs {
	background: #fff;
	width: 100%;
	overflow: hidden;
}

/* ---------- Başlık ---------- */
.dgo-refs__head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 44px;
	padding: 0 24px;
}

.dgo-refs__eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #8a8a86;
	margin-bottom: 14px;
}

.dgo-refs__heading {
	margin: 0;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--dgo-primary, #111);
}

/* ---------- Logo ortak ---------- */
.dgo-refs__logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
	text-decoration: none;
	transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.dgo-refs__logo img {
	height: 40px;
	width: auto;
	object-fit: contain;
}

/* Gri tonlama modu */
.dgo-refs--gray .dgo-refs__logo {
	filter: grayscale(1);
	opacity: 0.55;
}

.dgo-refs--gray .dgo-refs__logo:hover {
	filter: grayscale(0);
	opacity: 1;
	transform: translateY(-2px);
}

/* ---------- Kayan mod (marquee) ---------- */
.dgo-refs__viewport {
	display: flex;
	width: max-content;
	/* Kenarlarda yumuşak fade */
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.dgo-refs--marquee {
	position: relative;
}

.dgo-refs--marquee .dgo-refs__viewport {
	max-width: 100%;
	margin: 0 auto;
	overflow: visible;
}

.dgo-refs__track {
	display: flex;
	align-items: center;
	column-gap: 72px;
	padding-right: 72px;
	animation: dgo-marquee 35s linear infinite;
	will-change: transform;
}

@keyframes dgo-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-100%); }
}

/* Üzerine gelince durur */
.dgo-refs--marquee:hover .dgo-refs__track {
	animation-play-state: paused;
}

/* ---------- Sabit sıra modu ---------- */
.dgo-refs__grid-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 72px;
	max-width: 1360px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
	.dgo-refs__head {
		margin-bottom: 32px;
	}

	.dgo-refs__heading {
		font-size: 24px;
	}

	.dgo-refs__logo img {
		height: 32px;
	}

	.dgo-refs__grid-row {
		gap: 32px 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dgo-refs__track {
		animation: none;
	}

	.dgo-refs__viewport {
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		-webkit-mask-image: none;
		mask-image: none;
	}
}
