/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo h1 {
    color: #2c3e50;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-contact {
    display: flex;
    align-items: center;
}

.contact-info .phone {
    font-weight: 600;
    color: #3498db;
    font-size: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 首页横幅样式 */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    padding: 12px 30px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide.active img{
	border: 0px;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}



 /* 新闻模块样式 */
        .news {
            padding: 80px 5%;
            background-color: #f8f9fa;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 50px;
            color: #2c3e50;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: #3498db;
        }

        .news-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }

        .news-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            overflow: hidden;
        }

        .news-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        }

        .news-image {
            height: 220px;
            overflow: hidden;
        }

        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .news-card:hover .news-image img {
            transform: scale(1.05);
        }

        .news-content {
            padding: 25px;
        }

        .news-meta {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .news-date {
            background-color: #3498db;
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }

        .news-title {
            font-size: 1.4rem;
            margin-bottom: 12px;
            color: #2c3e50;
        }

        .news-excerpt {
            color: #666;
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .read-more {
            color: #3498db;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: color 0.3s ease;
        }

        .read-more:hover {
            color: #2980b9;
        }

        .news-archive {
            text-align: center;
        }

        .archive-link {
            color: #3498db;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .archive-link:hover {
            color: #2980b9;
        }

/* 通用部分样式 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3498db;
}

/* 关于我们样式 */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image .image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #ecf0f1;
    transition: transform 0.5s ease;
}

.about-image:hover .image-placeholder {
    transform: scale(1.05);
}

/* 产品展示样式 */
.products {
    background-color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
	  justify-content: center;   /* 水平居中 */
	  align-items: center;       /* 垂直居中 */
}
.product-image img {
    max-height: 250px;
    width: 100%;
    display: block;
}
.product-image .image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ecf0f1;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image .image-placeholder {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.product-info p {
    margin-bottom: 20px;
    color: #666;
}

.product-btn {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-btn:hover {
    background-color: #2980b9;
}

/* 案例展示样式 */
.cases {
    background-color: #f8f9fa;
}

.case-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.case-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-item .image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ecf0f1;
    transition: transform 0.5s ease;
}

.case-item:hover .image-placeholder {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.case-item:hover .case-overlay {
    transform: translateY(0);
}

.case-overlay h3 {
    margin-bottom: 10px;
}

/* 联系我们样式 */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    margin-bottom: 30px;
    color: #2c3e50;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h4 {
    margin-bottom: 10px;
    color: #3498db;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    padding: 12px 30px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #2980b9;
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: white;
    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,
.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nav-contact {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-date {
        min-width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .news-date .day {
        font-size: 1.5rem;
    }
}






 /* 内页横幅样式 */
.ny_banner {
	width: 100%;
	height: 300px;
	background: linear-gradient(135deg, #1a73e8 0%, #6c8ef5 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 30px;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	margin-top: 80px;
}

.ny_banner-content {
	text-align: center;
	color: white;
}

.ny_banner h1 {
	font-size: 2.5rem;
	margin-bottom: 15px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ny_banner p {
	font-size: 1.2rem;
	opacity: 0.9;
}
 /* 面包屑导航 */
        .breadcrumb {
            padding: 15px 0;
            margin-bottom: 25px;
            border-bottom: 1px solid #e1e5eb;
        }
        
        .breadcrumb a {
            color: #666;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .breadcrumb a:hover {
            color: #1a73e8;
        }
        
        .breadcrumb span {
            color: #999;
            margin: 0 10px;
        }
        
        /* 栏目标题 */
        .ny_section-title {
            font-size: 2rem;
            color: #2d3748;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 3px solid #1a73e8;
            font-weight: 600;
        }
        
        /* 正文内容 */
        .ny_content {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            margin-bottom: 40px;
        }
        
        .ny_content-text {
            font-size: 1.1rem;
            color: #4a5568;
            line-height: 1.8;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .ny_container {
                padding: 0 15px;
            }
            
            .ny_banner {
                height: 200px;
            }
            
            .ny_banner h1 {
                font-size: 1.8rem;
            }
            
            .ny_banner p {
                font-size: 1rem;
            }
            
            .section-title {
                font-size: 1.6rem;
            }
            
            .ny_content {
                padding: 20px;
            }
        }
        
        @media (max-width: 480px) {
            .ny_banner {
                height: 160px;
            }
            
            .ny_banner h1 {
                font-size: 1.5rem;
            }
            
            .section-title {
                font-size: 1.4rem;
            }
            
            .breadcrumb {
                font-size: 0.9rem;
            }
        }
		
		
		/* 主要内容区域布局 */
        .main-content {
            display: flex;
            gap: 30px;
        }
        
        /* 左侧产品分类导航 */
        .category-sidebar {
            flex: 0 0 250px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .category-list {
            list-style: none;
            padding: 20px 0;
        }
        
        .category-item {
            padding: 12px 20px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .category-item a {
            display: block;
            color: #4a5568;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .category-item a:hover {
            color: #1a73e8;
            background: #f8fafc;
        }
        
        .category-item.active a {
            color: #1a73e8;
            background: #ebf2ff;
            border-left: 3px solid #1a73e8;
			padding: 5px 10px;
        }
        
        .category-title {
            font-size: 1.1rem;
            font-weight: 500;
        }
        
        .category-count {
            float: right;
            color: #a0aec0;
            font-size: 0.9rem;
        }
        
        /* 右侧内容区域 */
        .content-area {
            flex: 1;
        }
        
        .content {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            margin-bottom: 40px;
        }
        
        .content-text {
            font-size: 1.1rem;
            color: #4a5568;
            line-height: 1.8;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .container {
                padding: 0 15px;
            }
            
            
            .content {
                padding: 20px;
            }
            
            .main-content {
                flex-direction: column;
            }
            
            .category-sidebar {
                flex: none;
                width: 100%;
            }
        }
        
        