body {
    height: 4320px;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 1400px;
    overflow-x: hidden;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}
html {
    font-size: min(max(14px, 1.8vw), 18px);
}
nav {
    background-color: #A11F1F;
    min-height: clamp(50px, 8vh, 70px); 
    box-shadow: 0 1px 2px #b7b3ab;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(10px, 3%, 30px); 
    width: 100%;
    position: fixed;
    z-index: 999;
    top: 0;
    transition: background-color 0.3s;
}
.nav-transparent {
    background-color: rgba(161, 31, 31, 0.8); /* 半透明 */
    transition: background-color 0.3s;
}
.navbar-logo {
    height: 100%;
    display: flex;
    align-items: center;
}
.navbar-logo img {
    height: clamp(24px, 3.5vw, 40px);
    width: auto;
    max-width: 100%;
}
.navbar-logo .navbar-logo-text {
    height: 100%;
    color: #ffffff;

}
.navbar-menu {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap; 
    gap: 0.5vw; 
}
.navbar-item-home,
.navbar-item {
    min-width: max(70px, 6vw); 
    padding: 0 clamp(8px, 0.8vw, 16px); 
    line-height: clamp(40px, 6vh, 60px);
    text-align: center;
    position: relative;
    white-space: nowrap;
}
.navbar-item-home a,
.navbar-item a {
    font-size: clamp(0.8rem, 1.1vw, 1rem); 
    color: #ffffff;
    display: block;
    height: 100%;
    transition: all 0.3s ease;
}
.navbar-item-home a {
    font-weight: bold;
    border-bottom: 2px solid #ffffff;
}
.navbar-item-home a:hover,
.navbar-item a:hover {
    background-color: rgba(192, 192, 193, 0.3);
}
.xiangyun1{
    position: absolute;
    z-index: 11;
    width: 70%;
    height: auto; /* 高度自适应 */
    top: 12%;
    left: 35%;
    transform: scaleX(1);
    /* 旋转 */
    transform: rotate(5deg);
    /* 旋转中心 */
    transform-origin: center;
    background-size: cover; /* 确保背景图像覆盖整个元素 */
}
.mingyue {
    width: 100%;
    height: 21%;
    background-color: #ffffff;
}
.dawenzi{
    position: absolute;
    font-size: 60px;
    z-index: 100;
    top: 10%;
    left: 15%;
}
.dawenzi2{
    position: absolute;
    font-size: 72px;
    z-index: 100;
    top: 13%;
    left: 30%;

}
.xiushi {
    width: 85%;
    height: 3%;
    opacity: 1;
    /* background-color: #EEE7DA; */
    position: relative;
    z-index: 20;
    top: 3.1%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 6%;
}
.xiushi div {
    flex: 1;
    text-align: center;
    border-bottom: 2px solid #A11F1F;
}
.xiushi2 {
    position: absolute;
    width: 85%;
    height: 3%;
    opacity: 1;
    /* background-color: #EEE7DA; */
    z-index: 21;
    top: 67%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40%;
    left: 50%;
    transform: translate(-50%, 0);
}
.xiushi2 div {
    flex: 1;
    text-align: center;
    border-bottom: 2px solid #A11F1F;
}

.hongxian1{
    border-left: 4px solid #A11F1F;
    position: absolute;
    height: 10%;
    left: 7.5%;
    top: 3%;
    /* 文本方向: 从上到下 */
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 24px;
    color: #A11F1F;
    text-align: center;
    /* 文本间距 */
    letter-spacing: 20px;
    line-height: 1.5;
}
.hongxian1a{
    position: absolute;
    height: 10%;
    left: 22%;
    top: 0%;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 16px;
    color: #A11F1F;
    text-align: center;
    letter-spacing: 20px;
    line-height: 1.5;
}
.hongxian1b{
    position: absolute;
    height: 10%;
    right: 20%;
    top: 1%;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 18px;
    color: #A11F1F;
    text-align: center;
    letter-spacing: 20px;
    line-height: 1.5;
    /* z-index: 9999; */
}
.hongxian1c{
    position: absolute;
    left: 9%;
    top: 16%;
    /* 文本方向: 从上到下 */
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 20px;
    color: #A11F1F;
    text-align: center;
    /* 文本间距 */
    letter-spacing: 4px;
    line-height: 1.5;
}
.hongxian1d{
    position: absolute;
    left: 35%;
    top: 20%;
    /* 文本方向: 从上到下 */
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 24px;
    color: #A11F1F;
    text-align: center;
    /* 文本间距 */
    letter-spacing: 4px;
    line-height: 1.5;
    z-index: 999;
}
.hongxian2{
    border-right: 4px solid #A11F1F;
    position: absolute;
    height: 7%;
    right: 7.5%;
    top: 4%;
    writing-mode: vertical-rl;
    text-orientation: upright;
    color: #A11F1F;
    text-align: center;
    font-size: 24px;
    letter-spacing: 24px;
    line-height: 1.5;
}
.hongxian3{
    border-left: 4px solid #A11F1F;
    position: absolute;
    height: 6%;
    left: 17%;
    top: 18%;
}
.hongxian4{
    border-right: 4px solid #A11F1F;
    position: absolute;
    height: 6%;
    right:7.5%;
    top: 36%;
    z-index: 11;
}
.hongxian5{
    border-left: 4px solid #A11F1F;
    position: absolute;
    height: 10%;
    left: 7.5%;
    top: 55%;
    z-index: 11;
}
.toumingk {
    width: 85%;
    height: 72.2%;
    margin: auto;
    position: relative;
    z-index: 3;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.7);
}
.bg-under {
    position: absolute;
    left: -2%;
    height: 72.9%;
    aspect-ratio: 9/16;
    bottom:0 ;
    opacity: 1;
    background: url(../images/zhuye.jpeg) no-repeat center center;
    transform: scaleX(-1);
    background-size: 98% 100%;
    z-index: 0;
}

.topbox {
    width: 90%;
    height: 90%;
    background: #fff;
    position: relative;
    z-index: 100;
    margin: auto;
    margin-top: 4%;
    background: url(../images/mingyue.png) no-repeat center center;
    background-size: contain;
}
.box1, .box2 {
    width: 70%;
    aspect-ratio: 16/6; /* 设置宽高比为16:9 */
    background: rgba(255, 255, 255, 0.6); /* 可根据需要修改颜色 */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; /* 保证在.toumingk内容上方 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* 可选，增加立体感 */
    opacity: 1  ; /* 设置透明度为1 */
    border-bottom: 4px solid #A11F1F;
}
.box1 .box-title, .box2 .box-title {
    font-size: 24px;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    height: 10%;
    color: #ffffff;
    background-color: #A11F1F;
}
.box1 .box-content, .box2 .box-content {
    position: absolute;
    /* text-align: center; */
    font-size: 20px;
    top: 30%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 65%;
}
.box-row .col .title{
    font-size: 24px;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    height: 10%;
    color: #ffffff;
    background-color:#A11F1F;
}
.box-row .col .content {
    position: relative;
    font-size: 20px;
    width: 60%;
    top: 4%;
    left: 50%;
    transform: translate(-50%, 0);
    /* margin: auto; */
}
p{
    font-size: 20px;
}
.box1 {
    top:35%; 
}
.box2 {
    top: 55%;
}
.shici{
    position: absolute;
    width: 20%;
    top: 23%;
    margin: auto;
    left: 0;
    right: 0;   
    text-align: center;
    z-index: 19;
}
.ci,.shi{
    font-size: 36px;

}
.shi{
    position: relative;
    right: 4%;
}
.ci{
    position: relative;
    left: 4%;
}
/* 响应式调整绝对定位元素 */
@media (max-width: 1200px) {
    .box1 {
        top: 35%;
    }
    
    .box2 {
        top: 55%;
    }
}
@media (max-width: 992px) {
    .box1 {
        top: 35%;
    }
    
    .box2 {
        top: 55%;
    }
}
.baihe1{
    position: absolute;
    z-index: 11;
    width: 35%;
    height: auto; /* 高度自适应 */
    top: 40%;
    left: 40%;
    transform: scaleX(-1);
    background-size: cover; /* 确保背景图像覆盖整个元素 */
}
.baihe2{
    position: absolute;
    z-index: 5;
    width: 30%;
    height: auto; /* 高度自适应 */
    top: 32%;
    left: 70%;
    transform: rotate(10deg);
    /* 旋转中心 */  
    transform-origin: center;
    background-size: cover; /* 确保背景图像覆盖整个元素 */
}
.jianjie{
    position: absolute;
    font-size: 24px;
    text-align: center;
    width: 10%;
    line-height: normal;
    margin: auto;
    margin-top: 10%;
    padding: 2px 0;
    /* 下划线 */
    border-bottom: 2px solid #A11F1F;
    bottom: 30%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 10;
}
.box-row {
    position: absolute;
    width: 70%;
    display: flex;
    justify-content: center;
    gap: 8%; /* 设置列间距 */
    top: 75%;
    z-index: 10;
/* 居中 */
    left: 50%;
    transform: translateX(-50%);
}
.col {
    width: 48%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
    aspect-ratio: 4/8;
    border: #A11F1F 4px solid;
}
.guaishi01,.guaishi02{
    position: absolute;
    z-index: 4;
    object-fit: cover; /* 确保图片覆盖整个元素 */
    width: 40%;
    height: auto; /* 高度自适应 */
}
.guaishi01fb {
    position: absolute;
    z-index: 3;
    object-fit: cover; /* 确保图片覆盖整个元素 */
    width: 28%;
    height: auto; /* 高度自适应 */
    opacity: 0.8; /* 设置透明度 */
    filter: blur(2px); /* 设置模糊效果 */
}
.guaishi01fb {
    right: 20%;
    bottom: 5%;
    
}
.guaishi01 {
    right: 0%;
    bottom: 4%;
}
.yz{
    position: absolute;
    z-index: 4;
    object-fit: cover; /* 确保图片覆盖整个元素 */
    width: 5%;
    height: auto; /* 高度自适应 */
    right: 42%;
    bottom: 29%;
}
/* 移动端单列布局 */
/* @media (max-width: 768px) {
    .box-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        top: 75%;
    }
    
    .col {
        width: 80%;
        aspect-ratio: 16/9;
    }
} */

footer {
    position: absolute;
    width: 100%;
    height: 30vh;
    bottom: 0;
    background-color: #333;
    color: #fff;
    text-align: center;
    /* line-height: 279px; */
    font-size: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px; /* 元素之间的间距 */
}
.gongan-icon {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-right: 6px;
}
footer a ,footer p{
    color: #ffffff;
    font-size: 14px;
}
/* 动画 */
@keyframes xiaoshihechuxian {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.dawenzi, .dawenzi2 {
    animation: xiaoshihechuxian 2s ease-in-out forwards;
}
.hongxian1 {
    animation: xiaoshihechuxian 2s ease-in-out forwards;
}
.hongxian1a {
    animation: xiaoshihechuxian 3s ease-in-out forwards;
}
.hongxian1b {
    animation: xiaoshihechuxian 4s ease-in-out forwards;
}
.hongxian1c {
    animation: xiaoshihechuxian 5s ease-in-out forwards;
}
.hongxian2 {
    animation: xiaoshihechuxian 6s ease-in-out forwards;
}
.hongxian1d {
    animation: xiaoshihechuxian 7s ease-in-out forwards;
}
@keyframes fly-in-left {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        left: 50%;
        transform: translateX(-50%);
    }
}
@keyframes fly-in-right {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        left: 50%;
        transform: translateX(-50%);
    }
}
.box1,
.box2 {
    opacity: 0; /* 初始隐藏 */
    /* 移除 animation 属性，初始无动画 */
}

.fly-in-left {
    animation: fly-in-left 1.2s ease forwards;
}
.fly-in-right {
    animation: fly-in-right 1.2s ease forwards;
}
/* 翻页效果 */
/* 鼠标经过动效 */
.col:hover {
    transform: scale(1.05); /* 鼠标经过时放大 */
    transition: transform 0.3s ease; /* 平滑过渡效果 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 鼠标经过时增加阴影 */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 鼠标离开时平滑过渡 */
}
.box1:hover{
    top: calc(35% - 10px); /* 鼠标经过时上移 */
    transition: transform 0.3s ease; /* 平滑过渡效果 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 鼠标经过时增加阴影 */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 鼠标离开时平滑过渡 */
}
.box2:hover{
    top: calc(55% - 10px); /* 鼠标经过时上移 */
    transition: transform 0.3s ease; /* 平滑过渡效果 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 鼠标经过时增加阴影 */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 鼠标离开时平滑过渡 */
}
