/* ==========================================================================
   DM Belgelendirme - Site geneli
   ========================================================================== */

:root {
	--dm-accent: #d83030;
	--dm-accent-dark: #b52424;
	--dm-brand-red: #bf143c;
	--dm-navy: #032e42;
	--dm-navy-2: #0a4a66;
	--dm-navy-deep: #021f2e;
	--dm-text: #4a5561;
	--dm-muted: #6f7b87;
	--dm-line: #e5eaef;
	--dm-soft: #f4f7f9;
	--dm-radius: 14px;
	--dm-sticky-top: 24px;
	--dm-hero-bg:
		radial-gradient(ellipse 60% 120% at 100% 0%, rgba(216, 48, 48, .26) 0%, transparent 60%),
		radial-gradient(ellipse 50% 90% at 0% 100%, rgba(14, 116, 160, .32) 0%, transparent 60%),
		linear-gradient(135deg, #021f2e 0%, #032e42 55%, #073a52 100%);
}

/* Sabit menü açılırken tarayıcının "scroll anchoring" düzeltmesi sayfayı 107px atlatıyordu */
html,
body {
	overflow-anchor: none;
}

::selection {
	background: var(--dm-accent);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Sayfa başlık alanı (temanın demo fotoğraflı 500px'lik alanı yerine)
   -------------------------------------------------------------------------- */

#swm-sub-header.swm-sub-header {
	position: relative;
	height: auto;
	min-height: 0;
	padding: 72px 0 76px;
	background: var(--dm-hero-bg);
	background-color: var(--dm-navy);
	overflow: hidden;
	isolation: isolate;
}
#swm-sub-header.swm-sub-header:before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
}
#swm-sub-header.swm-sub-header:after {
	content: "";
	position: absolute;
	top: 50%;
	right: max(24px, calc((100vw - 1320px) / 2));
	z-index: -1;
	width: 170px;
	height: 229px;
	background: url("../images/dm-logo-icon-white.svg") no-repeat center / contain;
	opacity: .08;
	transform: translateY(-50%) rotate(-8deg);
	pointer-events: none;
}

#swm-sub-header.swm-sub-header .swm-container {
	max-width: 1320px;
}

#swm-sub-header.swm-sub-header .swm-sub-header-title-bc {
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
	gap: 18px;
	text-align: left;
}

#swm-sub-header.swm-sub-header .swm-sub-header-title,
#swm-sub-header.swm-sub-header h1.swm-sub-header-title {
	display: block;
	color: #fff;
	font-size: clamp(32px, 4.4vw, 52px);
	line-height: 1.12;
	letter-spacing: -.015em;
	text-align: left;
}

#swm-sub-header.swm-sub-header .swm-sub-header-breadcrumbs {
	display: block;
	text-align: left;
}

#swm-sub-header.swm-sub-header .swm-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 0;
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
}
#swm-sub-header.swm-sub-header .swm-breadcrumbs a {
	color: rgba(255, 255, 255, .72);
	text-decoration: none;
	transition: color .2s;
}
#swm-sub-header.swm-sub-header .swm-breadcrumbs a:hover { color: #fff; }
#swm-sub-header.swm-sub-header .swm-breadcrumbs .swm-bc-trail-end { color: #fff; font-weight: 500; }
#swm-sub-header.swm-sub-header .swm-breadcrumbs .swm-bc-sep {
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 12px 0 10px;
	border-top: 1.5px solid rgba(255, 255, 255, .45);
	border-right: 1.5px solid rgba(255, 255, 255, .45);
	background: none;
	transform: rotate(45deg);
}
#swm-sub-header.swm-sub-header .swm-breadcrumbs .swm-bc-sep:before,
#swm-sub-header.swm-sub-header .swm-breadcrumbs .swm-bc-sep:after { display: none; }
#swm-sub-header.swm-sub-header .swm-breadcrumbs .clear { display: none; }

@media (max-width: 767px) {
	#swm-sub-header.swm-sub-header { padding: 44px 0 48px; }
	#swm-sub-header.swm-sub-header:after { width: 110px; height: 148px; right: -20px; }
	#swm-sub-header.swm-sub-header .swm-sub-header-title-bc { gap: 12px; }
	#swm-sub-header.swm-sub-header .swm-breadcrumbs { font-size: 13px; }
}

/* --------------------------------------------------------------------------
   Küçük genel iyileştirmeler
   -------------------------------------------------------------------------- */

a.swm-go-top-scroll-btn {
	border-radius: 12px;
	background: var(--dm-navy);
	box-shadow: 0 10px 24px -10px rgba(3, 46, 66, .6);
	transition: background-color .2s, transform .2s;
}
a.swm-go-top-scroll-btn:hover {
	background: var(--dm-accent);
	transform: translateY(-2px);
}

:focus-visible {
	outline: 2px solid var(--dm-accent);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	a.swm-go-top-scroll-btn { transition: none; }
	a.swm-go-top-scroll-btn:hover { transform: none; }
}
