/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #2c3e50;
}

ul {
    list-style: none;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 70px;
    height: 70px;
    margin-right: 15px;
    border-radius: 5px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 14px;
    color: #7f8c8d;
}

.header-contact {
    text-align: right;
}

.header-contact p {
    margin-bottom: 5px;
    color: #2c3e50;
    font-size: 14px;
}

.header-contact i {
    color: #e74c3c;
    margin-right: 5px;
}

/* 导航栏样式 */
.navbar {
    background-color: #2c3e50;
}

.navbar ul {
    display: flex;
    justify-content: center;
}

.navbar li {
    position: relative;
}

.navbar a {
    display: block;
    padding: 18px 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    background-color: #1a252f;
    color: #fff;
}

.navbar a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #e74c3c;
}

/* Banner区域样式 */
.banner {
    height: 400px;
    background-color: #34495e;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.banner h2 {
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.banner p {
    font-size: 18px;
    line-height: 1.8;
}

/* 主要内容区域样式 */
.main-content {
    padding: 40px 0 60px;
    min-height: 500px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

/* 首页特定样式 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* 产品展示样式 */
.products-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 200px;
    background-color: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-info p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
}

/* 新闻列表样式 */
.news-list {
    margin-top: 30px;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.news-date {
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.news-item h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.news-item p {
    color: #555;
    line-height: 1.6;
}

.news-more {
    text-align: center;
    margin-top: 30px;
}

.news-more a {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.news-more a:hover {
    background-color: #2980b9;
}

/* 产品网格样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-card-img {
    height: 220px;
    background-color: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-content {
    padding: 25px;
}

.product-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    background-color: #f1f8ff;
    color: #0366d6;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* 公司简介样式 */
.company-intro {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.company-intro h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.company-intro p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.company-image {
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #7f8c8d;
    font-weight: 500;
}

.award-section {
    margin-top: 50px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.award-section h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.award-section p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

.award-section .award-name {
    color: #e74c3c;
    font-weight: 600;
    font-size: 20px;
    margin-top: 10px;
}

/* 联系我们样式 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: #f1f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.contact-details p {
    color: #7f8c8d;
    line-height: 1.6;
}

.map-container {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.map-image {
    width: 100%;
    height: 250px;
    background-color: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    position: relative;
}

.map-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 600;
    color: #2c3e50;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.map-details {
    padding: 25px;
}

.map-details h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.map-details p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 10px;
}

.business-hours {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.hours-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    color: #555;
}

.hours-list li strong {
    color: #2c3e50;
}

/* 底部样式 */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #e74c3c;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #bdc3c7;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cert-badge {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    color: #ecf0f1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .header-contact {
        text-align: center;
    }
    
    .navbar ul {
        flex-wrap: wrap;
    }
    
    .navbar a {
        padding: 15px 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .company-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .banner h2 {
        font-size: 32px;
    }
    
    .banner p {
        font-size: 16px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .products-showcase,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .company-intro {
        padding: 20px;
    }
}


/* 新增"查看更多产品"按钮样式 */
.more-products {
	text-align: center;
	margin: 40px 0 60px;
}

.more-products-btn {
	display: inline-block;
	padding: 15px 40px;
	background-color: #e74c3c;
	color: #fff;
	border-radius: 30px;
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.more-products-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: 0.5s;
	z-index: -1;
}

.more-products-btn:hover {
	background-color: #c0392b;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

.more-products-btn:hover::before {
	left: 100%;
}

.more-products-btn i {
	margin-left: 8px;
	transition: transform 0.3s ease;
}

.more-products-btn:hover i {
	transform: translateX(5px);
}

/* 确保产品展示区域与按钮之间有适当的间距 */
.products-showcase {
	margin-bottom: 30px;
}


		
.footer-link {
	color: #bdc3c7; /* 文本颜色 */
	text-decoration: none; /* 去掉下划线 */
}

.footer-link:hover {
	color: #007bff; /* 鼠标悬停时的颜色 */
	text-decoration: underline; /* 鼠标悬停时显示下划线 */
}