/* SMS Reklam header — yüzen logo kutusu + modern menü */
:root {
	--sms-brand: #009ed6;
	--sms-text: #1f242c;
	--sms-border: rgba(31, 36, 44, 0.08);
	--sms-header-h: 100px;
	--sms-header-h-sticky: calc(100px / 1.2);
	--sms-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--sms-site-max: 1480px;
	--sms-site-gutter: 15px;
}

.sms-skip-link {
	position: absolute;
	top: -100%;
	left: 16px;
	z-index: 99999;
	padding: 12px 20px;
	background: var(--sms-brand);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	border-radius: 0 0 8px 8px;
	text-decoration: none;
	transition: top 0.2s var(--sms-ease);
}

.sms-skip-link:focus {
	top: 0;
	outline: none;
}

#header.header-style1 {
	background: #fff;
	border-bottom: 1px solid var(--sms-border);
	position: relative;
	z-index: 100;
	overflow: visible;
}

#header.header-style1 .inner-header {
	overflow: visible;
}

#header.header-style1 .inner-header > .container {
	max-width: var(--sms-site-max);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--sms-site-gutter);
	padding-right: var(--sms-site-gutter);
	box-sizing: border-box;
}

/* Bootstrap satır boşluklarını sıfırla — üst bar ile aynı hiza */
.themesflat-top.sms-topbar-minimal .container > .row,
#header.header-style1 .inner-header > .container > .row {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.themesflat-top.sms-topbar-minimal .container > .row > .col-md-12,
#header.header-style1 .inner-header > .container > .row > .col-md-12 {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

#header.header-style1 .header-wrap {
	justify-content: flex-start;
	gap: 12px;
	width: 100%;
}

#header.header-style1 .header-wrap .header-ct-left {
	flex: 0 0 auto;
	z-index: 12;
}

#header.header-style1 .header-wrap .header-ct-center {
	flex: 1 1 auto;
	min-width: 0;
	justify-content: flex-end;
}

#header.header-style1 .header-wrap .header-ct-right {
	flex: 0 0 auto;
	flex-grow: 0 !important;
}

/* Yüzen logo kutusu — orijinal tema yapısı */
@media (min-width: 1151px) {
	#header.header-style1 .logo {
		min-width: 240px !important;
		min-height: 140px !important;
		background: #fff !important;
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		margin-top: -48px !important;
		padding: 14px 18px !important;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
		position: relative;
		z-index: 20;
	}

	#header.header-style1 #logo a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		padding: 0;
	}

	#header.header-style1 #logo a img.site-logo-default {
		display: block !important;
		width: auto !important;
		height: auto !important;
		max-width: 200px !important;
		max-height: 110px !important;
		object-fit: contain;
		opacity: 1 !important;
		visibility: visible !important;
	}
}

#header.header-style1 #mainnav > ul > li > a,
#header.header-style1 .btn-menu {
	line-height: var(--sms-header-h) !important;
}

#header.header-style1 .nav-wrap {
	width: 100%;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-right: 0 !important;
}

#header.header-style1 #mainnav {
	width: 100%;
}

#header.header-style1 #mainnav > ul {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	gap: clamp(8px, 0.9vw, 14px);
}

#header.header-style1 #mainnav > ul > li {
	float: none;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#header.header-style1 #mainnav > ul > li > a {
	position: relative;
	display: inline-block;
	font-family: Rubik, sans-serif;
	font-size: 18px;
	font-weight: 500;
	font-style: normal;
	letter-spacing: 0;
	line-height: inherit;
	color: #1f242c;
	text-transform: uppercase;
	white-space: nowrap;
	padding: 0;
	min-height: 0;
}

#header.header-style1 #mainnav > ul > li > a:after {
	bottom: 35%;
	height: 1px;
	border-radius: 0;
	background: #009ed6;
}

#header.header-style1 #mainnav > ul > li > a:hover,
#header.header-style1 #mainnav > ul > li.current-menu-item > a,
#header.header-style1 #mainnav > ul > li.current-menu-ancestor > a,
#header.header-style1 #mainnav > ul > li.current-menu-parent > a {
	color: #009ed6;
}

#header.header-style1 #mainnav > ul > li.current-menu-item > a:after,
#header.header-style1 #mainnav > ul > li.current-menu-ancestor > a:after,
#header.header-style1 #mainnav > ul > li.current-menu-parent > a:after {
	width: 100%;
	opacity: 1;
	visibility: visible;
}

/* İletişim — mavi CTA buton + ok */
#header.header-style1 #mainnav > ul > li.menu-item-3511 {
	align-self: center;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#header.header-style1 #mainnav > ul > li.menu-item-3511 > a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 22px !important;
	line-height: 1.2 !important;
	background: var(--sms-brand);
	color: #fff !important;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0, 158, 214, 0.28);
	transition:
		background 0.25s var(--sms-ease),
		box-shadow 0.25s var(--sms-ease),
		transform 0.25s var(--sms-ease);
}

#header.header-style1 #mainnav > ul > li.menu-item-3511 > a:after {
	content: "";
	position: static;
	display: inline-block;
	width: 8px;
	height: 8px;
	margin: 0;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	background: none !important;
	transform: rotate(-45deg);
	opacity: 1 !important;
	visibility: visible !important;
	transition: transform 0.25s var(--sms-ease);
}

#header.header-style1 #mainnav > ul > li.menu-item-3511 > a:hover,
#header.header-style1 #mainnav > ul > li.menu-item-3511.current-menu-item > a {
	color: #fff !important;
	background: #0084b4;
	box-shadow: 0 8px 24px rgba(0, 158, 214, 0.38);
	transform: translateX(5px);
}

#header.header-style1 #mainnav > ul > li.menu-item-3511 > a:hover:after,
#header.header-style1 #mainnav > ul > li.menu-item-3511.current-menu-item > a:after {
	width: 8px;
	transform: rotate(-45deg) translate(3px, -3px);
}

#header.header-style1 #mainnav > ul > li.menu-item-3511 > a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.header_sticky #header.header-sticky.header-style1 #mainnav > ul > li.menu-item-3511 > a {
	line-height: 1.2 !important;
	padding: 10px 20px !important;
}

/* Mobil menüde İletişim butonu */
#mainnav_canvas .menu > li.menu-item-3511 > a,
#mainnav-mobi .menu > li.menu-item-3511 > a {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	width: fit-content;
	margin-top: 8px;
	padding: 14px 24px !important;
	background: var(--sms-brand) !important;
	color: #fff !important;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0, 158, 214, 0.28);
	transition:
		background 0.25s var(--sms-ease),
		box-shadow 0.25s var(--sms-ease),
		transform 0.25s var(--sms-ease);
}

#mainnav_canvas .menu > li.menu-item-3511 > a:after,
#mainnav-mobi .menu > li.menu-item-3511 > a:after {
	content: "→";
	font-size: 18px;
	line-height: 1;
	margin-left: 4px;
}

#mainnav_canvas .menu > li.menu-item-3511 > a:hover,
#mainnav-mobi .menu > li.menu-item-3511 > a:hover {
	background: #0084b4 !important;
	color: #fff !important;
	transform: translateX(5px);
	box-shadow: 0 8px 24px rgba(0, 158, 214, 0.38);
}

/* Hamburger menü — görünür, modern */
#header.header-style1 .btn-menu {
	display: none;
	float: none;
	position: relative;
	width: 46px;
	height: 46px;
	min-width: 46px;
	min-height: 46px;
	margin: 0 0 0 12px;
	padding: 0;
	border: 2px solid var(--sms-brand);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	transition: background 0.2s var(--sms-ease), border-color 0.2s var(--sms-ease), transform 0.2s var(--sms-ease);
}

#header.header-style1 .btn-menu:before,
#header.header-style1 .btn-menu:after {
	content: "";
	position: absolute;
	left: 11px;
	right: 11px;
	height: 2px;
	background: var(--sms-brand) !important;
	border-radius: 2px;
	top: auto;
	transform: none;
	transition: transform 0.25s var(--sms-ease), opacity 0.25s var(--sms-ease), top 0.25s var(--sms-ease);
}

#header.header-style1 .btn-menu:before {
	top: 16px;
}

#header.header-style1 .btn-menu:after {
	top: 28px;
}

#header.header-style1 .btn-menu span.line-1 {
	position: absolute;
	left: 11px;
	right: 11px;
	top: 22px;
	height: 2px;
	background: var(--sms-brand) !important;
	border-radius: 2px;
	text-indent: -9999px;
	overflow: hidden;
	transition: opacity 0.25s var(--sms-ease), transform 0.25s var(--sms-ease);
}

#header.header-style1 .btn-menu:hover,
#header.header-style1 .btn-menu:focus-visible {
	background: var(--sms-brand);
	border-color: var(--sms-brand);
}

#header.header-style1 .btn-menu:hover:before,
#header.header-style1 .btn-menu:hover:after,
#header.header-style1 .btn-menu:hover span.line-1,
#header.header-style1 .btn-menu:focus-visible:before,
#header.header-style1 .btn-menu:focus-visible:after,
#header.header-style1 .btn-menu:focus-visible span.line-1 {
	background: #fff !important;
}

#header.header-style1 .btn-menu.active {
	background: var(--sms-brand);
	border-color: var(--sms-brand);
}

#header.header-style1 .btn-menu.active span.line-1 {
	opacity: 0;
}

#header.header-style1 .btn-menu.active:before {
	top: 22px;
	transform: rotate(45deg);
	background: #fff !important;
}

#header.header-style1 .btn-menu.active:after {
	top: 22px;
	transform: rotate(-45deg);
	background: #fff !important;
}

@media (max-width: 1150px) {
	#header.header-style1 .header-wrap {
		display: flex !important;
		justify-content: space-between;
	}

	#header.header-style1 .header-wrap .header-ct-center {
		flex: 0 0 auto;
		justify-content: flex-end;
	}

	#header.header-style1 .header-wrap .header-ct-right {
		display: flex !important;
		width: auto;
		min-width: auto;
		overflow: visible;
	}

	#header.header-style1 .btn-menu {
		display: flex !important;
		align-items: center;
		justify-content: center;
	}

	#header.header-style1 #logo a img.site-logo-default {
		display: block !important;
		max-width: 160px !important;
		max-height: 56px !important;
		width: auto !important;
		height: auto !important;
	}

	#header.header-style1 #mainnav > ul > li > a,
	#header.header-style1 .btn-menu {
		line-height: 72px !important;
	}

	#header.header-style1 .btn-menu {
		line-height: normal !important;
		margin-top: 13px;
		margin-bottom: 13px;
	}
}

/* Yapışkan header — mavi arka plan, beyaz menü */
.header_sticky #header.header-sticky.header-style1 {
	background: var(--sms-brand) !important;
	border-bottom: none;
	box-shadow: 0 4px 20px rgba(0, 100, 140, 0.25);
}

.header_sticky #header.header-sticky.header-style1 #mainnav > ul > li > a {
	line-height: var(--sms-header-h-sticky) !important;
	color: #fff !important;
}

.header_sticky #header.header-sticky.header-style1 #mainnav > ul > li > a:after {
	background: #fff !important;
}

.header_sticky #header.header-sticky.header-style1 #mainnav > ul > li > a:hover,
.header_sticky #header.header-sticky.header-style1 #mainnav > ul > li.current-menu-item > a,
.header_sticky #header.header-sticky.header-style1 #mainnav > ul > li.current-menu-ancestor > a,
.header_sticky #header.header-sticky.header-style1 #mainnav > ul > li.current-menu-parent > a {
	color: rgba(255, 255, 255, 0.88) !important;
}

.header_sticky #header.header-sticky.header-style1 #mainnav > ul > li.menu-item-3511 > a {
	background: #fff !important;
	color: var(--sms-brand) !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.header_sticky #header.header-sticky.header-style1 #mainnav > ul > li.menu-item-3511 > a:after {
	border-right-color: var(--sms-brand) !important;
	border-bottom-color: var(--sms-brand) !important;
}

.header_sticky #header.header-sticky.header-style1 #mainnav > ul > li.menu-item-3511 > a:hover,
.header_sticky #header.header-sticky.header-style1 #mainnav > ul > li.menu-item-3511.current-menu-item > a {
	background: #f0f9fc !important;
	color: var(--sms-brand) !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.header_sticky #header.header-sticky.header-style1 .btn-menu {
	border-color: #fff;
	background: transparent;
}

.header_sticky #header.header-sticky.header-style1 .btn-menu:before,
.header_sticky #header.header-sticky.header-style1 .btn-menu:after,
.header_sticky #header.header-sticky.header-style1 .btn-menu span.line-1 {
	background: #fff !important;
}

.header_sticky #header.header-sticky.header-style1 .btn-menu:hover,
.header_sticky #header.header-sticky.header-style1 .btn-menu:focus-visible,
.header_sticky #header.header-sticky.header-style1 .btn-menu.active {
	background: rgba(255, 255, 255, 0.15);
	border-color: #fff;
}

.header_sticky #header.header-sticky.header-style1 .btn-menu:hover:before,
.header_sticky #header.header-sticky.header-style1 .btn-menu:hover:after,
.header_sticky #header.header-sticky.header-style1 .btn-menu:hover span.line-1,
.header_sticky #header.header-sticky.header-style1 .btn-menu.active:before,
.header_sticky #header.header-sticky.header-style1 .btn-menu.active:after {
	background: #fff !important;
}

@media (min-width: 1151px) {
	.header_sticky #header.header-sticky.header-style1 .logo {
		min-width: auto !important;
		min-height: auto !important;
		background: transparent !important;
		margin-top: 0 !important;
		box-shadow: none !important;
		padding: 0 !important;
	}

	#header.header-sticky.header-style1 #logo .site-logo-default {
		display: none !important;
	}

	#header.header-sticky.header-style1 #logo .site-logo-sticky {
		display: block !important;
		max-width: 58px !important;
		max-height: 58px !important;
		width: auto !important;
		height: auto !important;
		object-fit: contain;
		visibility: visible !important;
		opacity: 1 !important;
		position: static !important;
	}
}

/* Normal header — beyaz logo tamamen gizli */
#header.header-style1:not(.header-sticky) #logo .site-logo-sticky {
	display: none !important;
	visibility: hidden !important;
	position: absolute !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

#header.header-style1 #logo .site-logo-default {
	display: block !important;
}

/* Mobil yan menü — ortalı düzen */
@media (max-width: 1150px) {
	#header.header-style1 .inner-canvas-nav .logo {
		text-align: center !important;
		padding: 24px 20px !important;
	}

	#header.header-style1 .inner-canvas-nav .logo > a {
		display: inline-block;
		margin: 0 auto;
	}

	#mainnav_canvas .menu {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		padding: 0 20px 28px;
		box-sizing: border-box;
	}

	#mainnav_canvas .menu > li,
	#mainnav_canvas ul > li {
		width: 100%;
		max-width: 320px;
		text-align: center;
		border-top: 1px solid rgba(31, 36, 44, 0.08) !important;
		border-bottom: none !important;
	}

	#mainnav_canvas .menu > li:last-child,
	#mainnav_canvas > ul > li:last-child {
		border-bottom: 1px solid rgba(31, 36, 44, 0.08) !important;
	}

	#mainnav_canvas .menu > li > a,
	#mainnav_canvas ul li a {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		padding: 14px 16px !important;
		text-align: center !important;
		color: #1f242c !important;
	}

	#mainnav_canvas .menu > li.current-menu-item > a,
	#mainnav_canvas .menu > li > a:hover {
		color: var(--sms-brand) !important;
	}

	#mainnav_canvas .menu > li.menu-item-3511 {
		border-top: none !important;
		margin-top: 14px;
		display: flex;
		justify-content: center;
	}

	#mainnav_canvas .menu > li.menu-item-3511 > a,
	#mainnav-mobi .menu > li.menu-item-3511 > a {
		display: inline-flex !important;
		justify-content: center;
		align-items: center;
		gap: 10px;
		width: auto !important;
		min-width: min(100%, 280px);
		margin-top: 0;
		padding: 14px 28px !important;
		background: var(--sms-brand) !important;
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		border-radius: 8px;
		font-weight: 600 !important;
		box-shadow: 0 4px 16px rgba(0, 158, 214, 0.28);
	}

	#mainnav_canvas .menu > li.menu-item-3511 > a:hover,
	#mainnav_canvas .menu > li.menu-item-3511 > a:focus,
	#mainnav_canvas .menu > li.menu-item-3511.current-menu-item > a,
	#mainnav-mobi .menu > li.menu-item-3511 > a:hover {
		background: #0084b4 !important;
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		transform: none;
		box-shadow: 0 8px 24px rgba(0, 158, 214, 0.38);
	}

	#mainnav_canvas .menu > li.menu-item-3511 > a:after,
	#mainnav-mobi .menu > li.menu-item-3511 > a:after {
		content: "→";
		font-size: 18px;
		line-height: 1;
		color: #fff !important;
		margin-left: 4px;
	}
}

#header.header-style1 .canvas-nav-wrap .inner-canvas-nav {
	box-shadow: -8px 0 32px rgba(31, 36, 44, 0.15);
}

#header.header-style1 .inner-canvas-nav .logo img.site-logo {
	display: block !important;
	max-width: 200px;
	max-height: 80px;
	width: auto;
	height: auto;
	object-fit: contain;
}

#header.header-style1 .canvas-menu-close span,
#header.header-style1 .canvas-menu-close span:before {
	background: var(--sms-brand) !important;
}

#mainnav_canvas .menu > li > a {
	font-family: Rubik, sans-serif;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: uppercase;
	padding: 14px 0;
}

#mainnav_canvas .menu > li.current-menu-item > a,
#mainnav_canvas .menu > li > a:hover {
	color: var(--sms-brand) !important;
}

@media (min-width: 1151px) {
	#header.header-style1 .header-wrap {
		display: grid !important;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
	}

	#header.header-style1 .header-wrap .header-ct-left {
		grid-column: 1;
	}

	#header.header-style1 .header-wrap .header-ct-center {
		grid-column: 2;
		justify-self: end;
		width: 100%;
		max-width: 100%;
	}

	#header.header-style1 .header-wrap .header-ct-right {
		display: none !important;
	}
}

@media (min-width: 1280px) {
	#header.header-style1 .logo {
		min-width: 250px !important;
	}
}

@media (min-width: 1440px) {
	#header.header-style1 .logo {
		min-width: 270px !important;
		min-height: 152px !important;
		margin-top: -52px !important;
	}

	#header.header-style1 #logo a img.site-logo-default {
		max-width: 210px !important;
		max-height: 120px !important;
	}
}

@media (min-width: 1600px) {
	#header.header-style1 #mainnav > ul {
		gap: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#header.header-style1 *,
	.sms-skip-link {
		transition: none !important;
		animation: none !important;
	}
}

/* Anasayfa — Revolution Slider (sayfa başlığı bandı yok) */
body.home #themesflat-content {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	overflow-x: clip;
}

body.home #main-content {
	padding-top: 0 !important;
}

body.home .elementor-element-d8de6db {
	margin: 0 !important;
	padding: 0 !important;
	z-index: 1;
}

body.home .elementor-element-d8de6db > .elementor-container,
body.home .elementor-element-c78d4c4 > .elementor-widget-container,
body.home .wp-block-themepunch-revslider {
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
}

body.home .elementor-element-d8de6db.elementor-section-stretched {
	width: 100% !important;
	max-width: 100% !important;
	left: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	transform: none !important;
}

body.home #rev_slider_2_1_wrapper,
body.home #rev_slider_2_1,
body.home #rev_slider_2_1_wrapper rs-module {
	width: 100% !important;
	max-width: 100% !important;
}

body.home #rev_slider_2_1_wrapper {
	min-height: clamp(360px, 42vw, 650px);
	visibility: visible !important;
}

/* Yüzen logo altında slider başlangıcı */
@media (min-width: 1151px) {
	body.home #themesflat-content > .elementor {
		padding-top: 36px;
	}
}

@media (max-width: 1150px) {
	body.home #rev_slider_2_1_wrapper {
		min-height: 360px;
	}
}
