
  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-green: #1a3c27;
            --deep-green: #0f2818;
            --gold: #c9a961;
            --light-gold: #e8d5a3;
            --cream: #f8f6f0;
            --light-gray: #f0efe9;
            --text-dark: #2c2c2c;
            --text-gray: #666;
        }
 :root {
            --primary: #8B4513;
            --primary-light: #A0522D;
            --secondary: #2F4F4F;
            --accent: #DAA520;
            --bg-cream: #FDF5E6;
            --bg-paper: #FAF0E6;
            --text-dark: #2C1810;
            --text-light: #5C4033;
            --border: #D2B48C;
        }
        body {
            font-family: 'Noto Sans SC', sans-serif;
            background-color: var(--cream);
            color: var(--text-dark);
            line-height: 1.8;
            overflow-x: hidden;
        }

        .serif {
            font-family: 'Noto Serif SC', serif;
        }

        /* 导航栏 */
          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-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::before {
            content: '河';
            position: absolute;
            font-size: 12px;
            top: 2px;
            right: 4px;
            opacity: 0.8;
        }
        .seal {
            width: 50px;
            height: 50px;
            background: #b85450;
            border: 3px solid #8b4513;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 24px;
            font-weight: bold;
            box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
            position: relative;
        }
      .nav-links a.active {
           
           font-weight:600;
        }
        /* 英雄区域 */
        .hero {
            margin-top: 80px;
            height: 70vh;
            background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                        url('../images/cover4.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;
        }



        /* 建筑展示区 */
        .buildings-section {
            padding: 100px 0;
            background: 
                linear-gradient(rgba(201, 169, 97, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(201, 169, 97, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            background-color: var(--cream);
        }

        .section-header {
            text-align: center;
            margin-bottom: 70px;
            padding: 0 20px;
        }

        .section-label {
            display: block;
            color: var(--gold);
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 15px;
        }

        .section-title {
            font-size: 42px;
            color: var(--text-dark);
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(to right, var(--primary-green), var(--gold));
            border-radius: 2px;
        }

        .section-desc {
            max-width: 600px;
            margin: 30px auto 0;
            color: var(--text-gray);
            font-size: 16px;
            line-height: 1.8;
        }

        .container {
            max-width: 1500px;
            margin: 0 auto;
            padding: 0 40px;
        }

        .buildings-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .building-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            opacity: 0;
            transform: translateY(40px);
        }

        .building-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .building-card:hover {
            transform: translateY(-12px) rotateX(3deg);
            box-shadow: 0 25px 60px rgba(0,0,0,0.15);
        }

        .card-image-wrapper {
            height: 260px;
            overflow: hidden;
            position: relative;
        }

        .card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

        .building-card:hover .card-image {
            transform: scale(1.08);
        }

        .card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
            display: flex;
            align-items: flex-end;
            padding: 20px;
        }

        .building-card:hover .card-overlay {
            opacity: 1;
        }

        .card-tag {
            background: var(--gold);
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.3s ease 0.1s;
        }

        .building-card:hover .card-tag {
            transform: translateY(0);
            opacity: 1;
        }

        .card-content {
            padding: 30px;
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 12px;
        }

        .card-title {
            font-size: 24px;
            font-weight: 700;
            color: var(--text-dark);
            font-family: 'Noto Serif SC', serif;
        }

        .card-en {
            font-size: 13px;
            color: var(--gold);
            font-style: italic;
            font-family: 'Noto Serif SC', serif;
        }

        .card-line {
            width: 40px;
            height: 2px;
            background: var(--gold);
            margin-bottom: 15px;
            transition: width 0.5s ease;
        }

        .building-card:hover .card-line {
            width: 100%;
        }

        .card-desc {
            color: var(--text-gray);
            font-size: 14px;
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .card-meta {
            display: flex;
            gap: 20px;
            font-size: 13px;
            color: #999;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .meta-item svg {
            width: 14px;
            height: 14px;
            stroke: var(--gold);
        }

        /* 时间线 
        .timeline-section {
            padding: 100px 0;
            background: linear-gradient(to bottom, var(--light-gray), white);
        }

        .timeline {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            height: 100%;
            background: linear-gradient(to bottom, var(--primary-green), var(--gold), var(--primary-green));
        }

        .timeline-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 60px;
            position: relative;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .timeline-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .timeline-content {
            width: 42%;
        }

        .timeline-year {
            font-size: 48px;
            font-weight: 700;
            color: var(--gold);
            font-family: 'Noto Serif SC', serif;
            line-height: 1;
            margin-bottom: 10px;
        }

        .timeline-title {
            font-size: 22px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 10px;
            font-family: 'Noto Serif SC', serif;
        }

        .timeline-desc {
            color: var(--text-gray);
            font-size: 15px;
            line-height: 1.6;
        }

        .timeline-dot {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 16px;
            height: 16px;
            background: white;
            border: 3px solid var(--gold);
            border-radius: 50%;
            box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.2);
            z-index: 10;
        }

        .timeline-item:nth-child(even) .timeline-content {
            order: 2;
            text-align: left;
        }

        .timeline-item:nth-child(even) .timeline-year {
            text-align: left;
        }

        .timeline-item:nth-child(odd) .timeline-content {
            text-align: right;
        }

        .timeline-item:nth-child(odd) .timeline-year {
            text-align: right;
        }*/
/* 时间线样式 */
.timeline-section {
    padding: 80px 0;
    background: #f8f6f3;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #c9b896;
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
}

.timeline-content {
    width: 40%;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.timeline-era {
    font-size: 0.9rem;
    color: #8b4513;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.8;
}

.timeline-title {
    font-size: 1.4rem;
    color: #2c2c2c;
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
    display: inline-block;
    font-family: 'Noto Serif SC', serif;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.timeline-title:hover {
    color: #8b4513;
    border-bottom-color: #c9b896;
}

.timeline-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: #8b4513;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid #f8f6f3;
    z-index: 10;
    transition: transform 0.3s ease, background 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    background: #d4a574;
}

/* 悬停故事提示框 */
.story-tooltip {
    position: fixed;
    background: #fff;
    max-width: 320px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    pointer-events: none;
    border-left: 4px solid #8b4513;
}

.story-tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-title {
    font-size: 1.2rem;
    color: #8b4513;
    margin-bottom: 12px;
    font-family: 'Noto Serif SC', serif;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.tooltip-content {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
}

.tooltip-content p {
    margin-bottom: 10px;
}

.tooltip-content .highlight {
    background: #f8f6f3;
    padding: 10px 12px;
    border-left: 3px solid #c9b896;
    margin: 12px 0;
    font-style: italic;
    color: #666;
    font-size: 0.85rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .story-tooltip {
        max-width: 280px;
        left: 50% !important;
        transform: translateX(-50%) translateY(10px);
    }
    
    .story-tooltip.active {
        transform: translateX(-50%) translateY(0);
    }
}
        /* 页脚 */
       .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);
        }


       

        /* 响应式调整（仅防止极端情况，主要面向桌面） */
        @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;
            }
        }

        /* 装饰元素 */
        .decoration-circle {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            opacity: 0.4;
            pointer-events: none;
        }

        .circle-1 {
            width: 300px;
            height: 300px;
            background: rgba(26, 60, 39, 0.15);
            top: 10%;
            left: -100px;
        }

        .circle-2 {
            width: 400px;
            height: 400px;
            background: rgba(201, 169, 97, 0.1);
            bottom: 10%;
            right: -100px;
        }
            .timelinenew {
      position: relative;
      max-width: 700px;
      margin: 50px auto;
      min-height: 1100px;
    }

    /* 河流宽度变窄！幅度不变 */
    .river {
      position: absolute;
      left: 50%;
      top: 0;
      bottom: 0;
      width: 180px;
      transform: translateX(-50%);
      pointer-events: none;
    }
     /* 初始状态 */
.river path {
  opacity: 1;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: none;
}

/* 第一次hover 超慢流淌动画 */
.timelinenew:not(.show):hover .river path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 3.5s ease-in-out;
}

/* 锁定永久显示 */
.timeline.show .river path {
  stroke-dashoffset: 0;
}
    .item {
      position: relative;
      margin: 170px 0;
      display: flex;
      justify-content: center;
    }
    .dot {
      width: 18px;
      height: 18px;
      background: #fff;
      border: 3px solid #d4a373;
      border-radius: 50%;
      z-index: 10;
    }
    .text {
      position: absolute;
      background: #fff;
      padding: 10px 18px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      white-space: nowrap;
    }
    .item:nth-child(odd) .text { left: calc(50% + 100px); }
    .item:nth-child(even) .text { right: calc(50% + 100px); }
    button {
        border: none;
        outline: none;
        background: none;
        cursor: pointer;
    }