/* 主要内容区域 */
main {
	margin-top: 80px;
}

/* 首页横幅 */
.hero-banner {
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('../images/headerbg.png');
	background-size: cover;
	background-position: center;
	height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
	position: relative;
	overflow: hidden;
}

.hero-content {
	max-width: 800px;
	padding: 0 20px;
	animation: fadeInUp 1s ease;
}

.hero-content h1 {
	font-size: 48px;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
	font-size: 32px;
	margin-bottom: 20px;
	color: #f1c40f;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-content p {
	font-size: 20px;
	margin-bottom: 30px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
}

.btn-primary,
.btn-secondary {
	padding: 15px 35px;
	border-radius: 30px;
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
	transition: all 0.3s ease;
	display: inline-block;
}

.btn-primary {
	background: linear-gradient(135deg, #e74c3c, #c0392b);
	color: white;
	box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
	background: transparent;
	color: white;
	border: 2px solid white;
}

.btn-secondary:hover {
	background: white;
	color: #333;
}

/* 服务特色 */
.features {
	padding: 80px 0;
	background: white;
}

.features h2 {
	text-align: center;
	font-size: 36px;
	margin-bottom: 50px;
	color: #2c3e50;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
}

.feature-item {
	text-align: center;
	padding: 30px;
	border-radius: 10px;
	background: #f8f9fa;
	transition: all 0.3s ease;
	border: 1px solid #e9ecef;
}

.feature-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	border-color: #e74c3c;
}

.feature-item img {
	width: 80px;
	height: 80px;
	margin-bottom: 20px;
	transition: transform 0.3s ease;
}

.feature-item:hover img {
	transform: scale(1.1);
}

.feature-item h3 {
	font-size: 24px;
	margin-bottom: 15px;
	color: #2c3e50;
}

.feature-item p {
	color: #666;
	line-height: 1.6;
}

/* 装修案例 */
.cases {
	padding: 80px 0;
	background: #f8f9fa;
}

.cases h2 {
	text-align: center;
	font-size: 36px;
	margin-bottom: 30px;
	color: #2c3e50;
}

.case-categories {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.case-categories button {
	padding: 10px 25px;
	border: 2px solid #e74c3c;
	background: white;
	color: #e74c3c;
	border-radius: 25px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 16px;
}

.case-categories button.active,
.case-categories button:hover {
	background: #e74c3c;
	color: white;
}

.case-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
}

.case-item {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.case-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.case-item img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.case-item:hover img {
	transform: scale(1.05);
}

.case-info {
	padding: 20px;
}

.case-info h3 {
	font-size: 22px;
	margin-bottom: 10px;
	color: #2c3e50;
}

.case-info p {
	color: #666;
	margin-bottom: 15px;
}

.view-details {
	display: inline-block;
	padding: 8px 20px;
	background: #e74c3c;
	color: white;
	text-decoration: none;
	border-radius: 20px;
	transition: all 0.3s ease;
}

.view-details:hover {
	background: #c0392b;
	transform: translateX(5px);
}

/* 服务范围 */
.service-scope {
	padding: 80px 0;
	background: white;
}

.service-scope h2 {
	text-align: center;
	font-size: 36px;
	margin-bottom: 50px;
	color: #2c3e50;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
}

.service-item {
	text-align: center;
	padding: 30px;
	border-radius: 10px;
	background: #f8f9fa;
	transition: all 0.3s ease;
}

.service-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
	font-size: 26px;
	margin-top: 20px;
	margin-bottom: 20px;
	color: #e74c3c;
}

.service-item ul {
	list-style: none;
}

.service-item li {
	padding: 8px 0;
	color: #666;
	position: relative;
	padding-left: 20px;
}

.service-item li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #27ae60;
	font-weight: bold;
}

/* 服务范围图片样式（放入原 <style> 内） */
.service-img {
	width: 100%;
	height: 250px;
	overflow: hidden;
	border-radius: 10px 10px 0 0;
}

.service-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.service-item:hover .service-img img {
	transform: scale(1.1);
}

.service-item {
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
}

.service-item h3,
.service-item p,
.service-item ul {
	padding: 0 25px;
}

.service-item ul {
	margin: 15px 0 25px;
}

/* 关于我们 */
.about-us {
	padding: 80px 0;
	background: #f8f9fa;
}

.about-us h2 {
	text-align: center;
	font-size: 36px;
	margin-bottom: 50px;
	color: #2c3e50;
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.about-text h3 {
	font-size: 28px;
	margin-bottom: 20px;
	color: #2c3e50;
}

.about-text p {
	margin-bottom: 20px;
	color: #666;
	line-height: 1.8;
}

.credentials {
	display: flex;
	gap: 20px;
	margin-top: 30px;
}

.credentials img {
	width: 120px;
	height: 160px;
	object-fit: contain;
	border: 1px solid #ddd;
	padding: 10px;
	background: white;
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

.stat-item {
	text-align: center;
	padding: 30px;
	background: white;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.stat-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-item .number {
	display: block;
	font-size: 42px;
	font-weight: bold;
	color: #e74c3c;
	margin-bottom: 10px;
}

.stat-item .label {
	color: #666;
	font-size: 16px;
}

/* 咨询表单 */
.consultation {
	padding: 80px 0;
	background: white;
}

.consultation h2 {
	text-align: center;
	font-size: 36px;
	margin-bottom: 50px;
	color: #2c3e50;
}

.consult-form {
	max-width: 600px;
	margin: 0 auto;
	background: #f8f9fa;
	padding: 40px;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 25px;
}

.form-group.full-width {
	grid-column: 1 / -1;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	color: #2c3e50;
	font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
	transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #e74c3c;
	box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.submit-btn {
	width: 100%;
	padding: 15px;
	background: linear-gradient(135deg, #e74c3c, #c0392b);
	color: white;
	border: none;
	border-radius: 5px;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
}

.submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.form-note {
	text-align: center;
	color: #666;
	font-size: 14px;
	margin-top: 15px;
}