 
 :root {
            --primary: #8B4513;
            --primary-light: #A0522D;
            --secondary: #2F4F4F;
            --accent: #DAA520;
            --bg-cream: #FDF5E6;
            --bg-paper: #FAF0E6;
            --text-dark: #2C1810;
            --text-light: #5C4033;
            --border: #D2B48C;
              --gold: #D4AF37;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Noto Sans SC', sans-serif;
            background-color: var(--bg-cream);
            color: var(--text-dark);
            line-height: 1.8;
            background-image: url("");
        }

        /* 导航栏 */
        nav {
            background: linear-gradient(to bottom, rgba(241, 239, 230, 0.95), rgba(225, 225, 220, 0.85));
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            border-bottom: 3px solid var(--accent);
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        }

        .nav-container {
            max-width: 1900px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: 'Noto Serif SC', serif;
            font-size: 1.8rem;
            color: var(--accent);
            font-weight: 700;
            letter-spacing: 0.2em;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            color:black;
            text-decoration: none;
            font-size: 1.5rem;
            transition: all 0.3s;
            position: relative;
            padding: 0.5rem 0;
            border: 1px black;
            font-family: 'Ma Shan Zheng', cursive;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }
    .nav-links a.active {
           
           font-weight:600;
        }
         .nav-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            
        }
        .logo-text {
            color: #5c4a3d;
            font-size: 24px;
            font-weight: 700;
            letter-spacing: 4px;
        }

        .logo-text span {
            color: #b85450;
            font-size: 14px;
            display: block;
            letter-spacing: 2px;
            margin-top: 2px;
            font-weight: 400;
        }
      
        .seal {
            width: 50px;
            height: 50px;
           
            
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            
            font-size: 24px;
            font-weight: bold;
            
            position: relative;
        }
        /* 英雄区 */
        .hero {
            margin-top: 80px;
            height: 70vh;
            background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                        url('../images/cover3.jpg') center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color:white;
            position: relative;
        }
    /*背景上面的装饰*/
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            padding: 2rem;
        }

        .hero h1 {
            font-family: 'Zhi Mang Xing', cursive;
            font-size: 3.5rem;
            margin-bottom: 1rem;
            letter-spacing: 0.3em;
            text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
            animation: fadeInUp 1s ease-out;
        }

        .hero p {
            font-size: 1.5rem;
            letter-spacing: 0.2em;
            opacity: 0.9;
            animation: fadeInUp 1s ease-out 0.3s both;
            font-family: 'Ma Shan Zheng', cursive;
        }

        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
        }

        .scroll-indicator::after {
            content: '▼';
            color: var(--accent);
            font-size: 2rem;
        }

       
        /* 主容器 */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 4rem 2rem;
        }

        .section-title {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title h2 {
            font-family: 'Noto Serif SC', serif;
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--accent);
        }

        .section-title p {
            color: var(--text-light);
            font-size: 1.1rem;
            margin-top: 1.5rem;
        }

        /* 展馆网格 */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2.5rem;
        }

        .gallery-card {
            
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(139, 69, 19, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            border: 1px solid var(--border);
        }

        .gallery-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(to right, var(--primary), var(--accent));
            transform: scaleX(0);
            transition: transform 0.4s;
        }
        .gallery-card:hover .card-able {
            display: block;
        }
        .gallery-card:hover .card-ae {
            display: block;
        }
        .gallery-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
        }

        .gallery-card:hover::before {
            transform: scaleX(1);
        }

        .card-image {
            height: 300px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            position: relative;
            overflow: hidden;
        }
        .image-content-first {
             height: 300px;
             display: block;
        }
        .image-content-second {
            display: none;
        }
         .mage-content-third {
            display: none;
        }
          .img-content-first {
             height: 300px;
             display: block;
        }
        .img-content-second {
            display: none;
        }
        .card-ae   {
            width: 100px;
            height: 100px;
            position: absolute;
            color: var(--bg-paper);
            font-size: 1.5rem;
             top: 30%;
             left:85%;
             padding: 0.3rem 1rem;
           
            transform: rotate(270deg);
            display: none;
         }
        .card-able   {
            width: 100px;
            height: 100px;
            position: absolute;
            color: var(--bg-paper);
            font-size: 1.5rem;
             top: 30%;
             left:85%;
             padding: 0.3rem 1rem;
           
            transform: rotate(270deg);
            display: none;
         }
         
        .card-able::before {
            content: '';
            left: 0;
            top:0;
            width: 100%;
            height:100%;
            transform: rotateX(80deg);
            transform-origin: left;
        }
        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s;
        }

        .gallery-card:hover .card-image img {
            transform: scale(1.1);
        }

        .card-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--accent);
            color: white;
            padding: 0.3rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }

        .card-content {
            padding: 1.5rem;
        }

        .card-category {
            color: var(--primary-light);
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .card-category::before {
            content: '◆';
            color: var(--accent);
            font-size: 0.7rem;
        }

        .card-title {
            font-family: 'Noto Serif SC', serif;
            font-size: 1.4rem;
            color: var(--text-dark);
            margin-bottom: 0.8rem;
            font-weight: 600;
        }

        .card-desc {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px dashed var(--border);
            font-size: 0.9rem;
            color: var(--text-light);
        }

       
      
       
   /* 页脚 */
    .footer {
            color:black;
          background: var(--text-dark);
            width: 100%;
            padding:12px 20px;
            display:flex;
            flex-wrap:wrap;
            align-items:center;
            justify-content:space-between;
        }
        .footer-head {
            display: flex;
            flex-direction: column;
            flex:0  0 460px;
            justify-content: center;
            align-items: center;
            
        }
        .footer-brand {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .footer-logo {
            width: 34px;
            height: 34px;
            background: linear-gradient(135deg, var(--gold), #b8944f);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            font-weight: bold;
            font-family: 'Noto Serif SC', serif;
        }
        .footer-title {
            font-size: 32px;
            font-weight: 700;
            letter-spacing: 2px;
            font-family: 'Noto Serif SC', serif;
            color: white;
        }
        .footer-desc {
            color: rgba(193, 189, 189, 0.855);
            font-size: 18px;
            line-height: 1.5;
            margin-top:4px;
        }
        .footer-container {
            width: 2000px;
            justify-content: center;
            display:flex;
            flex-wrap:wrap;
            gap:25px;
            align-items:center;
            
        }
        .rechieve {
            display: grid;
            grid-template-columns: repeat(3,1fr);
            gap:120px;
        }
        .rechieve-right {
            display: flex;
            flex-direction: column;
            gap:20px;
         margin-left: 200px;
          
        }
        .rechieve-first,.rechieve-second,.rechieve-third{
            text-align: center;
        }
        .rechieve-fourth,.rechieve-fifth,.rechieve-sixth{
            padding:6px 8px;
            display: flex;
            align-items: center;
            gap:6px;
            width:100%;
        }
        
      #image-fourth,#image-fifth,#image-six {
            width:60px;
        }
         #image-first,#image-second,#image-third{
                    width: 90px;
          }
        #focus-first ,#focus-second,#focus-third,#focus-fourth,#focus-fifth,#focus-six{
            outline: none;
            border: none;
            color:white;
            font-size:18px;
            text-decoration:none;
        }
        #focus-first:hover,#focus-second:hover,#focus-third:hover,#focus-fourth:hover,#focus-fifth:hover,#focus-six:hover {
            cursor: pointer;
            color: #f8e9d8;
        }
        .footer-bottom {
            width:100%;
            text-align: center;
            color: white;
            font-size: 16px;
            padding-top:6px;
            margin-top:6px;
            border-top:1px solid rgba(255,255,255,0.15);
        }

/* 平板适配 992px以下：上下堆叠 */
@media screen and (max-width:992px) {
    .footer {
        flex-direction: column;
        align-items: center;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    .rechieve {
        width: min(600px, 90%);
        gap: 30px;
    }
    .rechieve-right {
        width: min(420px, 90%);
    }
}
/* 手机适配 576px以下 */
@media screen and (max-width:576px) {
    .rechieve {
        gap: 15px;
    }
    .rechieve-fourth,.rechieve-fifth,.rechieve-sixth {
        gap: 8px;
    }
}


       

          /* 响应式调整（仅防止极端情况，主要面向桌面） */
        @media (max-width: 1024px) {
            .buildings-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .hero-title {
                font-size: 60px;
            }
        }

        @media (max-width: 768px) {
            .buildings-grid {
                grid-template-columns: 1fr;
            }
            
            .nav-links {
                display: none;
            }
            
            .timeline::before {
                left: 30px;
            }
            
            .timeline-item {
                flex-direction: column;
                align-items: flex-start;
                padding-left: 70px;
            }
            
            .timeline-content {
                width: 100%;
                text-align: left !important;
            }
            
            .timeline-year {
                text-align: left !important;
            }
            
            .timeline-dot {
                left: 30px;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
        }
        .footer-container {
            width: 2000px;
            justify-content: center;
            display:flex;
            flex-wrap:wrap;
            gap:25px;
            align-items:center;
        }
        /* 动画 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
            40% { transform: translateX(-50%) translateY(-20px); }
            60% { transform: translateX(-50%) translateY(-10px); }
        }

        /* 响应式 */
        @media (max-width: 768px) {
            .hero h1 { font-size: 2.5rem; }
            .gallery-grid { grid-template-columns: 1fr; }
            .nav-links { display: none; }
            .stats-container { grid-template-columns: repeat(2, 1fr); }
            .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
        }

        /* 加载动画 */
        .gallery-card {
            opacity: 0;
            animation: fadeInUp 0.6s ease-out forwards;
        }

        .gallery-card:nth-child(1) { animation-delay: 0.1s; }
        .gallery-card:nth-child(2) { animation-delay: 0.2s; }
        .gallery-card:nth-child(3) { animation-delay: 0.3s; }
        .gallery-card:nth-child(4) { animation-delay: 0.4s; }
        .gallery-card:nth-child(5) { animation-delay: 0.5s; }
        .gallery-card:nth-child(n+6) { animation-delay: 0.6s; }
        
        
        