/* 首页特定样式 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* 特色板块 */
.features {
    display: flex;
    justify-content: space-around;
    padding: 4rem 5%;
    background-color: #f5f5f5;
}

.feature-item {
    text-align: center;
    flex: 1;
    margin: 0 1rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

/* 新闻预览 */
.news-preview {
    padding: 4rem 5%;
}

.news-preview h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: #2c5530;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
} 