* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 外层容器：改为相对定位，作为背景容器承载导航栏 */
.dh-bg {
    position: relative;
    /* 关键：从 absolute 改为 relative，回归文档流 */
    width: 100%;
    /* 导航栏背景图高度按需调整，比如 200px（包含 logo + 菜单高度） */
    height: 900px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.nav-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
    height: 120px;
}

.logo-img {
    height: 80px;
    width: auto;
    margin-right: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-menu a {
    margin: 0 50px;
    color: #E6D7B6;
    font-family: "楷体", serif;
    text-decoration: none;
    font-size: 25px;
    /* 新增：为下划线动画预留空间 */
    position: relative;
    padding-bottom: 5px;
}

/* 鼠标悬停时显示下划线 */
.nav-menu a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: #f9e8c4;
}

main {
    width: 100%;
    background-color: #ffffff;
}

/* 宫灯结构 */
.gdjg {
    width: 100%;
    /* 高度改为自适应，避免限制图片放大 */
    height: auto;
    margin: auto;
    background-image: url('../images/gdsy-bjwl.png');
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.gdjg-biaoti {
    width: 100%;
    max-width: 300px;
    min-width: 100px;
    height: 100%;
    text-align: center;
    margin: auto;
}

.gdjg-biaoti img {
    max-width: 100%;
    padding: 20px;
}

/* 容器：让宫灯居中显示 */
.lsyl-curve {
    position: relative;
    width: 50%;
    max-width: 500px;
    margin: -85px auto 0;
    z-index: 1;
}

/* 宫灯背景：占满容器宽度 */
.curve-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* 图标通用样式 */
.chaodai {
    position: absolute;
    width: 40px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 2;
}

.chaodai:hover {
    transform: scale(1.1);
}

/* 文字容器默认隐藏，通过 JS 控制显示 */
.chaodai-text {
    position: absolute;
    display: none;
    color: #040404;
    padding: 10px;
    font-size: 24px;
    line-height: 1.6;
}

.wz {
    width: 100%;
    position: absolute;
}



.kuang {
    width: 200px;
    height: 80px;
}

.donghan {
    top: 25%;
    left: 33%;
    transform: translate(0%, -10%);

}

#gai {
    top: -10%;
    left: -30%;
}

#denggai {
    border-top-right-radius: 10px;
    border-right-style: dashed;
    border-top-style: dashed;
}

#text-denggai {
    top: 15%;
    left: -5%;

}

.sui {
    top: 26%;
    left: 92%;
    transform: translate(0%, 10%);
}

#ti {
    top: -10%;
    left: 95%;
}

#text-dengti {
    top: 17%;
    left: 94%;
}

#dengti {
    border-top-left-radius: 10px;
    border-left-style: dashed;
    border-top-style: dashed;
}


.tang {
    top: 63%;
    left: 60%;
    transform: translate(0%, -10%);
}

#sheng {
    top: 70%;
    left: 100%;
}

#text-dengsheng {
    top: 64%;
    left: 62%;
}

#dengsheng {
    border-bottom-left-radius: 10px;
    border-left-style: dashed;
    border-bottom-style: dashed;
}

.song {
    top: 53%;
    left: 1%;
    transform: translate(0%, 10%);
}

#zhui {
    top: 83%;
    left: -45%;
    text-align: center;
}

#text-zhuishi {
    top: 54%;
    left: -40%;
}

#zhuishi {
    border-top-left-radius: 10px;
    border-left-style: dashed;
    border-top-style: dashed;
}

/* 宫灯样式 */
.gdys {
    width: 100%;
    height: auto;
    margin: auto;
    background-image: url(../images/gdsy-bjwl-l.png), url(../images/gdsy-bjwl-r.png), url(../images/gdsy-bjwl.png), url(../images/gdsy-bjwl.png);
    background-size: 40%, 40%, 30%, 30%;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: 106% 15%, -5% 15%,
        -20% 80%, 120% 80%;
}

/* 标题容器 */
.gdys-biaoti {
    width: 100%;
    max-width: 300px;
    min-width: 100px;
    height: 100%;
    text-align: center;
    margin: auto;
}

.gdys-biaoti img {
    max-width: 100%;
    padding: 20px;
}

/*宫灯样式模块1 */
.gdys-bg1 {
    width: 100%;
    height: auto;
    background-color: #011633e8;
    padding: 30px 0;
}

.gdys-content {
    width: 1200px;
    margin: 0 auto;
    color: #fff;
}

.gdys-title {
    color: #E6D7B6;
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
}

.gdys-desc {
    line-height: 1.8;
    margin-bottom: 20px;
    text-indent: 2em;
}

/* 圆形占位容器 */
.gdys-circles {
    display: flex;
    justify-content: space-around;
}

.circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #fff;
    overflow: hidden;
}

.circle img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    overflow: hidden;
}

/*宫灯样式模块2 */
.buju {
    width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.boxa {
    position: relative;
    align-items: center;
    padding: 30px;
    padding-left: 120px;
    margin: auto;
}

.boxb {
    position: relative;
    align-items: center;
    padding: 30px;
    padding-right: 120px;
    margin: auto;
}

/* 圆形装饰样式 */
.circle1 {
    position: absolute;
    left: 0;
    top: 30%;
    transform: translateY(-50%);
    width: 280px;
    height: 280px;
    background-color: #13324F;
    border-radius: 50%;
    overflow: hidden;
}

.circle2 {
    position: absolute;
    right: 0;
    top: 30%;
    transform: translateY(-50%);
    width: 280px;
    height: 280px;
    background-color: #13324F;
    border-radius: 50%;
    overflow: hidden;
}

.circle1 img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    overflow: hidden;
}

.circle2 img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    overflow: hidden;
}

.big-wz {
    padding: 30px;
    width: 700px;
    min-height: 300px;
    border: 5px solid #13324F;
    border-radius: 20px;
    max-width: 800px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content1 {
    margin: auto 0;
    padding-left: 25%;
    line-height: 1.6em;
    width: 100%;
}

.content2 {
    margin: auto 0;
    padding-right: 25%;
    line-height: 1.6em;
    width: 100%;
}

.content1 h3 {
    text-align: center;
    padding-bottom: 20px;
}

.content1 p {
    text-align: left;
    text-indent: 2em;
}

.content2 h3 {
    padding-bottom: 20px;
    text-align: center;
}

.content2 p {
    text-align: left;
    text-indent: 2em;
}

/*宫灯样式模块3 */
.gdys-bj2 {
    background-color: #011633e8;
    padding: 30px 0;
}

.container {
    width: 1200px;
    margin: 0 auto;
    color: #fff;
}


.section-title {
    color: #E6D7B6;
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
}

.section-desc {
    line-height: 1.8;
    text-indent: 2em;
    margin-bottom: 20px;
    text-align: left;
}


.lanterns {
    display: flex;
    justify-content: space-around;
}


.lantern-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lantern-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #fff;
    margin-bottom: 10px;
    overflow: hidden;
}

.lantern-circle img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    overflow: hidden;
}

.lantern-name {
    font-size: 20px;
}


.gddl {
    width: 100%;
    height: auto;
    margin-top: 30px;
}

.gddl-biaoti {
    width: 100%;
    max-width: 300px;
    min-width: 100px;
    height: 100%;
    text-align: center;
    margin: auto;
}

.gddl-biaoti img {
    max-width: 100%;
    padding: 20px;
}

/* 浮窗样式 */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #f44336;
}

/*各地灯笼 */

.banwei {
    min-height: 400px;
    background-color: #ffffff;
    background-image: url(../images/banwei.png);
    background-size: 100%;
    background-repeat: no-repeat;
    align-items: flex-end;
    text-align: center;
    padding-top: 20px;
}

/* 版尾内部容器，用于包裹文字等内容 */
.banwei-inner {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    position: relative;
    color: #E6D7B6;
    padding: 200px 0 20px 0;
    min-width: 700px;
    margin: 30px 0px 0px 0px;
}

.banwei li {
    margin-bottom: 15px;
}


.nav-toggle {
    display: none; /* 直接隐藏按钮 */
  }

  .know-more-img {
  /* 缩小图片：按需调整宽度（如 80px），高度自动适配 */
  width: 150px;  
  height: auto; 
  /* 右对齐：让图片靠右侧 */
  display: block; 
  margin-left: auto; 
  /* 鼠标悬浮显示手型，提示可点击 */
  cursor: pointer; 
  padding-top: 110px; /* 顶部内边距 */
  padding-bottom: 20px; /* 底部内边距 */
}

/* 响应式适配：768px 以下 */
@media (max-width: 768px) {
  /* 1. 导航容器调整 */
  .nav-header {
    justify-content: space-between; /* logo 左，按钮右 */
    align-items: center;
    padding: 10px 20px;
    height: 60px;
    position: relative; /* 新增：为绝对定位的菜单做参考 */
  }

  /* 2. 隐藏默认水平导航 */
  .nav-menu {
    display: none; 
    flex-direction: column; /* 垂直排列 */
    position: absolute; 
    top: 100%; /* 导航栏下方展开 */
    left: 0;
    width: 100%; 
    background: rgba(0, 0, 0, 0.9); /* 半透明背景 */
    padding: 5px 0;
    z-index: 999; /* 确保在内容上层 */
  }

  /* 3. 展开状态：显示垂直导航 */
  .nav-menu.active {
    display: flex;
  }

  /* 4. 菜单项调整 */
  .nav-menu a {
    margin: 5px 0; /* 垂直间距 */
    font-size: 10px;
    text-align: center; /* 文字居中 */
  }

  /* 5. 汉堡按钮样式（三条横线） */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 1000; /* 确保按钮在菜单上层 */
    margin-top: -25px; /* 微调位置 */
  }

  .nav-toggle span {
    display: block;
     width: 100%; /* 横线宽度铺满按钮 */
    height: 2px;
    background-color: #E6D7B6; /* 线条颜色 */
    transition: all 0.3s ease;
    border-radius: 2px; /* 可选：让线条更圆润 */
  }

  /* 6. 按钮点击动画（三条横线变叉） */
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  /* 7. LOGO 缩小 */
  .logo-img {
    height: 25px;
    margin-right: 0;
    margin-top: -23px;
  }

  .dh-bg {
    position: relative;
    /* 关键：从 absolute 改为 relative，回归文档流 */
    width: 100%;
    /* 导航栏背景图高度按需调整，比如 200px（包含 logo + 菜单高度） */
    height: 200px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.sjcc-biaoti {
    width: 100%;
    max-width: 180px;
    min-width: 50px;
    height: 100%;
    text-align: center;
    margin: auto;
}

/* 宫灯结构 */
.gdjg {
    width: 100%;
    /* 高度改为自适应，避免限制图片放大 */
    height: auto;
    margin: auto;
    background-image: url('../images/gdsy-bjwl.png');
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.gdjg-biaoti {
    width: 100%;
    max-width: 180px;
    min-width: 50px;
    height: 100%;
    text-align: center;
    margin: auto;
}


.gdjg-biaoti img {
    max-width: 100%;
    padding: 20px;
}

/* 容器：让宫灯居中显示 */
.lsyl-curve {
    position: relative;
    width: 50%;
    max-width: 500px;
    margin: -67px auto 0;
    z-index: 1;
}

/* 宫灯背景：占满容器宽度 */
.curve-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* 图标通用样式 */
.chaodai {
    position: absolute;
    width: 20px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 2;
}

.chaodai:hover {
    transform: scale(1.1);
}

/* 文字容器默认隐藏，通过 JS 控制显示 */
.chaodai-text {
    position: absolute;
    display: none;
    color: #040404;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.wz {
    width: 100%;
    position: absolute;
}



.kuang {
    width: 100px;
    height: 60px;
}

.donghan {
    top: 25%;
    left: 33%;
    transform: translate(0%, -10%);

}

#gai {
    top: -10%;
    left: -30%;
}

#denggai {
    border-top-right-radius: 10px;
    border-right-style: dashed;
    border-top-style: dashed;
}

#text-denggai {
    top: 15%;
    left: -5%;

}

.sui {
    top: 26%;
    left: 92%;
    transform: translate(0%, 10%);
}

#ti {
    top: -10%;
    left: 95%;
}

#text-dengti {
    top: 17%;
    left: 94%;
}

#dengti {
    border-top-left-radius: 10px;
    border-left-style: dashed;
    border-top-style: dashed;
}


.tang {
    top: 63%;
    left: 60%;
    transform: translate(0%, -10%);
}

#sheng {
    top: 70%;
    left: 100%;
}

#text-dengsheng {
    top: 64%;
    left: 62%;
}

#dengsheng {
    border-bottom-left-radius: 10px;
    border-left-style: dashed;
    border-bottom-style: dashed;
}

.song {
    top: 53%;
    left: 1%;
    transform: translate(0%, 10%);
}

#zhui {
    top: 83%;
    left: -45%;
    text-align: center;
}

#text-zhuishi {
    top: 54%;
    left: -40%;
}

#zhuishi {
    border-top-left-radius: 10px;
    border-left-style: dashed;
    border-top-style: dashed;
}

/* 宫灯样式 */
.gdys {
    width: 100%;
    height: auto;
    margin: auto;
    background-image: url(../images/gdsy-bjwl-l.png), url(../images/gdsy-bjwl-r.png), url(../images/gdsy-bjwl.png), url(../images/gdsy-bjwl.png);
    background-size: 40%, 40%, 30%, 30%;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: 106% 15%, -5% 15%,
        -20% 80%, 120% 80%;
}

/* 标题容器 */
.gdys-biaoti {
   width: 100%;
    max-width: 180px;
    min-width: 50px;
    height: 100%;
    text-align: center;
    margin: auto;
}

.gdys-biaoti img {
    max-width: 100%;
    padding: 20px;
}

/*宫灯样式模块1 */
.gdys-bg1 {
    width: 100%;
    height: auto;
    background-color: #011633e8;
    padding: 30px 0;
}

.gdys-content {
    width: 330px;
    margin: 0 auto;
    color: #fff;
}

.gdys-title {
    color: #E6D7B6;
    text-align: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.gdys-desc {
    line-height: 1.8;
    margin-bottom: 20px;
    text-indent: 2em;
     font-size: 10px;
}

/* 圆形占位容器 */
.gdys-circles {
    display: flex;
    justify-content: space-around;
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #fff;
    overflow: hidden;
}

.circle img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    overflow: hidden;
}

/*宫灯样式模块2 */
.buju {
    width: 300px;
    margin: 0 auto;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.boxa {
    position: relative;
    align-items: center;
    padding: 10px;
    padding-left: 30px;
    margin: auto;
}

.boxb {
    position: relative;
    align-items: center;
    padding: 10px;
    padding-right: 30px;
    margin: auto;
}

/* 圆形装饰样式 */
.circle1 {
    position: absolute;
    left: -10%;
    top: 20%;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    background-color: #13324F;
    border-radius: 50%;
    overflow: hidden;
}

.circle2 {
    position: absolute;
    right: -3%;
    top: 15%;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    background-color: #13324F;
    border-radius: 50%;
    overflow: hidden;
}

.circle1 img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    overflow: hidden;
}

.circle2 img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    overflow: hidden;
}

.big-wz {
    padding: 30px;
    width: 300px;
    min-height: 200px;
    border: 5px solid #13324F;
    border-radius: 20px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content1 {
    margin: auto 0;
    padding-left: 25%;
    line-height: 1.6em;
    width: 100%;
}

.content2 {
    margin: auto 0;
    padding-right: 25%;
    line-height: 1.6em;
    width: 100%;
}

.content1 h3 {
    text-align: center;
    padding-bottom: 20px;
    font-size: 12px;
}

.content1 p {
    text-align: left;
    text-indent: 2em;
    font-size: 8px;
}

.content2 h3 {
    padding-bottom: 20px;
    text-align: center;
    font-size: 12px;
}

.content2 p {
    text-align: left;
    text-indent: 2em;
    font-size: 8px;
}

/*宫灯样式模块3 */
.gdys-bj2 {
    background-color: #011633e8;
    padding: 30px 0;
}

.container {
    width: 330px;
    margin: 0 auto;
    color: #fff;
}


.section-title {
    color: #E6D7B6;
    text-align: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.section-desc {
    line-height: 1.8;
    text-indent: 2em;
    margin-bottom: 20px;
    text-align: left;
    font-size: 10px;
}


.lanterns {
    display: flex;
    justify-content: space-around;
}


.lantern-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lantern-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #fff;
    margin-bottom: 10px;
    overflow: hidden;
}

.lantern-circle img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    overflow: hidden;
}

.lantern-name {
    font-size: 10px;
}


.gddl {
    width: 100%;
    height: auto;
    margin-top: 30px;
}

.gddl-biaoti {
    width: 100%;
    max-width: 300px;
    min-width: 100px;
    height: 100%;
    text-align: center;
    margin: auto;
}

.gddl-biaoti img {
    max-width: 100%;
    padding: 20px;
}

/* 浮窗样式 */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #f44336;
}

/*各地灯笼 */

/* 版尾容器样式 */
.banwei {
    min-height: 200px;
    background-color: #ffffff;
    background-image: url(../images/banwei.png);
    background-size: 100%;
    background-repeat: no-repeat;
    align-items: flex-end;
    text-align: center;
    padding-top: 20px;
}

/* 版尾内部容器，用于包裹文字等内容 */
.banwei-inner {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 6px;
    position: relative;
    color: #fff;
    padding: 0px 0px 0px 0px;
    min-width: 300px;
    margin: 35px 0px 0px 0px;
}



}