/* 全局样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Microsoft YaHei', Arial, sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f8f9fa;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px
}

a {
	text-decoration: none;
	color: #333;
	transition: color .3s ease
}

a:hover {
	color: #e74c3c
}


/* 头部样式 */
header {
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	transition: all 0.3s ease;
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
}

.logo img {
	height: 60px;
	transition: all 0.3s ease;
}

nav ul {
	display: flex;
	list-style: none;
	gap: 30px;
}

nav a {
	text-decoration: none;
	color: #333;
	font-weight: 500;
	transition: color 0.3s ease;
	position: relative;
}

nav a:hover {
	color: #e74c3c;
}

nav a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: #e74c3c;
	transition: width 0.3s ease;
}

nav a:hover::after {
	width: 100%;
}

.contact-info {
	display: flex;
	align-items: center;
	gap: 15px;
}

.phone {
	font-size: 18px;
	font-weight: bold;
	color: #e74c3c;
}

.consult-btn {
	background: linear-gradient(135deg, #e74c3c, #c0392b);
	color: white;
	border: none;
	padding: 12px 25px;
	border-radius: 25px;
	cursor: pointer;
	font-size: 16px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.consult-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* 页脚 */
.footer {
	background: #2c3e50;
	color: white;
	padding: 50px 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 30px;
}

.footer-section h3 {
	margin-bottom: 20px;
	color: #f1c40f;
}

.footer-section p,
.footer-section li {
	margin-bottom: 10px;
	color: #ecf0f1;
}

.footer-section ul {
	list-style: none;
}

.footer-section a {
	color: #ecf0f1;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-section a:hover {
	color: #f1c40f;
}

.footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #34495e;
	color: #95a5a6;
	font-size: 14px;
}

/* 返回顶部按钮 */
#back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: #e74c3c;
	color: white;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 20px;
	display: none;
	transition: all 0.3s ease;
	z-index: 999;
}

#back-to-top:hover {
	background: #c0392b;
	transform: translateY(-5px);
}

/* 动画 */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: fadeInUp 0.8s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
	header .container {
		flex-direction: column;
		gap: 15px;
	}

	nav ul {
		flex-wrap: wrap;
		justify-content: center;
		gap: 15px;
	}

	.hero-content h1 {
		font-size: 32px;
	}

	.hero-content h2 {
		font-size: 24px;
	}

	.cta-buttons {
		flex-direction: column;
		align-items: center;
	}

	.about-content {
		grid-template-columns: 1fr;
	}

	.case-grid {
		grid-template-columns: 1fr;
	}

	.feature-grid,
	.service-grid {
		grid-template-columns: 1fr;
	}
}

/* 加载动画 */
.loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: white;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	transition: opacity 0.5s ease;
}

.loader.hidden {
	opacity: 0;
	pointer-events: none;
}

.loader-spinner {
	width: 50px;
	height: 50px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid #e74c3c;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* 面包屑导航 */
.breadcrumb {
	margin-top: 100px;
	padding: 20px 0;
	background: #f0f0f0;
}

.breadcrumb ol {
	list-style: none;
	display: flex;
	gap: 10px;
	font-size: 14px;
}

.breadcrumb a {
	color: #666;
	text-decoration: none;
}

.breadcrumb a:hover {
	color: #e74c3c;
}

.breadcrumb li:last-child {
	color: #333;
	font-weight: 500;
}