@charset "utf-8";

* {
	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;
}

/* 导航栏样式 */
nav {
	background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
	color: white;
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.5em;
	font-weight: bold;
}

.nav-menu {
	display: flex;
	list-style: none;
}

.nav-menu li {
	margin-left: 2rem;
}

.nav-menu a {
	color: white;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	padding: 0.5rem 1rem;
	border-radius: 5px;
}

.nav-menu a:hover {
	background-color: rgba(255,255,255,0.1);
}

/* 移动端菜单按钮 */
.menu-toggle {
	display: none;
	font-size: 1.5em;
	background: none;
	border: none;
	color: white;
	cursor: pointer;
}

/* 容器样式 */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 英雄区样式 */
.hero {
	background: linear-gradient(rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.8)), url('../images/banner.jpg') center/cover no-repeat;
	color: white;
	text-align: center;
	padding: 15rem 0;
}

.hero h1 {
	font-size: 3em;
	margin-bottom: 1rem;
}

.hero p {
	font-size: 1.2em;
	margin-bottom: 2rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.btn {
	display: inline-block;
	padding: 12px 30px;
	background-color: #ff6b35;
	color: white;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn:hover {
	background-color: #e55a27;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 板块通用样式 */
.section {
	padding: 3rem 0;
}

.section-title {
	text-align: center;
	font-size: 2.5em;
	color: #1e3c72;
	margin-bottom: 1rem;
}

.section-subtitle {
	text-align: center;
	color: #666;
	margin-bottom: 4rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* 卡片样式 */
.card {
	background: white;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	padding: 2rem;
	margin-bottom: 2rem;
	transition: all 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* 网格布局 */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
	gap: 2rem;
}

/* 公司简介板块 */
.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}
.about-text h3{
	margin-bottom:1rem;
}
.about-text p{
	margin-bottom:0.5rem;
}

.about-image img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}

/* 业务板块 */
.service-item {
	text-align: center;
}

.service-icon {
	font-size: 3em;
	color: #2a5298;
	margin-bottom: 1rem;
}

/* 项目案例 */
.project-item {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	cursor: pointer;
}

.project-item img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	transition: all 0.3s ease;
}

.project-item:hover img {
	transform: scale(1.1);
}

.project-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0,0,0,0.8));
	color: white;
	padding: 2rem;
	transform: translateY(100%);
	transition: all 0.3s ease;
}

.project-item:hover .project-overlay {
	transform: translateY(0);
}

/* 核心优势 */
.advantage-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 2rem;
}

.advantage-icon {
	background-color: #e8f0fe;
	color: #2a5298;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5em;
	margin-right: 1.5rem;
	flex-shrink: 0;
}

/* 联系我们 */
.contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
}
.contact-info h3{
	margin-bottom:1rem;
}
.contact-info-item {
	display: flex;
	align-items: center;
	margin-bottom: 1.5rem;
}

.contact-info-item i {
	color: #2a5298;
	margin-right: 1rem;
	font-size: 1.2em;
}
.contact-form h3{
	margin-bottom: 1rem;
}
.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 12px;
	margin-bottom: 1rem;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.contact-form textarea {
	resize: vertical;
	min-height: 150px;
}

/* 页脚 */
footer {
	background-color: #1e3c72;
	color: white;
	padding: 3rem 0 1rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-section h3 {
	margin-bottom: 1rem;
	color: #ff6b35;
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 0.5rem;
}

.footer-section ul li a {
	color: rgba(255,255,255,0.8);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-section ul li a:hover {
	color: white;
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255,255,255,0.1);
	color: rgba(255,255,255,0.6);
}

/* 响应式设计 */
@media (max-width: 768px) {
	.menu-toggle {
		display: block;
	}
	
	.nav-menu {
		position: fixed;
		top: 70px;
		left: -100%;
		flex-direction: column;
		background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
		width: 100%;
		text-align: center;
		transition: 0.3s;
		box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
	}
	
	.nav-menu.active {
		left: 0;
	}
	
	.nav-menu li {
		margin: 2.5rem 0;
	}
	
	.hero h1 {
		font-size: 2em;
	}
	
	.about-content,
	.contact-content {
		grid-template-columns: 1fr;
	}
	
	.section {
		padding: 4rem 0;
	}
}

/* 动画效果 */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: fadeInUp 0.6s ease-out;
}
