﻿/* 顶部导航栏 */
header
{
	background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
	color: white;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	box-shadow: var(--shadow);
}

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

.logo
{
	display: flex;
	align-items: center;
	font-size: 24px;
	font-weight: bold;
}

	.logo i
	{
		margin-right: 10px;
		color: var(--primary);
	}

.logo-img
{
	height: 50px;
	width:50px;
	margin-right: 10px;
	vertical-align: middle;
}

.nav-links
{
	display: flex;
	list-style: none;
	height: 100%;
}

	.nav-links li
	{
		margin-left: 5px;
		height: 100%;
		display: flex;
		align-items: center;
	}

	.nav-links a
	{
		color: white;
		text-decoration: none;
		font-weight: 500;
		transition: var(--transition);
		padding: 20px 25px;
		position: relative;
		display: block;
		height: 100%;
		display: flex;
		align-items: center;
                                font-size: 22px; /* 添加这行，调整导航字体大小 09-11*/
	}

		.nav-links a:hover, .nav-links a.active
		{
			background: #3498db;
		}

		.nav-links a::after
		{
			content: '';
			position: absolute;
			bottom: 0;
			left: 50%;
			width: 0;
			height: 4px;
			background: #f1c40f;
			transition: all 0.3s ease;
			transform: translateX(-50%);
		}

		.nav-links a:hover::after, .nav-links a.active::after
		{
			width: 80%;
		}

.cta-button
{
	background-color: var(--primary);
	color: white;
	padding: 10px 20px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: bold;
	transition: var(--transition);
}

	.cta-button:hover
	{
		background-color: #2980b9;
		transform: translateY(-2px);
	}

/* 响应式设计 */
@media (max-width: 992px) {
	.nav-links a {
		padding: 20px 15px;
	}
}

@media (max-width: 768px) {
	.header-container {
		flex-direction: column;
		height: auto;
		padding: 15px;
	}

	.nav-links {
		margin-top: 15px;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
	}

	.nav-links li {
		margin: 0;
		flex: 1;
		text-align: center;
	}

	.nav-links a {
		padding: 15px 10px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.nav-links a {
		padding: 12px 8px;
		font-size: 13px;
	}
}

/* 底部区域 */
footer
{
	background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
	color: white;
	padding: 10px 0;
	text-align: center;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}
.footer-container
{
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.footer-links
{
	display: flex;
	justify-content: center;
	list-style: none;
	margin-bottom: 15px;
}

	.footer-links li
	{
		margin: 0 15px;
	}

	.footer-links a
	{
		color: #ecf0f1;
		text-decoration: none;
		transition: var(--transition);
	}

		.footer-links a:hover
		{
			color: var(--primary);
		}


.copyright
{
	font-size: 14px;
	color: #bdc3c7;
}