/* 响应式布局样式 */
body {
  margin: 0;
  padding: 0;
  /*overflow-x: hidden;*/
}

.page {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  /*overflow-x: hidden;*/
}

/* Foods页面样式 */
.ad-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 行样式 */
.ad-row {
    margin-bottom: 40px;
    overflow: hidden;
    clear: both;
}

.ad-row > h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
    font-weight: bold;
}

/* 列样式 */
.ad-col {
    float: left;
    width: 33%;
    height: 445px;
    padding: 15px;
    box-sizing: border-box;
}

.ad-col-text {
    background: #FFFFFF;
    font-weight: normal;
    font-size: 20px;
    color: #333333;
    line-height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.ad-col img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.ad-col h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.ad-col h5 {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.ad-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}
/* Foods页面样式 */

.block_1 {
  width: 100%;
  height: auto;
  background-size: cover;
}

.link{
  text-decoration: none;
  color: black;
}

.group_1 {
  width: 100%;
}

.group_2 {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 20px;
}

/* 导航菜单响应式调整 */
.image_1 {
  margin: 22px 20px 0 20px;
}

.box_1, .text_1, .text_2, .text_3, .text_4, .text_5, .text_6, .text_7 {
  margin: 37px 15px 0 15px;
}

/* 图片响应式 */
.image-wrapper_1 img, .image_3 {
  max-width: 100%;
  height: auto;
}

/* 品牌理念内容居中 */
.group_3, .group_5, .group_6 {
  width: 1199px;
  max-width: 100%;
  margin: 10px auto 11px auto;
  display: flex;
  justify-content: center;
}

/* 品牌创始团队内容居中 */
.text-wrapper_1, .image-wrapper_3, .image-wrapper_4, .text-wrapper_2, .text-wrapper_3, .image-wrapper_5, .text-wrapper_4, .text-wrapper_5, .text-wrapper_6, .image-wrapper_6, .text-wrapper_7, .text-wrapper_8, .text-wrapper_9 {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
}

/* 热门产品内容居中 */
.group_7 {
  width: 1200px;
  max-width: 100%;
  margin: 77px auto 0 auto;
}

/* 页脚内容居中 */
.block_2, .block_3, .block_4 {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

/* 版权信息居中 */
.text_36 {
  display: block;
  text-align: center;
  width: 100%;
  margin: 20px auto;
}

/* 调整页脚元素间距 */
.paragraph_5, .text-wrapper_11, .image_20, .box_3, .image_22 {
  margin: 10px;
}

.footer-tel {
    margin-left: -70px !important;
}

@media screen and (max-width: 768px) {

    /* 品牌创始团队响应式布局 */
    .image-wrapper_4, .image-wrapper_5 {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .image_6, .image_7, .image_8, .image_9, .image_10, .image_11 {
        margin: 20px auto;
        width: 80%;
        height: auto;
        margin-bottom:150px;
    }

    .text-wrapper_2, .text-wrapper_4 {
        flex-direction: column;
        align-items: center;
        height: auto;
        margin: 20px auto;
    }

    .text_10, .text_11, .text_12, .text_16, .text_17, .text_18 {
        margin: 10px auto;
        text-align: center;
        width: 80%;
    }

    .text-wrapper_3, .text-wrapper_5 {
        flex-direction: column;
        align-items: center;
        height: auto;
        margin: 10px auto;
    }

    .text_10 {
        position: relative;
        top:-1200px;
    }
    .text_13 {
        position: relative;
        top: -1320px;
    }

    .text_11 {
        position: relative;
        top: -710px;
    }

    .text_14 {
        position: relative;
        top: -900px;
    }

    .text_12 {
        position: relative;
        top: -260px;
    }

    .text_15 {
        position: relative;
        top: -520px;
    }

    /*line2*/
    .text_16 {
        position: relative;
        top: -1200px;
    }

    .text_19 {
        position: relative;
        top: -1320px;
    }


    .text_17 {
        position: relative;
        top: -710px;
    }

    .paragraph_2 {
        position: relative;
        top: -880px;
    }

    .text_18 {
        position: relative;
        top: -260px;
    }

    .text_20 {
        position: relative;
        top: -500px;
    }

    .text_13, .text_14, .text_15, .text_19, .paragraph_2, .text_20 {
        margin: 15px auto;
        text-align: center;
        width: 80%;
        height: auto;
    }

    /* 调整整体布局 */
    .group_5 {
        height: auto;
        padding-bottom: 30px;
    }

    /* 移除可能导致布局问题的定位 */
    .text_22, .text_23, .text_24, .text_25, .text_26, .text_27, .text_28, .text_29, .text_30 {
        position: static;
        top: auto;
    }

    .image_13, .image-wrapper_7, .image-wrapper_8 {
        margin: 20px auto;
    }
  
  .text_23, .text_24, .text_26, .text_27, .text_29, .text_30 {
    margin-left: 0;
  }
}

/* 媒体查询 - 小屏幕设备 */
@media screen and (max-width: 768px) {
    .page {
        overflow: none;
        min-height: 7800px;
    }
    
    .paragraph_1 {
        /*width: 475px;*/
        height: 100%;
    }

  .group_1{
      height: auto;
   }

  .group_2 {
    flex-direction: column;
    height: auto;
    align-items: center;
  }

  .group_3 {
    flex-direction: column;
    height: auto;
    align-items: center;
  }
  
  .group_6, .group_7{
    flex-direction: column;
    height: auto;
    align-items: center;
  }
  
  .text-wrapper_7,.text-wrapper_8,.text-wrapper_9{
    flex-direction: column;
    height: auto;
    align-items: center;
  }
  
  .text_22{
    position:relative;
    top: -1000px;
  }
  .text_25{
    position:relative;
    top: -1065px;
  }
  .text_28{
    position:relative;
    top: -1108px;
  }

  .text_23{
    position:relative;
    top: -580px;
  }
  .text_26{
    position:relative;
    top: -640px;
  }
  .text_29{
    position:relative;
    top: -678px;
  }

  .text_24{
    position:relative;
    top: -160px;
  }
  .text_27{
    position:relative;
    top: -215px;
  }
  .text_30{
    position:relative;
    top: -250px;
  }
  
  .footer-tel {
    margin-left: 0px !important;
  }

  .paragraph_1 {
    width:auto;
    margin-bottom: 16px;
  }

  .image_1 {
    margin: 15px auto;
  }
  
  .box_1, .text_1, .text_2, .text_3, .text_4, .text_5, .text_6, .text_7 {
    margin: 10px auto;
  }
}


/* 页脚样式重构 */
.group_8 {
  background-color: rgba(243, 243, 243, 1);
  width: 100%;
  padding: 50px 0 20px 0;
  margin-top: -2px;
  display: flex;
  flex-direction: column;
}

.footer-wrapper {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  padding-right: 40px;
}

.footer-right {
  flex: 1;
}

.footer-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.second-row {
  margin-top: 30px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  min-width: 150px;
}

.footer-title {
  color: rgba(51, 51, 51, 1);
  font-size: 18px;
  font-family: SourceHanSansCN-Bold;
  font-weight: 700;
  margin: 0 0 15px 0;
  line-height: 1.5;
}

.footer-text {
  color: rgba(51, 51, 51, 1);
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  line-height: 1.5;
  margin: 0;
}

.footer-logo {
  width: 162px;
  height: 48px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 50px;
  height: 50px;
}

.footer-divider {
  background-color: rgba(153, 153, 153, 1);
  width: 100%;
  max-width: 1200px;
  height: 1px;
  margin: 30px auto;
}

.copyright {
  color: rgba(204, 204, 204, 1);
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  text-align: center;
  width: 100%;
  margin: 20px 0;
}

/* 媒体查询 - 小屏幕设备 */
@media screen and (max-width: 768px) {

  .image-wrapper_1 {
    max-width: 100%;
    height: 400px !important;
    background: url(/Content/img/308862158034089b4c40b38ae05e1b7a.png) 100% no-repeat;
    background-size: 100% 50%;
    width: 1920px;
  }

  .footer-wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-left {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-column {
    width: 100%;
    align-items: center;
    margin-bottom: 30px;
  }
  
  .social-icons {
    justify-content: center;
  }
}