/* ═══════════════════════════════════════════════════════
   OTOGALERIO CORE — BRANDS MARQUEE WIDGET
   ═══════════════════════════════════════════════════════ */

.ogc-brands {
	--b-primary:   #1a3f92;
	--b-accent:    #e10c14;
	--b-text:      #1e293b;
	--b-muted:     #64748b;
	--b-bg:        #ffffff;
	--b-bg-alt:    #f8fafc;
	--b-border:    #e2e8f0;
	--b-radius:    14px;
	--b-speed:     35s;
	--b-logo-h:    60px;
	--b-gap:       70px;

	position: relative;
	padding: 60px 0;
	background: var(--b-bg);
	color: var(--b-text);
	font-family: inherit;
	overflow: hidden;
}

.ogc-brands__container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ─── Header ─── */
.ogc-brands__header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 40px;
}
.ogc-brands__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 700;
	color: var(--b-accent);
	text-transform: uppercase;
	letter-spacing: 0.13em;
}
.ogc-brands__eyebrow::before,
.ogc-brands__eyebrow::after {
	content: '';
	display: inline-block;
	width: 24px;
	height: 2px;
	background: var(--b-accent);
	border-radius: 1px;
}
.ogc-brands__title {
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--b-primary);
	margin: 0 0 8px;
}
.ogc-brands__title em {
	font-style: normal;
	color: var(--b-accent);
}
.ogc-brands__subtitle {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--b-muted);
	margin: 0;
}

/* ─── Marquee Wrapper ─── */
.ogc-brands__marquee {
	position: relative;
	overflow: hidden;
	width: 100%;
}

/* Variant: Card style (with border + bg) */
.ogc-brands--card .ogc-brands__marquee {
	background: var(--b-bg-alt);
	border: 1px solid var(--b-border);
	border-radius: var(--b-radius);
	padding: 18px 0;
}

/* Fade edges (sol/sağ gradient mask) */
.ogc-brands__marquee::before,
.ogc-brands__marquee::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 120px;
	z-index: 5;
	pointer-events: none;
}
.ogc-brands__marquee::before {
	left: 0;
	background: linear-gradient(90deg, var(--b-bg) 0%, transparent 100%);
}
.ogc-brands__marquee::after {
	right: 0;
	background: linear-gradient(270deg, var(--b-bg) 0%, transparent 100%);
}
.ogc-brands--card .ogc-brands__marquee::before {
	background: linear-gradient(90deg, var(--b-bg-alt) 0%, transparent 100%);
}
.ogc-brands--card .ogc-brands__marquee::after {
	background: linear-gradient(270deg, var(--b-bg-alt) 0%, transparent 100%);
}

/* Track (akan iç şerit) */
.ogc-brands__track {
	display: flex;
	width: max-content;
	animation: ogc-brands-scroll var(--b-speed) linear infinite;
	will-change: transform;
}
.ogc-brands--reverse .ogc-brands__track {
	animation-direction: reverse;
}
.ogc-brands__marquee:hover .ogc-brands__track {
	animation-play-state: paused;
}

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

/* Logo set */
.ogc-brands__set {
	display: flex;
	align-items: center;
	gap: var(--b-gap);
	padding: 0 calc(var(--b-gap) / 2);
	flex-shrink: 0;
}

/* ─── Logo item ─── */
.ogc-brands__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: var(--b-logo-h);
	min-width: 80px;
	max-width: 160px;
	flex-shrink: 0;
	transition: transform .35s cubic-bezier(.22,.61,.36,1), filter .35s, opacity .35s;
	text-decoration: none;
}
.ogc-brands__logo img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	transition: filter .35s;
}

/* Default: grayscale + low opacity, hover: full color */
.ogc-brands--grayscale .ogc-brands__logo img {
	filter: grayscale(100%) opacity(0.55);
}
.ogc-brands--grayscale .ogc-brands__logo:hover img {
	filter: grayscale(0) opacity(1);
}
.ogc-brands--grayscale .ogc-brands__logo:hover {
	transform: scale(1.08);
}

/* Color mode (always full color) */
.ogc-brands--color .ogc-brands__logo:hover {
	transform: scale(1.10);
}

/* Mono (single color, all logos same) */
.ogc-brands--mono .ogc-brands__logo img {
	filter: brightness(0) invert(0);
	opacity: 0.55;
}
.ogc-brands--mono.ogc-brands--mono-light .ogc-brands__logo img {
	filter: brightness(0) invert(1);
	opacity: 0.75;
}
.ogc-brands--mono .ogc-brands__logo:hover img {
	opacity: 1;
}

/* Card-style each logo (white box with border) */
.ogc-brands--cards .ogc-brands__logo {
	background: #fff;
	border: 1px solid var(--b-border);
	border-radius: 12px;
	padding: 18px 24px;
	min-width: 140px;
	height: calc(var(--b-logo-h) + 36px);
	box-shadow: 0 2px 8px rgba(15,23,41,.04);
	transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s, border-color .35s;
}
.ogc-brands--cards .ogc-brands__logo:hover {
	transform: translateY(-4px);
	border-color: var(--b-accent);
	box-shadow: 0 12px 24px rgba(15,23,41,.10);
}

/* ─── Counter strip (üstte mini istatistik) ─── */
.ogc-brands__counter {
	text-align: center;
	margin-top: 24px;
	font-size: 13px;
	color: var(--b-muted);
	font-weight: 500;
}
.ogc-brands__counter strong {
	color: var(--b-accent);
	font-weight: 800;
	font-size: 16px;
}

/* ═══════════ DARK MODE ═══════════ */
.ogc-brands--dark {
	background: var(--b-primary);
	color: #fff;
}
.ogc-brands--dark .ogc-brands__title { color: #fff; }
.ogc-brands--dark .ogc-brands__subtitle { color: rgba(255,255,255,.72); }
.ogc-brands--dark .ogc-brands__marquee::before { background: linear-gradient(90deg, var(--b-primary) 0%, transparent 100%); }
.ogc-brands--dark .ogc-brands__marquee::after { background: linear-gradient(270deg, var(--b-primary) 0%, transparent 100%); }
.ogc-brands--dark.ogc-brands--card .ogc-brands__marquee {
	background: rgba(255,255,255,.04);
	border-color: rgba(255,255,255,.10);
}
.ogc-brands--dark.ogc-brands--card .ogc-brands__marquee::before { background: linear-gradient(90deg, var(--b-primary) 0%, transparent 100%); }
.ogc-brands--dark.ogc-brands--card .ogc-brands__marquee::after { background: linear-gradient(270deg, var(--b-primary) 0%, transparent 100%); }
.ogc-brands--dark .ogc-brands__counter { color: rgba(255,255,255,.65); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 880px) {
	.ogc-brands { padding: 50px 0; --b-logo-h: 48px; --b-gap: 50px; }
	.ogc-brands__header { margin-bottom: 30px; }
	.ogc-brands__marquee::before,
	.ogc-brands__marquee::after { width: 60px; }
	.ogc-brands--cards .ogc-brands__logo { min-width: 110px; padding: 14px 18px; }
}

@media (max-width: 600px) {
	.ogc-brands { padding: 40px 0; --b-logo-h: 40px; --b-gap: 36px; }
	.ogc-brands__container { padding: 0 16px; }
	.ogc-brands__title { font-size: 22px; }
	.ogc-brands__subtitle { font-size: 13.5px; }
	.ogc-brands__marquee::before,
	.ogc-brands__marquee::after { width: 40px; }
	.ogc-brands--cards .ogc-brands__logo { min-width: 100px; padding: 12px 16px; height: 60px; }
	.ogc-brands__counter { font-size: 12px; }
	.ogc-brands__counter strong { font-size: 14px; }
}
