/* 首页样式 */

/* Banner样式 */
.banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 14px 0 0;
    border-radius: 10px;
    max-width: 1000px;
    width: 90%;
}

    .banner-content h1 {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .banner-content p {
        font-size: 18px;
        margin-bottom: 30px;
        line-height: 1.5;
    }

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

    .btn-primary:hover {
        background-color: #2980b9;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
    }

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

    .btn-secondary:hover {
        background-color: white;
        color: #3498db;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
    }

/* 视频部分样式 */
.video-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

    .video-section .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

.video-section-content {
    text-align: center;
}

    .video-section-content h2 {
        font-size: 36px;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 30px;
    }

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .video-container video {
        width: 100%;
        height: auto;
    }

/* 特点部分样式 */
.features {
    padding: 80px 0;
    background-color: white;
}

    .features .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* 产品中心部分样式 */
.categories {
    padding: 80px 0;
    background-color: #f8f9fa;
}

    .categories .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 36px;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 15px;
    }

    .section-title p {
        font-size: 18px;
        color: #666;
    }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.category-item {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

    .category-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .category-item a {
        text-decoration: none;
        color: inherit;
        display: block;
    }

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

/* 核心业务部分样式 */
.products {
    padding: 80px 0;
    background-color: white;
}

    .products .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.business-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .business-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.business-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.business-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.business-item p,
.business-item div {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .banner {
        height: 500px;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .video-section,
    .features,
    .categories,
    .products {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 400px;
    }

    .banner-content {
        padding: 30px;
    }

        .banner-content h1 {
            font-size: 28px;
        }

        .banner-content p {
            font-size: 14px;
        }

    .banner-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 14px;
        width: 150px;
        text-align: center;
    }

    .video-section,
    .features,
    .categories,
    .products {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 16px;
    }

    .feature-item,
    .business-item {
        padding: 20px;
    }

    .feature-icon,
    .business-icon {
        font-size: 40px;
    }

    .feature-item h3,
    .business-item h3 {
        font-size: 20px;
    }
}


/* 手机端优化 */
@media (max-width: 480px) {
    .banner {
        height: 250px;
    }

    .banner-content {
        /* padding: 15px; */
        /* max-width: 250px; */
        background: none;
    }

        .banner-content h1 {
            font-size: 20px;
            margin-bottom: 10px;
        }

        .banner-content p {
            font-size: 15px;
            margin-bottom: 15px;
        }

    .btn {
        padding: 6px 16px;
        font-size: 12px;
        width: 110px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}
