/* 导航栏样式 */
.header-nav {
	background-color: #ffffff;
	border-bottom: 1px solid var(--border-color);
	box-shadow: var(--module-shadow);
	position: sticky;
	top: 0;
	z-index: 999;
}

.nav-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo-img {
	width: 160px;
	height: 54px;
	object-fit: contain;
}

.nav-menu {
	display: flex;
	gap: 35px;
	align-items: center;
}

.nav-item {
	font-size: 15px;
	font-weight: 500;
	color: var(--text-dark);
	transition: color 0.3s;
	cursor: pointer;
	position: relative;
	padding: 20px 0;
}

.nav-item.active {
	color: #004ea2 !important;
	font-weight: 500 !important;
}

.nav-item:hover {
	color: var(--primary-color);
}

.nav-item.has-dropdown {
	padding-right: 15px;
}

.nav-item.has-dropdown::after {
	content: "\f078";
	font-family: "Font Awesome 6 Free";
	font-weight: 600;
	font-size: 10px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: white;
	min-width: 250px;
	border-radius: 6px;
	box-shadow: var(--module-shadow);
	border: 1px solid var(--border-color);
	padding: 8px 0;
	display: none;
	z-index: 9999;
}

.nav-item.has-dropdown:hover .dropdown-menu {
	display: block;
}

.dropdown-menu:hover {
	display: block;
}

.dropdown-menu li a {
	display: block;
	padding: 12px 20px;
	font-size: 14px;
	color: var(--text-dark);
	transition: all 0.3s;
}

.dropdown-menu li a:hover {
	background-color: var(--light-bg);
	color: var(--primary-color);
	padding-left: 24px;
}

/* 右侧功能区 */
.nav-right {
	display: flex;
	align-items: center;
	gap: 25px;
	font-size: 15px;
	font-weight: 500;
}

.contact-phone {
	background: var(--gradient-main);
	color: white;
	padding: 10px 20px;
	border-radius: 30px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 78, 162, 0.2);
	position: relative;
}

.contact-phone:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 78, 162, 0.3);
	background: var(--primary-dark);
	color: white;
}

/* 二维码悬停弹出效果 */
.qr-popup {
	position: absolute;
	top: 100%;
	right: 0;
	background: white;
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	display: none;
	z-index: 1000;
	margin-top: 10px;
	width: 180px;
	text-align: center;
	border: 1px solid var(--border-color);
}

.qr-popup::before {
	content: '';
	position: absolute;
	bottom: 100%;
	right: 20px;
	border-width: 8px;
	border-style: solid;
	border-color: transparent transparent white transparent;
}

.contact-phone:hover .qr-popup {
	display: block;
}

.qr-popup img {
	width: 150px;
	height: 150px;
	margin-bottom: 8px;
	border-radius: 4px;
}

.qr-popup p {
	font-size: 12px;
	color: var(--text-medium);
	margin: 0;
}

/* 移动端导航切换按钮 */
.mobile-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	color: var(--text-dark);
	cursor: pointer;
}

/* 移动端响应式 */
@media (max-width: 768px) {
	.mobile-toggle {
		display: block;
	}

	.nav-menu {
		position: fixed;
		top: 70px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 70px);
		background: white;
		flex-direction: column;
		align-items: flex-start;
		padding: 30px;
		transition: left 0.3s ease;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
		overflow-y: auto;
		z-index: 998;
		gap: 0;
	}

	.nav-menu.active {
		left: 0;
	}

	.nav-item {
		margin: 0 0 15px 0;
		width: 100%;
		padding: 10px 0;
	}

	.dropdown-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		padding-left: 20px;
		display: none;
		margin-top: 10px;
	}

	.nav-item.has-dropdown:hover .dropdown-menu,
	.nav-item.has-dropdown.active .dropdown-menu {
		display: block;
	}

	.nav-item.has-dropdown::after {
		right: 20px;
	}

	.nav-right {
		display: none;
	}
}

.container {
	width: 1152px;
	margin: 0 auto;
	padding: 0 15px;
}

/* 移动端导航切换按钮 */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}