/* ==================== visit 页面样式 ==================== */

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'HarmonyOS Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
            background: white;
            overflow-x: hidden;
        }

        /* 主容器 - 响应式布局 */
        .main-wrapper {
            width: 100%;
            max-width: 1920px;
            margin: 0 auto;
            position: relative;
            background: white;
        }

        /* 1200px-1920px：流体布局（替代有害的transform scale） */
        @media screen and (min-width: 1200px) and (max-width: 1920px) {
            .main-wrapper {
                width: 100vw;
                max-width: 100vw;
                margin: 0;
                position: relative;
                /* 移除transform scale，使用自然流体布局 */
            }
            body {
                min-height: auto;
                /* 移除缩放相关的高度计算 */
            }
        }

        /* 1920px以上：居中显示，取消缩放 */
        @media screen and (min-width: 1921px) {
            .main-wrapper {
                width: 1920px;
                max-width: 1920px;
                transform: none;
            }
            body {
                min-height: auto;
            }
        }
        
        /* 小于1200px */
        @media screen and (max-width: 1199px) {
            .main-wrapper {
                width: 100%;
                max-width: 100%;
                transform: none;
            }
        }

        /* 内容容器 */
        .content-container {
            width: 1920px;
            padding-top: 150px; /* header(110) + spacing(40) - 统一间距标准 */
            display: flex;
            position: relative;
        }

        /* 侧边导航 */
        .sidebar {
            width: 98px;
            position: sticky;
            top: 150px; /* 与 content-container padding-top 保持一致 - 统一间距标准 */
            margin-left: 49px;
            margin-right: 118px;
            align-self: flex-start;
        }

        .sidebar-nav {
            position: relative;
        }

        .sidebar-nav a {
            display: block;
            font-size: 24px;
            line-height: 60px;
            color: #999999;
            text-decoration: none;
            transition: color 0.3s ease;
            white-space: nowrap; /* 防止文字换行 */
        }

        .sidebar-nav a.active {
            color: #000000;
        }

        .sidebar-nav a:hover {
            color: #000000;
        }

        /* 侧边导航指示器 */
        .sidebar-indicator {
            position: absolute;
            left: 0;
            top: 47px;
            width: 98px; /* 与侧边栏宽度一致，覆盖整个文字 */
            height: 3px;
            background: #000000;
            opacity: 0; /* 初始状态隐藏 */
            transition: top 0.3s ease, width 0.3s ease, opacity 0.3s ease;
        }

        /* 主内容区域 */
        .main-content {
            flex: 1;
            max-width: 1605px;
        }

        /* 画廊区域 */
        .gallery-section {
            width: 1605px;
            margin-bottom: 30px; /* section底部到下方分割线：30px */
        }

        /* 主Banner */
        .main-banner {
            width: 1605px;
            height: 756px;
            margin-bottom: 0;
            padding-bottom: 30px; /* 精确控制：banner图底部到分割线 30px */
            overflow: hidden;
            box-sizing: content-box; /* padding不计入height */
        }

        .main-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* 分割线 */
        .divider {
            width: 1605px;
            height: 1px;
            background: #A6A6A6;
            margin: 0;
            margin-top: 0;
            margin-bottom: 30px; /* 分割线到buttons：30px */
        }

        /* 画廊控制按钮 */
        .gallery-controls {
            display: flex;
            justify-content: flex-end;
            gap: 14px;
            margin-bottom: 20px;
        }

        .gallery-arrow {
            width: 50px;
            height: 50px;
            cursor: pointer;
            opacity: 0.7;
            transition: all 0.3s ease;
        }

        .gallery-arrow:hover {
            opacity: 1;
            transform: scale(1.1);
        }

        .gallery-arrow.disabled {
            opacity: 0.3;
            cursor: not-allowed;
            pointer-events: none;
        }

        .gallery-arrow img {
            width: 100%;
            height: 100%;
        }

        /* 画廊卡片容器 */
        .gallery-cards-container {
            width: 1605px;
            height: 366px;
            overflow: hidden;
            margin-bottom: 0;
            padding-bottom: 0; /* 使用gallery-section的margin-bottom控制间距 */
            box-sizing: content-box;
        }

        .gallery-cards-wrapper {
            display: flex;
            gap: 70px; /* 调整为70px以对齐banner */
            transition: transform 0.5s ease;
        }

        .gallery-card {
            width: 488px;
            height: 366px;
            flex-shrink: 0;
            cursor: zoom-in;
            transition: transform 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .gallery-card:hover {
            transform: translateY(-10px);
        }

        .gallery-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease;
        }

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

        /* 图片浮窗 */
        .image-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            cursor: zoom-out;
        }

        .image-modal.active {
            display: flex;
            animation: modalFadeIn 0.3s ease;
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        .image-modal img {
            max-width: 95%;
            max-height: 95%;
            width: auto;
            height: auto;
            object-fit: contain;
            animation: imageZoomIn 0.3s ease;
        }

        @keyframes imageZoomIn {
            from {
                transform: scale(0.8);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .image-modal-close {
            position: absolute;
            top: 30px;
            right: 30px;
            width: 40px;
            height: 40px;
            color: white;
            font-size: 40px;
            line-height: 40px;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
            z-index: 10001;
        }

        .image-modal-close:hover {
            transform: rotate(90deg);
        }

        /* 视频浮窗 */
        .video-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }

        .video-modal.active {
            display: flex;
            animation: modalFadeIn 0.3s ease;
        }

        .video-modal-content {
            position: relative;
            width: 90%;
            max-width: 1200px;
            animation: videoZoomIn 0.3s ease;
        }

        @keyframes videoZoomIn {
            from {
                transform: scale(0.9);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .video-modal video {
            width: 100%;
            height: auto;
            display: block;
            background: #000;
        }

        .video-modal-close {
            position: absolute;
            top: -50px;
            right: 0;
            width: 40px;
            height: 40px;
            color: white;
            font-size: 40px;
            line-height: 40px;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
            z-index: 10001;
        }

        .video-modal-close:hover {
            transform: rotate(90deg);
        }

        /* 第一张卡片的播放图标 */
        .gallery-card-video {
            position: relative;
        }

        .gallery-card-video::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            transition: all 0.3s ease;
        }

        .gallery-card-video::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-40%, -50%);
            width: 0;
            height: 0;
            border-left: 30px solid #000;
            border-top: 20px solid transparent;
            border-bottom: 20px solid transparent;
            z-index: 1;
            pointer-events: none;
        }

        .gallery-card-video:hover::after {
            background: rgba(255, 255, 255, 1);
            transform: translate(-50%, -50%) scale(1.1);
        }

        /* 内容区块 */
        .content-section {
            width: 1599px;
            margin-bottom: 58px;
        }

        .section-title {
            font-size: 35px;
            line-height: 49px;
            color: #000000;
            margin-bottom: 26px;
        }

        .section-text {
            font-size: 18px;
            line-height: 35px;
            color: #000000;
        }

        /* 票务区域 */
        .tickets-section {
            margin-bottom: 58px;
        }

        .qr-area {
            display: flex;
            align-items: flex-start;
            margin-top: 43px;
            gap: 10px;
        }

        .qr-icon {
            width: 16px;
            height: 16px;
            margin-top: 5px;
            flex-shrink: 0;
        }

        .qr-text {
            font-size: 18px;
            font-weight: 700;
            line-height: 30px;
            color: #000000;
        }

        .qr-code {
            width: 170px;
            height: 170px;
            margin-top: 29px;
        }

        /* 开放时间 */
        .hours-section {
            margin-bottom: 58px;
        }

        .hours-content {
            font-size: 18px;
            line-height: 30px;
            color: #000000;
        }

        .hours-content strong {
            font-weight: 700;
            display: block;
        }

        /* 交通位置 */
        .location-section {
            display: flex;
            justify-content: space-between;
            width: 1319px;
            margin-bottom: 100px;
        }

        .location-info {
            flex: 1;
        }

        .contact-info {
            display: flex;
            gap: 17.5px;
            margin-top: 27px;
            margin-bottom: 35px;
        }

        .contact-icons {
            display: flex;
            flex-direction: column;
            gap: 34px;
            padding-top: 17px;
        }

        .contact-icon {
            width: 16px;
            height: 16px;
        }

        .contact-text {
            font-size: 18px;
            line-height: 50px;
            color: #000000;
        }

        .transport-info {
            font-size: 18px;
            line-height: 30px;
            color: #000000;
            max-width: 609px;
        }

        .location-map {
            width: 650px;
            height: 685px;
            flex-shrink: 0;
        }

        .location-map img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* 滚动触发动画 */
        .scroll-animate {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .scroll-animate.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Logo */
        
        
        
        
        /* 导航 */
        
        
        
        
        
        
        
        
        
        
        /* 地址 */
        
        
        
        
        
        
        
        
        /* 联系我们 */
        
        
        
        
        
        
        
        
        /* 社交图标 */
        
        
        
        
        
        
        
        
        
        
        
        
        /* 底部装饰线和版权 */
        
        
        
        
        

        /* 小于1200px：响应式流式布局 */
        @media (max-width: 1199px) {
            .main-wrapper {
                width: 100%;
            }

            .content-container {
                flex-direction: column;
                padding: 20px;
                padding-top: 130px;
            }
            
            /* 取消所有绝对定位 */
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            

            .sidebar {
                position: static;
                width: 100%;
                margin: 0 0 30px 0;
                display: flex;
                gap: 20px;
            }

            .sidebar-indicator {
                display: none;
            }

            .sidebar-nav {
                display: flex;
                gap: 20px;
            }

            .sidebar-nav a.active {
                border-bottom: 3px solid black;
            }

            .main-content,
            .gallery-section,
            .main-banner,
            .gallery-cards-container,
            .divider,
            .content-section,
            .location-section {
                width: 100%;
                max-width: 100%;
            }

            .main-banner {
                height: 50vh;
                min-height: 400px;
            }

            .gallery-cards-container {
                height: auto;
            }

            .gallery-card {
                width: 300px;
                height: 220px;
            }

            .location-section {
                flex-direction: column;
            }

            .location-map {
                width: 100%;
                height: auto;
                aspect-ratio: 650/685;
                margin-top: 30px;
            }

            .section-title {
                font-size: clamp(24px, 5vw, 35px);
            }

            .section-text,
            .hours-content,
            .contact-text,
            .transport-info {
                font-size: clamp(14px, 3vw, 18px);
                line-height: 1.8;
            }
            
            /* 取消所有绝对定位 */
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
        }