/* 美景页面样式 */
.scenery-banner {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('../images/jieyang-overview.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 游玩攻略样式（替代季节推荐样式） */
.travel-guide {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.guide-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

.guide-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.guide-tab {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    background-color: #fff;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.guide-tab.active,
.guide-tab:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.guide-content {
    display: none;
}

.guide-content.active {
    display: block;
}

.guide-card {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.guide-card img {
    width: 40%;
    object-fit: cover;
}

.guide-info {
    padding: 2rem;
    flex: 1;
}

.guide-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 25px;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* 五日深度游样式 */
.itinerary-overview {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.itinerary-overview h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.day-plans {
    margin-top: 2rem;
}

.day-plan {
    margin-bottom: 2rem;
    background-color: rgba(30, 136, 229, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.day-plan h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.plan-details {
    list-style: none;
}

.plan-details li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.time {
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.75rem;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
}

/* 美食地图样式 */
.food-map {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.food-map h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.food-locations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.food-location {
    background-color: rgba(67, 160, 71, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid var(--secondary-color);
}

.food-location h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.food-location h4 i {
    margin-right: 0.5rem;
}

.food-location ul {
    list-style: none;
}

.food-location ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.food-location ul li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0.5rem;
    top: 0;
}

/* 实用贴士样式 */
.travel-tips {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.travel-tips h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.tips-list {
    list-style: none;
}

.tips-list li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.tips-list li:before {
    content: "\f05a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 0;
}

.tips-list li strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* 景点卡片样式 */
.scenery-spots {
    padding: 4rem 0;
}

.spots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.spot-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 轮播区域样式 */
.spot-slider {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* 3:2 比例 */
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background-color: #f5f5f5; /* 图片加载时的背景色 */
}

.spot-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spot-slider img.active-slide {
    opacity: 1;
}

.slide-prev, .slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.slide-prev:hover, .slide-next:hover {
    opacity: 1;
}

.slide-prev {
    left: 15px;
}

.slide-next {
    right: 15px;
}

.slide-indicator {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* 景点信息区样式 */
.spot-info {
    padding: 1.5rem;
}

.spot-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.spot-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background-color: #f0f8ff;
    color: #1e88e5;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.spot-desc {
    color: #333;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.visit-info {
    background-color: #fafafa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--accent-color);
    margin-right: 0.8rem;
    margin-top: 0.3rem;
}

.btn-details {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-details:hover {
    background-color: var(--accent-color);
}

/* 摄影指南样式 */
.photo-guide {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.guide-content {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.guide-text {
    flex: 1;
}

.guide-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.guide-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tip-item {
    text-align: center;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.tip-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.tip-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.guide-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 比例 */
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* 响应式调整 */
@media (max-width: 991px) {
    .guide-card {
        flex-direction: column;
    }
    
    .guide-card img {
        width: 100%;
        height: 200px;
    }
    
    .guide-content {
        flex-direction: column;
    }
    
    .spot-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content p {
        font-size: 1.2rem;
    }
    
    .guide-tabs {
        flex-wrap: wrap;
    }
    
    .guide-tab {
        padding: 0.6rem 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .food-locations {
        grid-template-columns: 1fr;
    }
    
    .day-plan {
        padding: 1.2rem;
    }
    
    .plan-details li {
        flex-direction: column;
    }
    
    .time {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 575px) {
    .spot-card {
        margin: 0 10px 2rem;
    }
    
    .tip-item {
        padding: 1rem;
    }
    
    .itinerary-overview,
    .food-map,
    .travel-tips {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .guide-gallery {
        grid-template-columns: 1fr;
    }
    
    .guide-gallery img {
        padding-bottom: 66.67%; /* 在移动端调整为3:2比例 */
    }
}
