/* 关于页面样式 */

/* 公司简介样式 */
.about {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

.about p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
}

/* 公司画廊样式 */
.company-gallery {
    padding: 0 40px 40px;
}

.company-gallery h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #222;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 工厂视频样式 */
.factory-video {
    padding: 0 40px 40px;
}

.factory-video h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #222;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.factory-video p {
    margin-top: 20px;
    line-height: 1.8;
    color: #444;
}

/* 为什么选择我们样式 */
.why-choose-us {
    padding: 0 40px 40px;
}

.why-choose-us h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #222;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.advantage-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #222;
}

.advantage-item p {
    line-height: 1.6;
    color: #666;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-item {
        padding: 20px;
    }
}