﻿
.hero-section {
    background: url('/pcshop/images/aboutusbg.jpg.png') center/cover;
    height: 250px;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 50px;
    position: relative;
}

.hero-content {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

    .hero-content h1 {
        font-size: 36px;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 16px;
        max-width: 460px;
    }

.main-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.company-intro {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 30px 0;
}

.intro-text {
    flex: 1;
}

    .intro-text h2 {
        font-size: 28px;
        color: #333;
        margin-bottom: 20px;
    }

    .intro-text p {
        color: #666;
        margin-bottom: 15px;
        text-align: justify;
    }

.equipment-image {
    flex: 0 0 350px;
    overflow: visible;
}

    .equipment-image img {
        width: 100%;
        object-fit: cover;
    }

.vehicle-gallery {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    justify-content: center;
}

.vehicle-item {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

    .vehicle-item img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .vehicle-item p {
        margin-top: 20px;
        color: #666;
        font-size: 14px;
    }

.vehicle-gallery-swiper {
    margin: 40px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    position: relative;
}

    .vehicle-gallery-swiper .vehicle-item {
        max-width: none;
    }


.vehicle-gallery-wrapper .prevbtn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    left: -100px;
}

.certificates-wrapper .prevbtn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 600px - 100px);
}

.vehicle-gallery-wrapper .nextbtn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    right: -100px;
}

.certificates-wrapper .nextbtn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: calc(50% - 20px);
    right: calc(50% - 600px - 100px);
}


.company-description {
    border-radius: 8px;
    padding: 50px 0;
}

    .company-description p {
        color: #666;
        text-align: justify;
        margin-bottom: 15px;
    }

/* 基础样式 */
.certificate-container {
    margin-top: 40px;
    background-image: url('/pcshop/images/sisbg.png');
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 40px 0;
    position: relative;
}

/* 静态显示样式（3张及以下） */
.certificates-static {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-item {
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.certificate {
    width: calc(100% - 30px);
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px;
}

    .certificate img {
        width: 100%;
        height: 330px;
        object-fit: contain;
        border-radius: 4px;
    }

.certificate-item p {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.certificates-swiper {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

    .certificates-swiper .certificate-item {
        max-width: none;
    }

@media (max-width: 768px) {
    .certificates-static {
        flex-direction: column;
        align-items: center;
    }

    .certificate-item {
        max-width: 300px;
    }

    .company-intro {
        flex-direction: column;
    }

    .equipment-image {
        flex: none;
        max-width: 100%;
    }

    .vehicle-gallery {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .vehicle-item {
        max-width: 300px;
    }

        .vehicle-item img {
            height: 250px;
        }

    .certificates {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .vehicle-item {
        max-width: 280px;
    }

        .vehicle-item img {
            height: 200px;
        }
}
