/* 轮播图样式 */
.banner-section {
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.banner-list {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-item.active {
    opacity: 1;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 24px;
}

/* 轮播图指示器 */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.banner-indicators span.active {
    background: #fff;
}

/* 轮播图按钮 */
.banner-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.3);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 50%;
}

.banner-btn:hover {
    background: rgba(0,0,0,0.5);
}

.banner-btn.prev {
    left: 20px;
}

.banner-btn.next {
    right: 20px;
}

/* 特色推荐样式 */
.featured-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.featured-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
}

.featured-content h3 {
    margin-bottom: 10px;
}

.featured-content p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    background: #DE2910;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background: #c62410;
}

/* 旅游资讯样式 */
.news-section {
    padding: 60px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    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: 20px;
}

.news-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #DE2910;
    text-decoration: none;
}

/* 用户评价样式 */
.testimonial-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.quote {
    color: #333;
    font-style: italic;
    margin-bottom: 10px;
}

.author {
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .banner-content h2 {
        font-size: 32px;
    }

    .banner-content p {
        font-size: 18px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .banner-btn {
        display: none;
    }
} 