﻿/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

ul, li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
}

img, video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button {
    cursor: pointer;
    border: none;
}

/* ========== 媒体外层容器：统一边框+阴影（核心修复） ========== */
.media-frame {
    width: 100%;
    height: 100%;
    border: 5px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* 轮播图无任何边框阴影 */
.banner-main-img {
    border: none;
    box-shadow: none;
}

/* 顶部导航悬浮置顶 30%透明度 */
.header-wrap {
    width: 100%;
    height: 60px;
    background: rgba(75, 36, 130, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    color: #fff;
}

body {
    padding-top: 0;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .header-logo img {
        width: 32px;
        height: 32px;
    }

.nav-list {
    display: flex;
    gap: 30px;
}

    .nav-list a {
        color: #fff;
        font-size: 14px;
    }

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-btn, .login-btn {
    padding: 4px 10px;
    border-radius: 4px;
    background: #fff;
    color: #4b2482;
    font-size: 13px;
}

.mobile-menu-btn {
    display: none;
}

/* Banner轮播 */
.banner-wrap {
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
}

.banner-slide-box {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s ease;
}

.banner-item {
    width: 100%;
    flex-shrink: 0;
}

/* 底部圆点 */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
}

    .banner-dot.active {
        background: #fff;
    }

/* 简介区域 */
.intro-section {
    width: 90%;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: flex-start;
}

.intro-text-box {
    padding: 20px;
    box-shadow: 0 0 8px #eee;
}

    .intro-text-box h3 {
        margin-bottom: 16px;
        color: #666;
        font-size: 16px;
    }

    .intro-text-box p {
        font-size: 13px;
        line-height: 1.7;
        color: #555;
    }

.intro-media-box {
    width: 100%;
    height: 320px;
}

/* 游玩项目 */
.project-title {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin: 80px 0 30px;
}

.project-list {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.project-card {
    height: 340px;
    box-shadow: 0 0 6px #f1f1f1;
}

.project-card-img {
    width: 100%;
    height: 200px;
}

.project-card-text {
    padding: 12px;
}

    .project-card-text h4 {
        font-size: 14px;
        margin-bottom: 8px;
        color: #333;
    }

    .project-card-text p {
        font-size: 12px;
        color: #777;
        line-height: 1.6;
        margin-bottom: 12px;
    }

.orange-btn {
    display: block;
    width: 100%;
    height: 32px;
    background: #ff9933;
    color: #fff;
    text-align: center;
    line-height: 32px;
    border-radius: 4px;
    font-size: 13px;
}

/* 中间视频区块 */
.video-section {
    width: 90%;
    margin: 80px auto;
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 30px;
    align-items: center;
}

.video-box {
    width: 480px;
    height: 280px;
}

.video-text h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: #444;
}

.video-text p {
    font-size: 13px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.video-text .orange-btn {
    width: 160px;
}

/* 景点动态 */
.news-title {
    width: 90%;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #333;
}

.news-list {
    width: 90%;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 16px;
}

.news-card-img {
    width: 100%;
    height: 460px;
}

.news-card {
    height: auto;
}

.news-card-text {
    padding: 8px 4px;
}

    .news-card-text p {
        font-size: 12px;
        color: #888;
    }

    .news-card-text h4 {
        font-size: 14px;
        margin-top: 4px;
    }

/* 页脚 */
.footer-wrap {
    width: 100%;
    height: 260px;
    background: #f8f8f8;
    padding: 40px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.footer-col h4 {
    font-size: 14px;
    margin-bottom: 16px;
    color: #333;
}

.footer-col li {
    font-size: 12px;
    color: #666;
    line-height: 2;
}

.footer-social img {
    width: 24px;
    height: 24px;
    margin-top: 8px;
}

.footer-bottom {
    width: 100%;
    padding: 12px 5%;
    font-size: 11px;
    color: #999;
    background: #f0f0f0;
}

/* 悬浮客服 */
.float-service {
    position: fixed;
    right: 20px;
    bottom: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #00c853;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

    .float-service img {
        width: 35px;
        height: 35px;
    }
