
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* 导航样式 */
.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
    position: relative;
}

.main-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}




/* 页脚样式 */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--primary-color);
        font-size: 24px;
        cursor: pointer;
    }


    .main-nav {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 99;
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .carousel-caption {
        max-width: 80%;
    }
}


/* 资料下载页面专用样式 */
.downloads-page {
    width: 80%;
    padding: 40px 0;
    background-color: #f9f9f9;
    margin: 0 auto;
}

.download-categories {
    margin-bottom: 30px;
}

.category-tabs {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.category-tabs .tab-btn {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-tabs .tab-btn.active {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.download-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 20px;
    display: flex;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.file-icon {
    font-size: 28px;
    color: #2c3e50;
    margin-right: 20px;
    width: 50px;
    text-align: center;
}

.file-info {
    flex: 1;
}

.file-desc {
    color: #666;
    margin: 8px 0;
    font-size: 14px;
}

.file-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

.download-btn {
    background: #2c3e50;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s;
}

.download-btn:hover {
    background: #1a252f;
}

.download-notice {
    margin-top: 50px;
    padding: 30px;
    background: #f0f7ff;
    border-radius: 8px;
}

.notice-box h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.notice-box ul {
    padding-left: 20px;
}

.notice-box li {
    margin-bottom: 8px;
    color: #555;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
    }

    .file-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}



/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2c3e50;
    color: white;
    border: 2px solid #2c3e50;
}

.btn-primary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
}

.btn-outline {
    background-color: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-outline:hover {
    background-color: #2c3e50;
    color: white;
}

.btn-light {
    background-color: white;
    color: #2c3e50;
    border: 2px solid white;
}

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background-color: white;
    color: #2c3e50;
}


/* 内容区块通用样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #7f8c8d;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* 关于我们区块 */
.about-section {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

/* 优势区块 */
.advantages-section {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    font-size: 40px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.advantage-card p {
    color: #7f8c8d;
    font-size: 15px;
}

/* 产品区块 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.product-info p {
    color: #7f8c8d;
    font-size: 14px;
}

/* 案例区块 */
.cases-section {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.case-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.case-info p {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 14px;
}

/* 制造能力区块 */
.manufacturing-section {
    padding: 80px 0;
    background-color: white;
}

.manufacturing-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.step {
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #2c3e50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.step p {
    color: #7f8c8d;
    font-size: 14px;
}

/* 新闻区块 */
.news-section {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
}

.news-date {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
}

.news-date .day {
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    font-size: 14px;
    text-transform: uppercase;
    margin: 5px 0;
}

.news-date .year {
    font-size: 14px;
}

.news-content {
    padding: 25px;
    flex: 1;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.news-content p {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 14px;
}

.read-more {
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.read-more:hover::after {
    margin-left: 10px;
}

/* 客户评价区块 */
.testimonials-section {
    padding: 80px 0;
    background-color: white;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    display: none;
    padding: 30px;
    background-color: #f5f7fa;
    border-radius: 8px;
    text-align: center;
}

.testimonial.active {
    display: block;
}

.testimonial-content p {
    font-size: 18px;
    font-style: italic;
    color: #555;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 24px;
    color: #2c3e50;
    opacity: 0.3;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.client-info p {
    font-size: 14px;
    color: #7f8c8d;
}

/* 合作伙伴区块 */
.partners-section {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.partners-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* 联系CTA区块 */
.contact-cta {
    padding: 100px 0;
    background-color: #2c3e50;
    color: white;
    text-align: center;
}

.contact-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 页脚样式 */
.site-footer {
    background-color: #1a252f;
    color: white;
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #3498db;
}

.footer-column p {
    color: #bdc3c7;
    font-size: 14px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #bdc3c7;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #bdc3c7;
    font-size: 14px;
}

.contact-info i {
    width: 20px;
    text-align: center;
    color: #3498db;
}

.subscribe-form {
    display: flex;
    margin-bottom: 15px;
}

.subscribe-form input {
    flex: 1;
    padding: 10px
}
