/* 基础样式与vw单位设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

html {
    font-size: 1vw;
}

body {
    background-color: #fff;
    color: #333;
    background: #f5eee4;
    background-size: cover;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #ff3b0d;
    text-decoration: none;
}
p{text-indent: 2em;}

a:hover {
    color: #bd7205;
}

/* Banner样式 */
.banner {
    width: 100%;
    height: 40vw;
    overflow: hidden;
    position: relative;
    background: url("../images/bg1.png") no-repeat center top #fff;
    background-size: cover;
}





/* 容器样式 */
.container {
    max-width:60vw;
    margin: 0 auto;
    padding:2vw 0;
}

/* 区块通用样式 */
.section {
    padding:2vw;
    background-color: rgba(255, 255, 255, 0.65);
    border-radius: 0.4vw;
    box-shadow: 0 0 2vw rgba(0, 0, 0, 0.1);
    margin-bottom: 2vw;
}

/* 区块标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 3vw;
    position: relative;
}

.section-title img{ width:88%; margin: 0 auto;}


/* 图片网格样式 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1vw;
    margin-bottom: 3vw;
}

.image-grid img {
    width: 100%;
    height: 7vw;
    object-fit: cover;
    border-radius: 0.5vw;
    box-shadow: 0 0 1vw rgba(0, 0, 0, 0.1);
}

/* 三列布局 */
.three-column {
    display: flex;
    gap: 2vw;
    margin-bottom: 3vw;
    justify-content: space-between;
}

.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.column img {
    width: 100%;
    height:10vw;
    object-fit: cover;
    border-radius: 0.2vw;
    margin-bottom:0.6vw;
}
.column h1 { font-size: 1.1rem; text-align: center; margin-bottom: 1vw;}

.column p {
    text-indent: 2em;
    font-size: 1vw;
    line-height: 1.8;
    color: #666;
    text-align: left;
}

/* 六边形网格 */
/*ling*/
.ling {
  height: 20vw;
  position: relative;
  margin: 3.125vw auto;
  width: 48vw;
}

.ling img {
  display: block;
  position: absolute;
  width: 10vw;

}

img.x1 {
  left: 0vw;
  top: 6vw;
}

img.x2 {
  left: 9vw;
  top: 0.4vw;
}

img.x3,
show2 {
  left: 9vw;
  top: 10vw;
}

img.x4 {
  left: 18.5vw;
  top: 6vw;
}

img.x5 {
  left: 28vw;
  top: 0.4vw;
}

img.x6 {
  left: 28vw;
  top: 10vw;
}

img.x7 {
  left: 37vw;
  top: 6vw;
}





/* 区块内容 */
.section-content {
    text-align: center;
}
.section-content h1{ text-align: center; font-size: 1.4rem; margin-bottom: 1vw;}

.section-content p {
    font-size: 1vw;
    line-height: 1.8;
    margin-bottom: 1.5vw;
    color: #666;
    text-align: left;
    text-indent: 2em;
}



/* 页脚样式 */
.foot {
    margin: 0 auto;
    text-align: center;
    background: #fdfaf6;
    padding: 2vw 0;
}

.foot * {
    text-align: center !important;
    margin: 0 auto;
}

.foot p {
    font-size: 0.9vw;
    color: #666;
    margin: 0;
    padding: 0;
    text-indent: 0 !important;
    margin-bottom: 1vw;
}

.foot script {
      display: none;
      margin: 0 auto;
      text-align: center;
  }


/* 等比例缩放响应式设计 */
@media (max-width: 768px) {
    html {
        font-size: 2.5vw; /* 增大移动端字体基准 */
        -webkit-text-size-adjust: none; /* 防止iOS自动调整字体大小 */
    }
    
    /* 容器缩放 */
    .container {
        max-width: 95vw;
        padding: 3vw 0;
    }
    
    /* Banner响应式 */
    .banner {
        height: 70vw;
    }
    
    /* 区块通用样式调整 */
    .section {
        margin-bottom: 5vw;
        padding: 3vw;
        border-radius: 1vw;
    }
    
    /* 标题图片调整 */
    .section-title img {
        width: 100%;
    }
    
    /* 图片网格响应式 */
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2vw;
    }
    
    .image-grid img {
        height: 25vw;
    }
    
    /* 三列布局调整为单列 */
    .three-column {
        flex-direction: column;
        gap: 5vw;
    }
    
    .column {
        width: 100%;
    }
    
    .column img {
        height: 40vw;
        width: 100%;
    }
    
    .column h1 {
        font-size: 3vw;
    }
    
    .column p {
        font-size: 2.5vw;
        line-height: 1.6;
    }
    
    /* 内容文本调整 */
    .section-content h1 {
        font-size: 3vw;
    }
    
    .section-content p {
        font-size: 2.5vw;
        line-height: 1.6;
    }
    
    /* 页脚调整 */
    .foot p {
        font-size: 2vw;
        padding: 1vw;
    }
}

/* 小屏手机优化 */
@media (max-width: 480px) {
    html {
        font-size: 3vw;
    }
    
    .banner {
        height: 80vw;
    }
    
    .image-grid img {
        height: 30vw;
    }
    
    .column img {
        height: 50vw;
    }
    
    .foot p {
        font-size: 2.5vw;
    }
}

/* 确保所有元素使用vw单位进行等比例缩放 */
* {
    transition: none !important; /* 移除过渡效果，提高移动端性能 */
}

/* 防止图片过大溢出容器 */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* 确保文本不会溢出容器 */
p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

