/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 24px;
    font-weight: bold;
    color: #1890ff;
}

/* 导航菜单样式 */
.nav {
    display: flex;
    align-items: center;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover, .nav a.active {
    color: #1890ff;
}

/* Banner轮播图样式 */
.banner {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播控制按钮 */
.banner-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;
}

.banner-control {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.banner-control:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* 轮播指示器 */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #1890ff;
}

/* 功能介绍样式 */
.features {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 60px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 80px;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-content .feature-title {
    font-size: 28px;
    font-weight: bold;
    color: #1890ff;
    margin-bottom: 20px;
}

.feature-content .feature-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image img {
    max-width: 300px;
    height: auto;
}

/* 联系我们Banner样式 */
.contact-banner {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-banner-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-banner-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 32px;
    font-weight: bold;
    color: #1890ff;
    margin-bottom: 20px;
}

.contact-info .email {
    font-size: 18px;
    color: #333;
    margin: 0;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 头部响应式 */
    .header-content {
        padding: 15px 0;
        flex-direction: column;
        gap: 15px;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }

    .logo span {
        font-size: 20px;
    }

    /* 导航菜单响应式 */
    .nav ul {
        gap: 20px;
    }

    .nav a {
        font-size: 15px;
    }

    /* 轮播图响应式 */
    .banner {
        height: 300px;
    }

    .banner-control {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    /* 功能区域响应式 */
    .features {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .feature-item {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
        padding: 30px 20px;
    }

    .feature-item.reverse {
        flex-direction: column;
    }

    .feature-content .feature-title {
        font-size: 24px;
        text-align: center;
    }

    .feature-content .feature-desc {
        font-size: 16px;
        text-align: center;
    }

    .feature-image img {
        max-width: 250px;
    }

    /* 联系我们Banner响应式 */
    .contact-banner {
        height: 400px;
    }

    .contact-info {
        padding: 30px 20px;
    }

    .contact-info h2 {
        font-size: 24px;
    }

    .contact-info .email {
        font-size: 16px;
    }

    /* 页脚响应式 */
    .footer {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    /* 头部响应式 */
    .header-content {
        padding: 12px 0;
    }

    .logo img {
        width: 30px;
        height: 30px;
    }

    .logo span {
        font-size: 18px;
    }

    /* 轮播图响应式 */
    .banner {
        height: 250px;
    }

    .banner-control {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    /* 功能区域响应式 */
    .features {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .feature-item {
        margin-bottom: 50px;
        padding: 25px 15px;
    }

    .feature-content .feature-title {
        font-size: 22px;
    }

    .feature-content .feature-desc {
        font-size: 15px;
    }

    .feature-image img {
        max-width: 200px;
    }

    /* 联系我们Banner响应式 */
    .contact-banner {
        height: 300px;
    }

    .contact-info {
        padding: 25px 15px;
    }

    .contact-info h2 {
        font-size: 22px;
    }

    .contact-info .email {
        font-size: 15px;
    }

    /* 页脚响应式 */
    .footer {
        padding: 25px 0;
    }

    .footer p {
        font-size: 13px;
    }
}