/* 导航栏样式 */
.header-nav-wrap {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	background: #0d3880;
	z-index: 999;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}

.header-nav {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 54px;
	padding: 0 20px;
}

.nav-logo {
	display: none;
	align-items: center;
	color: #ffffff;
	font-weight: 700;
	font-size: 16px;
}

.nav-list {
	display: flex;
	align-items: center;
	justify-content: space-around;
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-item {
	position: relative;
}

.nav-link {
	display: block;
	color: #ffffff;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	padding: 6px 14px;
	border-radius: 4px;
	transition: all 0.25s ease;
	white-space: nowrap;
}

.nav-link:hover {
	color: #ffffff;
	opacity: 0.9;
}

.nav-item.active .nav-link {
	color: #ffffff;
	font-weight: 700;
}

.nav-item.active .nav-link::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 14px;
	right: 14px;
	height: 3px;
	background: #ffffff;
	border-radius: 2px;
}

/* 移动端菜单按钮 */
.mobile-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 28px;
	height: 22px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1001;
}

.mobile-nav-toggle span {
	width: 100%;
	height: 3px;
	background: #ffffff;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.mobile-nav-toggle.open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
	opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* 移动端菜单适配 */
@media screen and (max-width: 992px) {
	.header-nav {
		height: 50px;
	}

	.nav-logo {
		display: flex;
	}

	.mobile-nav-toggle {
		display: flex;
	}

	.nav-list {
		position: fixed;
		top: 50px;
		left: 0;
		right: 0;
		background: #0d3880;
		flex-direction: column;
		padding: 15px 0 25px;
		display: none;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.nav-list.show {
		display: flex;
	}

	.nav-item {
		width: 100%;
		text-align: center;
	}

	.nav-link {
		padding: 10px 0;
		font-size: 16px;
		border-radius: 0;
	}

	.nav-item.active .nav-link::after {
		display: none;
	}
}
