/* 首页样式 */

/* Banner */
.banner {
    height: 600px;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.banner-slides {
    position: relative;
    height: 100%;
    width: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    left: 0;
    bottom: 100px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.banner-content .btn {
    font-size: 16px;
    padding: 12px 36px;
    background: linear-gradient(135deg, #1890ff, #40a9ff);
    border: none;
    color: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    box-shadow: 0 4px 15px rgba(24,144,255,0.3);
}

.banner-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24,144,255,0.4);
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* 轮播控制按钮 */
.banner-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.banner-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* 轮播箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.banner-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

/* 解决方案 */
.solutions {
    padding: 80px 0;
    background: #f8f9fa;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.solution-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
}

.solution-img {
    position: relative;
    width: 100%;
    height: 100%;
}

.solution-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.solution-item:hover .solution-img img {
    transform: scale(1.1);
}

.solution-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 1;
    transition: all 0.3s ease;
}

.solution-info h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.solution-info p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.solution-item:hover .solution-info {
    background: linear-gradient(to bottom, rgba(24,144,255,0.7), rgba(24,144,255,0.9));
}

.solution-more {
    text-align: center;
    margin-top: 50px;
}

.solution-more .btn {
    padding: 12px 36px;
    font-size: 16px;
    font-weight: 500;
}

/* 关于我们 */
.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-img {
    width: 540px;
    height: 360px;
    overflow: hidden;
    border-radius: 8px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.about-img:hover img {
    transform: scale(1.1);
}

.about-text {
    width: 580px;
}

.about-text h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-img,
    .about-text {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .banner-content h2 {
        font-size: 36px;
    }

    .banner-content p {
        font-size: 18px;
    }

    .solution-img img {
        height: 200px;
    }

    .solution-info h3 {
        font-size: 20px;
    }
    
    .solution-info p {
        font-size: 14px;
    }
}

/* 添加动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.solution-item:nth-child(1) { animation-delay: 0.1s; }
.solution-item:nth-child(2) { animation-delay: 0.2s; }
.solution-item:nth-child(3) { animation-delay: 0.3s; }
.solution-item:nth-child(4) { animation-delay: 0.4s; } 