/* 新头部样式文件 */

/* 头部容器 */
.header-new {
	width: 100%;
	background-color: #fff;
	position: relative;
}

/* 顶部细灰色条 */
.header-new::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background-color: #d0d0d0;
}


/* 公司名称区域 */
.header-company-name {
	text-align: center;
	padding: 15px 0;
	font-size: 20px;
	font-weight: 500;
	color: #736ff3;
	background-color: #fff;
}

/* Logo容器 */
.header-logo-container {
	width: 100%;
	text-align: center;
	padding: 20px 0;
	background-color: #fff;
}

.header-logo {
	display: inline-block;
	max-width: 200px;
	height: auto;
}

.header-logo a {
	display: block;
	text-decoration: none;
}

.header-logo img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* 导航栏容器 */
.header-nav-container {
	width: 100%;
	background-color: #fff;
    margin-bottom: 20px;
}

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

/* 导航菜单 */
.header-nav {
	flex: 1;
}

.header-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}

.header-nav-list li {
	margin: 0;
	padding: 0;
}

.header-nav-list .nav-link {
	display: block;
	padding: 15px 10px;
	color: #333;
	text-decoration: none;
	font-size: 16px;
	transition: all 0.3s ease;
	position: relative;
}

.header-nav-list .nav-link:hover,
.header-nav-list .nav-link.active {
	color: #736ff3;
	text-decoration: none;
}

.header-nav-list .nav-link.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #736ff3;
}

/* 右侧区域（搜索框和菜单图标） */
.header-right {
	display: flex;
	align-items: center;
	gap: 15px;
}

/* 搜索框 */
.header-search {
	position: relative;
}

.header-search form {
	display: flex;
	align-items: center;
}

.header-search-input {
	width: 100px;
	height: 36px;
	padding: 0 40px 0 15px;
	border: 1px solid #e0e0e0;
	border-radius: 18px;
	font-size: 14px;
	color: #333;
	background-color: #f5f5f5;
	outline: none;
	transition: all 0.3s ease;
}

.header-search-input:focus {
	border-color: #736ff3;
	background-color: #fff;
	width: 250px;
}

.header-search-input::placeholder {
	color: #999;
}

.header-search-btn {
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border: none;
	background: transparent;
	cursor: pointer;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: color 0.3s ease;
}

.header-search-btn:hover {
	color: #736ff3;
}

.header-search-btn svg {
	width: 16px;
	height: 16px;
}

/* 汉堡菜单图标 */
.header-menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 24px;
	height: 24px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 10;
}

.header-menu-toggle span {
	width: 100%;
	height: 2px;
	background-color: #333;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.header-menu-toggle:hover span {
	background-color: #736ff3;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.header-company-name {
		font-size: 16px;
		padding: 10px 0;
	}
	
	.header-logo-container {
		padding: 15px 0;
	}
	
	.header-logo {
		max-width: 150px;
	}
	
	.header-nav-wrapper {
		flex-wrap: wrap;
		padding: 10px 15px;
	}
	
	.header-nav {
		order: 2;
		width: 100%;
		margin-top: 10px;
	}
	
	.header-nav-list {
		flex-wrap: wrap;
		justify-content: center;
	}
	
	.header-nav-list .nav-link {
		padding: 10px 15px;
		font-size: 14px;
	}
	
	.header-right {
		order: 1;
		width: 100%;
		justify-content: space-between;
		margin-bottom: 10px;
	}
	
	.header-search {
		flex: 1;
		margin-right: 10px;
	}
	
	.header-search-input {
		width: 100%;
	}
	
	.header-search-input:focus {
		width: 100%;
	}
}

/* 清除浮动 */
.clear {
	clear: both;
	height: 0;
	line-height: 0;
	font-size: 0;
}

