/* Arslanoglu Makina — header / footer logo & dil seçici */

.logo-desktop img {
	max-height: 110px;
	width: auto;
}

/* Footer logo — yüksek çözünürlüklü PNG sayfayı bozmasın */
.footer-logo-wrap,
#footer .footer-logo-wrap {
	overflow: hidden;
}

.footer-logo,
#footer .footer-logo {
	display: inline-block;
	max-width: 100%;
	line-height: 0;
}

.footer-logo img,
#footer .footer-logo img,
#footer .widgets-contact .widget img {
	display: block;
	max-width: 220px !important;
	width: 100% !important;
	height: auto !important;
	max-height: 80px !important;
	margin: 0 auto;
	object-fit: contain;
}

/* Masaüstü dil bayrakları */
.header-8 .top-bar-contact li.widget.desktop-lang {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 150px !important;
	height: 79px !important;
	min-height: 79px;
	border: none !important;
	line-height: normal !important;
	padding: 0 8px !important;
	overflow: visible !important;
	vertical-align: middle;
}

.desktop-lang .lang-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 30px;
	padding: 0;
	border: 1px solid rgba(49, 49, 49, 0.18);
	background: #fff;
	line-height: 0 !important;
	overflow: visible;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.desktop-lang .lang-btn img {
	display: block !important;
	width: 26px !important;
	height: 18px !important;
	max-width: none !important;
	object-fit: contain !important;
	vertical-align: middle;
}

.desktop-lang .lang-btn.is-active,
.desktop-lang .lang-btn:hover {
	border-color: #e40003;
	box-shadow: 0 0 0 1px #e40003;
}

.mobile-topbar {
	display: none;
}

@media only screen and (max-width: 991px) {
	/* Collapse menüyü tablet dahil aç */
	.navbar-header {
		float: none;
	}

	.navbar-toggle {
		display: block !important;
	}

	.navbar-collapse.collapse {
		display: none !important;
		height: auto !important;
	}

	.navbar-collapse.collapse.in {
		display: block !important;
	}

	.navbar-collapse.collapsing {
		display: block !important;
	}

	.navbar-nav {
		float: none !important;
		margin: 0;
	}

	.navbar-nav > li {
		float: none !important;
	}

	.header-8 {
		height: auto !important;
	}

	.header-8 .top-bar,
	.header-8 .top-bar .top-bar-inner {
		height: auto !important;
		line-height: normal !important;
		min-height: 64px;
	}

	.header-8 .outer {
		background: #fff !important;
	}

	.header-8 .navbar-header {
		float: none;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.mobile-topbar {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		width: 100%;
		min-height: 64px;
		padding: 8px 4px;
		background: #fff;
	}

	.mobile-logo {
		display: block;
		flex: 1 1 auto;
		min-width: 0;
		max-width: calc(100% - 168px);
		line-height: 0 !important;
		height: auto !important;
	}

	.mobile-logo img {
		display: block;
		max-height: 52px;
		width: auto;
		max-width: 100%;
		height: auto;
		object-fit: contain;
	}

	.mobile-topbar-right {
		display: flex;
		align-items: center;
		gap: 8px;
		flex: 0 0 auto;
	}

	.mobile-lang {
		display: flex;
		align-items: center;
		gap: 6px;
	}

	.mobile-lang .lang-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 4px;
		min-width: 40px;
		height: 34px;
		padding: 0 8px;
		border: 1px solid rgba(0, 0, 0, 0.12);
		background: #f5f5f5;
		color: #222 !important;
		text-decoration: none !important;
		font-family: Montserrat, Raleway, sans-serif;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.04em;
		line-height: 1;
		overflow: visible;
		transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	}

	.mobile-lang .lang-btn img {
		width: 18px !important;
		height: 12px !important;
		max-width: none !important;
		object-fit: contain !important;
		display: block;
		flex-shrink: 0;
	}

	.mobile-lang .lang-btn span {
		display: inline-block;
	}

	.mobile-lang .lang-btn.is-active,
	.mobile-lang .lang-btn:hover,
	.mobile-lang .lang-btn:focus {
		background: #e40003;
		border-color: #e40003;
		color: #fff !important;
	}

	.mobile-menu-btn.navbar-toggle {
		display: block !important;
		float: none;
		margin: 0 !important;
		padding: 8px 9px;
		border: 1px solid #e40003 !important;
		background: #fff;
		border-radius: 0;
	}

	.mobile-menu-btn .icon-bar {
		background-color: #e40003 !important;
		display: block;
		width: 20px;
		height: 2px;
		border-radius: 0;
	}

	.mobile-menu-btn .icon-bar + .icon-bar {
		margin-top: 4px;
	}

	.header-8 .container > .navbar-collapse {
		margin: 0;
		width: 100%;
		background: #e40003 !important;
		border-top: 1px solid rgba(255, 255, 255, 0.2);
	}

	.mobile-menu-lang {
		display: flex !important;
		gap: 8px;
		padding: 14px 15px 8px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}

	.mobile-menu-lang .lang-btn {
		flex: 1;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		height: 40px;
		padding: 0 8px;
		border: 1px solid rgba(255, 255, 255, 0.35);
		background: rgba(255, 255, 255, 0.12);
		color: #fff !important;
		text-decoration: none !important;
		font-family: Montserrat, Raleway, sans-serif;
		font-size: 12px;
		font-weight: 600;
	}

	.mobile-menu-lang .lang-btn img {
		width: 18px;
		height: 12px;
		object-fit: cover;
	}

	.mobile-menu-lang .lang-btn.is-active {
		background: #fff;
		border-color: #fff;
		color: #e40003 !important;
	}

	.header-8 .navbar-nav > li > a {
		color: #fff !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.header-8 .navbar-nav > li > a:hover,
	.header-8 .navbar-nav > li.active > a {
		background: rgba(0, 0, 0, 0.15) !important;
	}

	.header-8 .navbar-nav > li .dropdown-menu {
		background: #c50002;
	}

	.header-8 .navbar-nav > li .dropdown-menu > li > a {
		color: #fff !important;
	}

	.header-8 .outer-2 {
		background: #e40003 !important;
	}
}

@media only screen and (max-width: 400px) {
	.mobile-lang .lang-btn span {
		display: none;
	}

	.mobile-lang .lang-btn {
		min-width: 30px;
		padding: 0 6px;
	}

	.mobile-logo {
		max-width: calc(100% - 140px);
	}

	.mobile-logo img {
		max-height: 44px;
	}
}

@media only screen and (min-width: 992px) {
	.mobile-topbar,
	.mobile-menu-lang {
		display: none !important;
	}
}
