/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #F5F5F5;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background-color: #2E7D32;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    color: #fff;
    font-size: 24px;
}

/* 导航菜单 */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #81C784;
}

/* 主体内容 */
main {
    margin-top: 80px;
    padding: 30px 0;
    min-height: calc(100vh - 140px);
}

/* 轮播图样式 */
.banner {
    margin-bottom: 40px;
}

.slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    text-align: center;
}

.slide-content h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 1.2em;
    margin-bottom: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: #fff;
    padding: 16px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.5);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: #fff;
}

/* 特色内容区域 */
.features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
}

.features .card {
    flex: 1;
    min-width: 300px;
    margin: 0;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.features .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
}

.features .card h3 {
    margin-bottom: 10px;
    color: #2E7D32;
}

.features .card p {
    margin-bottom: 15px;
}

/* 视频部分 */
.video-section {
    margin: 40px 0;
}

.video-section h2 {
    margin-bottom: 20px;
    color: #2E7D32;
}

/* 底部样式 */
footer {
    background-color: #2E7D32;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2E7D32;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #81C784;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .features {
        flex-direction: column;
    }
    
    .features .card {
        width: 100%;
        margin-bottom: 20px;
    }

    .slider {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }

    .slider {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 2em;
    }

    .slide-content p {
        font-size: 1em;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .slider {
        height: 250px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h2 {
        font-size: 1.5em;
    }
} 