/* 轮播图 */
/* swiper容器 */
.swiper-container {
    width: 100%;
    height: auto;
    position: relative;
    top: 1px
}

/* swiper 图片 */
.swiper-slide img {
    width: 100%;
    height: 500px;
    display: block;
}

.swiper-pagination {
    bottom: 1px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #ff9500;
    width: 40px;
    border-radius: 20px;
}


.section1 {
    padding: 50px 0 20px 0;
    background: #f8f9fa;
    text-align: center;
}
.section1-container {
    max-width: 1200px;
    margin: 0 auto;
}
.section1-title {
    font-size: 40px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 400;
}

.section1-subtitle {
    max-width: 900px;
    margin: 0 auto 0px;
    color: #666;
    line-height: 1.8;
}

.section1-about-main {
    max-width: 1200px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 30px;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 80px;
}

.section1-company-image {
    width: 100%;
    height: 280px;
   /* background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=500') center/cover;*/
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section1-about-content h3 {
    font-size: 35px;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 500;
}

.section1-about-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Factories Grid - 按图片精确布局 */
.section1-factories-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section1-factories-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

.section1-factory-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .section1-factory-card:hover {
        transform: translateY(-5px);
    }

.section1-factory-image {
    width: 100%;
    height: 180px;
/*    background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=500') center/cover;*/
}

.section1-factory-info {
    padding: 20px;
    text-align:left
}

    .section1-factory-info h4 {
        color: #2c3e50;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .section1-factory-info p {
        color: #666;
        line-height: 1.6;
    }


@media (max-width: 768px) {

    .swiper-slide img {
        height: 240px;
    }
    .section1-about-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section1-factories-row {
        grid-template-columns: 1fr;
    }

   

    .footer-main,
    .footer-secondary {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {

    .swiper-slide img {
        height: 240px;
    }
    .section1-title {
        font-size: 2rem;
    }

    .footer-main,
    .footer-secondary {
        grid-template-columns: 1fr;
    }
}

.section2 {
    padding: 0px 20px;
    background: white;
}
.section2-container {
    max-width: 1200px;
    margin: 0 auto;
    
}
.section2-factories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;
}
.section2-factory {
    flex: 1 1 300px;
}
.section2-factory img {
    width: 100%;
    border-radius: 4px;
}

@media (max-width: 768px) {
  
    .section2-factories {
        flex-direction: column;
        align-items: center;
    }
}



.section3 {
    background: #f8f9fa;
    margin-top: 2%;
    padding-top:20px;
}
.section3-container {
    max-width: 1200px;
    margin: 0 auto;
}
    /* 上面三张图 */
    .section3 .section3-top-images {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 20px;
    }

    .section3 .section3-top-images img {
        width: 32%;
        min-width: 280px;
        border-radius: 8px;
        height:265px;
    }

    /* 下面左图右文 */
    .section3 .section3-bottom {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 20px;
    }

    .section3 .section3-bottom img {
        flex: 1;
        min-width: 280px;
        border-radius: 8px;
    }

        .section3 .section3-bottom .section3-text {
            flex: 1;
            min-width: 280px;
        }

        .section3 .section3-bottom .section3-text h2 {
            font-size: 38px;
            margin-bottom: 15px;
        }

        .section3 .section3-bottom .section3-text p {
            font-size: 16px;
            line-height: 1.6;
            color: #555;
        }

/* 手机端适配 */
@media (max-width: 768px) {
    .section3 .section3-top-images img {
        width: 100%;
    }

    .section3 .section3-bottom {
        flex-direction: column;
    }

    .section3 .section3-bottom img,
    .section3 .section3-bottom .section3-text {
        width: 100%;
    }
}