﻿/* =====================================================
   HEADER DESIGN
   Samsun Göçük Timi Mert Otomotiv
===================================================== */


.header {
	position: fixed;
	top: 25px;
	left: 0;
	width: 100%;
	z-index: 999;
}



/* =====================================================
   CONTAINER
===================================================== */


.header-inner {
	height: 96px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 35px;
	background: rgba(8,15,29,.72);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 22px;
	box-shadow: 0 15px 50px rgba(0,0,0,.35);
}



/* =====================================================
   LOGO
===================================================== */


.header-logo {
	display: flex;
	align-items: center;
	gap: 20px;
}


	.header-logo:hover {
		color: white;
	}




/* LOGO DÖNÜŞ */

.header-logo-icon {
	width: 82px;
	height: 82px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
	perspective: 900px;
	animation: coinSpin 5s infinite ease-in-out;
}



	.header-logo-icon img {
		width: 100%;
		height: 100%;
		object-fit: contain;
		display: block;
	}



@keyframes coinSpin {


	0% {
		transform: rotateY(0deg);
	}


	15% {
		transform: rotateY(360deg);
	}


	100% {
		transform: rotateY(360deg);
	}
}





/* =====================================================
   LOGO TEXT
===================================================== */


.header-logo-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}





.header-logo-title {
	position: relative;
	font-size: 18px;
	font-weight: 900;
	letter-spacing: 1.2px;
	line-height: 1.2;
	color: white;
	overflow: hidden;
}





	.header-logo-title .turquoise {
		color: #2ee6d6;
	}





.header-logo-subtitle {
	position: relative;
	margin-top: 7px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 2px;
	line-height: 1;
	color: white;
	overflow: hidden;
}





	.header-logo-subtitle .turquoise {
		color: #2ee6d6;
	}


	.header-logo-subtitle .white {
		color: #ffffff;
	}






	/* =====================================================
   YAVAŞ IŞIK GEÇİŞİ
===================================================== */


	.header-logo-title::after,
	.header-logo-subtitle::after {
		content: "";
		position: absolute;
		top: 0;
		left: -120%;
		width: 45%;
		height: 100%;
		background: linear-gradient( 120deg, transparent, rgba(255,255,255,.65), transparent );
		transform: skewX(-25deg);
		animation: textGlow 7s ease-in-out infinite;
	}





@keyframes textGlow {


	0% {
		left: -120%;
		opacity: 0;
	}


	20% {
		opacity: .7;
	}


	45% {
		left: 130%;
		opacity: .7;
	}


	100% {
		left: 130%;
		opacity: 0;
	}
}







/* =====================================================
   MENU
===================================================== */


.header-menu ul {
	display: flex;
	align-items: center;
	gap: 38px;
	margin: 0;
	padding: 0;
}


.header-menu li {
	list-style: none;
}



.header-menu a {
	position: relative;
	color: #e7edf7;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	transition: .35s;
}



	.header-menu a:hover {
		color: #2ee6d6;
	}



	.header-menu a::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: -9px;
		width: 0;
		height: 2px;
		background: #2ee6d6;
		transition: .35s;
	}



	.header-menu a:hover::after,
	.header-menu .active a::after {
		width: 100%;
	}



.header-menu .active a {
	color: #2ee6d6;
}






/* =====================================================
   BUTTON
===================================================== */


.header-right {
	display: flex;
	align-items: center;
	gap: 18px;
}



.header-offer-button {
	height: 48px;
	padding: 0 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50px;
	background: linear-gradient(135deg,#2ee6d6,#08bfff);
	color: #06131c;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: .35s;
}



	.header-offer-button:hover {
		transform: translateY(-3px);
		box-shadow: 0 0 35px rgba(46,230,214,.45);
	}






/* =====================================================
   MOBILE
===================================================== */


.mobile-button {
	display: none;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.10);
	color: white;
	font-size: 24px;
	align-items: center;
	justify-content: center;
}





@media(max-width:768px) {


	.header {
		top: 15px;
	}


	.header-inner {
		height: 74px;
		padding: 0 20px;
	}


	.header-logo-icon {
		width: 48px;
		height: 48px;
	}


	.header-logo-title {
		font-size: 13px;
	}


	.header-logo-subtitle {
		font-size: 10px;
	}
}


.header-inner {
	min-width: 0;
}
