/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden;
}

/* 无障碍焦点样式 */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid #2196F3;
    outline-offset: 2px;
    border-radius: 2px;
}

:root {
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --text-color: #333333;
    --light-text: #666666;
    --background-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --header-height: 90px;
    --section-padding: 60px 0;
    --light-gray: #f0f0f0;
    --dark-text: #333333;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}
            /* 修复logo显示 */
            .logo  {
                padding: 5px;
                text-align: center;

               
            }
/* 容器样式 */
.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 15px 20px;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #1557b0;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #1557b0;
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-tertiary {
    display: inline-block;
    padding: 8px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: color 0.3s ease;
}

.btn-tertiary:hover {
    color: #1557b0;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 文本居中 */
.text-center {
    text-align: center;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
    color: var(--light-text);
}

/* 段落样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: hsla(0,0%,40%,.4);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
   
    color: var(--primary-color);
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
}

/* 桌面导航 */
.nav-desktop {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    position: relative;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* 二级菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1002;
    list-style: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu[style*="display: block"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block !important;
}

.dropdown-menu:focus-within {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}

/* 桌面端三级菜单样式 */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu.dropdown-submenu-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 5px;
    opacity: 0;
    visibility: hidden;
    z-index: 1003;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.dropdown-submenu:hover > .dropdown-menu.dropdown-submenu-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-submenu-menu:focus-within {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}

.dropdown-submenu-toggle {
    position: relative;
}

.dropdown-submenu-toggle .dropdown-icon {
    margin-left: auto;
    font-size: 12px;
    color: var(--light-text);
}

/* 大型下拉菜单样式 */
.mega-dropdown-menu {
    min-width: 1000px;
    padding: 20px;
}

.mega-dropdown-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.mega-dropdown-column {
    display: flex;
    flex-direction: column;
}

.mega-dropdown-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light-bg);
}

.mega-dropdown-item {
    display: block;
    padding: 8px 0;
    color: var(--text-color);
    font-size: 14px;
    transition: color 0.3s ease;
}

.mega-dropdown-item:hover {
    color: var(--primary-color);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
    outline: none;
}

.dropdown-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    padding: 10px;
}

/* 移动端导航菜单 */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.nav-mobile.active {
    right: 0;
}
            .mobile-nav-list {
                list-style: none;
                padding: 80px 30px 30px;
            }
            
            .mobile-nav-item {
                margin-bottom: 0;
                border-bottom: 1px solid var(--border-color);
            }
            
            .mobile-nav-link {
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-size: 18px;
                font-weight: 500;
                color: var(--text-color);
                padding: 15px 0;
                text-decoration: none;
            }
            
            .mobile-nav-link.active {
                color: var(--primary-color);
            }
.nav-mobile-list {
    list-style: none;
    padding: 80px 30px 30px;
    flex: 1;
}

.nav-mobile-item {
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-mobile-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    padding: 15px 0;
    transition: color 0.3s ease;
}

.nav-mobile-link:hover {
    color: var(--primary-color);
}

/* 移动端二级菜单样式 */
.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    background-color: var(--light-bg);
    display: none;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
    max-height: 500px;
}

.mobile-dropdown-item {
    display: block;
    padding: 12px 20px 12px 30px;
    color: var(--text-color);
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mobile-dropdown-item:last-child {
    border-bottom: none;
}

.mobile-dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
    padding-left: 35px;
}

.mobile-dropdown-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-icon {
    transform: rotate(180deg);
}

/* 移动端三级菜单样式 */
.mobile-dropdown-submenu {
    position: relative;
}

.mobile-dropdown-submenu-menu {
    max-height: 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.03);
    display: none;
}

.mobile-dropdown-submenu.active .mobile-dropdown-submenu-menu {
    display: block;
    max-height: 300px;
}

.mobile-dropdown-submenu-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-dropdown-submenu.active .mobile-dropdown-submenu-icon {
    transform: rotate(180deg);
}

.nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    padding: 10px;
}

/* 移动端导航底部返回顶部按钮样式 */
.nav-mobile-footer {
    position: sticky;
    bottom: 0;
    background-color: white;
    padding: 15px;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.back-to-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.back-to-top-btn i {
    font-size: 18px;
}

.back-to-top-btn:hover {
    background-color: #1557b0;
}

/* 英雄区域样式 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 500px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: white;
}

/* 英雄区域控制按钮 */
.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.prev-btn, .next-btn {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* 英雄区域指示器 */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

/* 关于博物馆区域 */
.about {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    order: 1;
}

.about-image {
    order: 2;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 展览活动区域 */
.exhibitions {
    padding: var(--section-padding);
}

.exhibitions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.exhibition-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exhibition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.exhibition-image {
    height: 200px;
    overflow: hidden;
}

.exhibition-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.exhibition-info {
    padding: 20px;
}

.exhibition-date {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 10px;
}

/* 活动页面特殊样式 */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.event-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.event-content {
    padding: 20px;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.event-meta i {
    margin-right: 5px;
}

.event-title {
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 600;
}

.event-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-title a:hover {
    color: var(--primary-color);
}

.event-description {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.event-action {
    text-align: right;
}

/* 活动按钮区域 */
.event-action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.large-btn {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

/* 专题活动样式 */
.special-events-container {
    margin-top: 40px;
}

.special-event-item {
    display: flex;
    gap: 30px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.special-event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.special-event-image {
    flex: 0 0 40%;
    height: 300px;
    overflow: hidden;
}

.special-event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.special-event-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.special-event-title {
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.special-event-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.special-event-title a:hover {
    color: var(--primary-color);
}

/* 社教活动样式 - 左右布局 */
.education-event-item {
    display: flex;
    gap: 30px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.education-event-image {
    flex: 0 0 50%;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.education-event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.education-event-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.education-event-title {
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* 文娱活动样式 - 网格布局 */
.cultural-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* 馆藏精品区域 */
.collections {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.collection-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.collection-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.collection-image {
    height: 200px;
    overflow: hidden;
}

.collection-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.collection-item h3 {
    padding: 15px 15px 10px;
    font-size: 1.2rem;
}

.collection-item p {
    padding: 0 15px 20px;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* 通用Banner样式 */
.page-header-bg {
    position: relative;
    overflow: hidden;
    height: 300px;
    
    align-items: center;
    justify-content: center;
}

.page-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.banner-decoration {
    margin: 30px 0;
    opacity: 0.9;
}

.banner-image {
    max-width: 200px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 通用二级导航样式 */
.secondary-nav {
    background-color: white;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.secondary-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.secondary-nav-item {
    transition: all 0.3s ease;
}

.secondary-nav-link {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--light-gray);
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.secondary-nav-link:hover {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 111, 165, 0.3);
}

/* 增强二级导航链接选中状态的可见性 */
.secondary-nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
    font-weight: 700;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 111, 165, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border-width: 2px;
    border-style: solid;
}

/* 确保选中状态下的文本无论如何都可见 */
.secondary-nav-link[class*="active"] {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--light-text);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-body {
    padding: 20px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

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

/* 信息公开页面样式 */
.information-public-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.information-public-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.information-sidebar {
  width: 350px;
  flex-shrink: 0;
  margin-bottom: 20px;
  overflow: visible;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .information-sidebar {
    width: 100%;
    margin-bottom: 20px;
    overflow-x: auto;
  }
  
  .information-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .information-nav-item {
    padding: 10px 15px;
    font-size: 14px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    max-width: 100%;
    border-left: none !important;
  }
}

.information-nav {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 0;
  margin: 0;
  list-style: none;
  overflow: hidden;
}

.information-nav-item {
  display: block;
  padding: 12px 15px;
  color: #333;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.information-nav-item:hover {
  color: #c41c22;
  background-color: #f5f5f5;
  padding-left: 25px;
}

.information-nav-item.active {
  color: #c41c22;
  background-color: #fff0f0;
  border-left-color: #c41c22;
  padding-left: 25px;
  font-weight: bold;
}

/* 移除右侧圆点 */
.information-nav-item.active::before {
  display: none;
}

.information-content {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 40px 40px 40px 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  min-width: 0;
  font-size: 18px;
}

/* 响应式调整内容区域 */
@media (max-width: 768px) {
  .information-content {
    width: 100%;
    padding: 25px;
  }
  
  .information-header h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }
}

.information-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.content-decoration {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #c41c22, #e93854);
  margin-bottom: 40px;
}

.information-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.information-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}

.information-item:hover {
  background-color: #fafafa;
}

.information-item:last-child {
  border-bottom: none;
}

.information-link {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.6;
    display: block;
    padding: 5px 0;
}

.information-name {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.information-arrow {
    font-size: 12px;
    color: #999;
    margin-left: 8px;
    font-weight: normal;
}

.information-link:hover {
  color: #c41c22;
}

.information-date {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
  font-weight: normal;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .information-public-layout {
    flex-direction: column;
    gap: 30px;
  }
  
  .information-sidebar {
    width: 100%;
  }
  
  .information-nav {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .information-nav-item {
    flex: 1 1 50%;
    border-left: none;
    border-bottom: 1px solid #eee;
    text-align: center;
    padding: 15px 10px;
  }
  
  .information-nav-item.active::before {
    display: none;
  }
  
  .information-nav-item:nth-child(odd) {
    border-right: 1px solid #eee;
  }
  
  .information-nav-item:nth-last-child(1),
  .information-nav-item:nth-last-child(2) {
    border-bottom: none;
  }
  
  .information-content {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .information-public-section {
    padding: 40px 0;
  }
  
  .information-nav-item {
    flex: 1 1 100%;
    border-right: none !important;
  }
  
  .information-nav-item:not(:last-child) {
    border-bottom: 1px solid #eee;
  }
  
  .information-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 15px 0;
  }
  
  .information-link {
    padding-right: 0;
  }
  
  .information-date {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .information-content {
    padding: 20px 15px;
  }
  
  .information-header h2 {
    font-size: 24px;
  }
  
  .information-link {
    font-size: 14px;
  }
  
  .information-date {
    font-size: 12px;
  }
}

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

.back-to-top:hover {
    background-color: #1557b0;
    transform: translateY(-5px);
}

/* 主要内容网格布局 */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.left-column {
    width: 100%;
}

.right-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 右侧信息区块通用样式 */
.info-block {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.info-block h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    color: var(--text-color);
}

.info-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* 参观指南样式 */
.visit-info-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.visit-info-content .visit-info-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.visit-info-content .visit-info-item p {
    margin-bottom: 6px;
    color: var(--light-text);
    font-size: 0.85rem;
}

.visit-info-content .btn-secondary {
    align-self: flex-start;
    margin-top: 10px;
}

/* 公众号二维码样式 */
.qrcode-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qrcode-img {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 8px;
}

.qrcode-content p {
    margin-bottom: 8px;
    color: var(--light-text);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .qrcode-img {
        width: 120px;
        height: 120px;
    }
}

/* 底部样式 */
.footer {
    background-color: #252a34;
    color: white;
    padding: 60px 0 30px;
    margin: 0 calc(-50vw + 50%) !important;
    width: 100vw !important;
    position: relative !important;
    box-sizing: border-box !important;
    z-index: 10 !important;
    display: block !important;
    max-width: none !important;
    overflow: hidden !important;
    clear: both !important;
    left: 0 !important;
    right: 0 !important;
}

.footer-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    box-sizing: border-box !important;
    position: relative;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 0;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social .social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.footer-qrcode img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.footer-qrcode p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 14px;
}

.footer-bottom {
    padding: 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 1200px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    background-color: #252a34;
    position: relative;
    clear: both;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        padding: 6px 15px;
    }
    
    .mega-dropdown-menu {
        min-width: 800px;
    }
}

@media (max-width: 992px) {
    .nav-list {
        gap: 20px;
    }
    
    .about-content,
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .exhibitions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mega-dropdown-menu {
        min-width: 600px;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .about-content,
    .collections-grid,
    .exhibitions-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .banner-image {
        max-width: 150px;
    }
    
    .secondary-nav-list {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .secondary-nav-link {
        width: 260px;
        text-align: center;
        padding: 12px 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .header {
        height: 60px;
        --header-height: 60px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .hero {
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .nav-mobile-list {
        padding: 70px 20px 20px;
    }
    
    .modal-content {
        width: 95%;
    }
}