﻿* {
    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;
}

button, select {
    cursor: pointer;
    border: none;
}

body {
    max-width: 1920px;
    margin: 0 auto;
    overflow-x: hidden;
    padding-top: 60px;
}

/* 通用图片白边阴影 */
.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;
}

/* 顶部导航 */
.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;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .header-logo img {
        width: 32px;
        height: 32px;
        object-fit: cover;
    }

.nav-list {
    display: flex;
    gap: 30px;
}

    .nav-list a {
        color: #fff;
        font-size: 14px;
    }

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* PC端头部登录按钮 缩小内边距，和wap宽窄完全一致，紫色白底边框 */
.header-login-btn {
    background: #ffffff;
    color: #4b2482;
    border: 1px solid #4b2482;
    padding: 3px 8px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
}

    .header-login-btn:hover {
        background: #f9f3fc;
    }

.logout-header-btn {
    color: #4b2482;
    text-decoration: none;
    font-size: 13px;
}

/* 语言下拉 */
.lang-select-wrap {
    display: inline-block;
    margin-left: 12px;
}

.lang-select {
    height: 32px;
    padding: 0 8px;
    border-radius: 4px;
    border: none;
    color: #4b2482;
    font-size: 13px;
}

.mobile-menu-btn {
    display: none;
}

/* 橙色通用卡片购票按钮 */
.orange-btn {
    display: block;
    width: 160px;
    height: 32px;
    background: #ff9933;
    color: #fff;
    text-align: center;
    line-height: 32px;
    border-radius: 4px;
    font-size: 13px;
}

.project-card-text .orange-btn {
    width: 100%;
}

/* 板块标题+更多一行布局 */
.section-title-wrap {
    width: 90%;
    margin: 80px auto 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-title {
    font-size: 18px;
    color: #333;
}

.more-link {
    font-size: 14px;
    color: #ff9933;
}

    .more-link:hover {
        text-decoration: underline;
    }

/* 游玩项目四列网格 */
.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-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.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;
    }

.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;
        margin-bottom: 20px;
    }

.intro-media-box {
    width: 100%;
    height: 320px;
}

    .intro-media-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.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-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* 景点动态：间距50px，比例330/480 */
.news-list {
    width: 90%;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.news-card {
    box-shadow: 0 0 6px #f1f1f1;
    display: flex;
    flex-direction: column;
}

.news-card-img {
    width: 100%;
    aspect-ratio: 330 / 480;
}

    .news-card-img .media-frame {
        width: 100%;
        height: 100%;
    }

    .news-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.news-card-text {
    padding: 8px 12px;
}

    .news-card-text p {
        font-size: 12px;
        color: #888;
        margin-bottom: 4px;
    }

    .news-card-text h4 {
        font-size: 14px;
        color: #333;
    }

/* 页脚、悬浮客服 */
.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;
    object-fit: cover;
}

.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;
        object-fit: cover;
    }
