/* 在文件最开始添加根元素字体设置 */
html {
  /* 设置基准字体大小为屏幕宽度的2.5% */
  font-size: 2.5vw;
}

/* 添加媒体查询，针对不同屏幕大小设置不同的基准字体 */
@media screen and (min-width: 1024px) {
  html {
    /* 大屏幕下设置较小的基准值 */
    font-size: 1vw;
  }
}

@media screen and (max-width: 770px) {
  html {
    /* 移动端设置较大的基准值 */
    font-size: 3.5vw;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* 隐藏横向滚动条 */
  overflow-x: hidden;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

/* 为Webkit浏览器(Chrome、Safari等)隐藏滚动条 */
*::-webkit-scrollbar {
  display: none;
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f7f2;
}

.container {
  width: 100%;
  margin: 0 auto;
}

/* 吸顶导航栏 */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 1vw rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1vw 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.3s ease;

  /* transition: all 0.3s ease; */
}

.sticky-header.visible {
  transform: translateY(0);

  /* 此处保留空类，以便于JavaScript逻辑保持兼容 */
}

.sticky-logo {
  height: 3.7vw;
}

/* 视频封面区域 */
.hero-section {
  position: relative;
  width: 100%;
  /* height: 85vh; */
  /* 移除固定高度 */
  height: auto;
  /* 高度自动 */
  /* max-height: 80vh; */
  /* 限制最大高度 */
  /* 默认全屏高度 */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-section video {
  /* position: absolute;
  top: 0;
  left: 0; */
  width: 100%;
  /* 设置宽度为100%，以便在宽度不足时等比例缩小 */
  /* height: 85vh; */
  /* 移除固定高度 */
  height: auto;
  /* 高度自动，保持比例 */
  max-height: 80vh;
  /* 设置最大高度为视口高度的80% */
  object-fit: contain;
  /* 修改为 contain，使视频在容器中完整显示 */
  /* 保持视频比例并填充整个容器 */
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.play-button {
  width: 4vw;
  height: 4vw;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.play-button:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1vw 0 1vw 1.5vw;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 8px;
}

/* 品牌标志 */
.logo {
  position: absolute;
  top: 1vw;
  left: 1vw;
  max-width: 12.5vw;
  z-index: 10;
}

/* 茶饮品牌介绍 */
.brand-intro {
  padding: 3vw 0;
  text-align: center;
  background-color: #fff;
}

.brand-title {
  font-size: 2.5rem;
  margin-bottom: 1.5vw;
  color: #4a4a4a;
  position: relative;
  display: inline-block;
}

.brand-title::after {
  content: "";
  position: absolute;
  bottom: -1vw;
  left: 50%;
  transform: translateX(-50%);
  width: 4vw;
  height: 3px;
  background-color: #e9a269;
}

.brand-desc {
  max-width: 50vw;
  margin: 0 auto 2vw;
  font-size: 1.1rem;
  color: #666;
}

.tea-category {
  background-color: #fff;
}

.category-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between
}

.category-image {
  flex: 1;
  min-width: 33vw;
  /* padding: 1vw; */
  text-align: center;
}

.category-image img {
  width: 50vw;
  height: 55vw;
  /* height: auto; */
  border-radius: 1vw;
  object-fit: contain;
  /* 确保图片在容器中完整显示 */
}

.category-text-1 {
  width: 50vw;
  padding: 12vw;
  background-image: url(image/web/qinglu.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.category-img {
  width: 10vw;
  height: 4vw;
  margin-bottom: 2vw;
  object-fit: contain;
}

.category-img2 {
  width: 4vw;
  height: 14vw;
  margin-bottom: 3vw;
  object-fit: contain;
}

.category-img3 {
  width: 4vw;
  height: 18vw;
  object-fit: contain;
}

.category-text-2 {
  flex: 1;
  width: 50vw;
  /* min-width: 300px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url(image/web/heye.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.category-text-2-1 {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.category-text-3 {
  background-image: url(image/web/shuangcao.webp);
  width: 50vw;
  padding: 12vw;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.category-text-4 {
  flex: 1;
  width: 50vw;
  /* min-width: 300px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url(image/web/chenpi.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.category-title {
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: 1vw;
  color: #4a4a4a;
}

.category-subtitle {
  font-size: 2rem;
  margin-top: 2.5vw;
  margin-bottom: 1.5vw;
  color: #888;
  font-style: italic;
  font-family: Segoe Script;
}

.category-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1vw;
}

.category-explain {
  font-size: 1.5rem;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #333333;
  line-height: 2;
}

.tea-features {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1vw;
}

.tea-feature {
  background-color: #f0e6d9;
  color: #8b6c4a;
  padding: 5px 1vw;
  border-radius: 1vw;
  margin: 0 1vw 1vw 0;
  font-size: 0.9rem;
}

/* 清新双拼区域 */
.tea-reversed .category-content {
  flex-direction: row-reverse;
}

/* 关于我们部分 */
.about-section {
  padding: 4vw 0;
  background-color: #fff;
  text-align: center;
}

.about-title {
  font-size: 2.5rem;
  margin-bottom: 1.5vw;
  color: #4a4a4a;
  position: relative;
  display: inline-block;
}

.about-title::after {
  content: "";
  position: absolute;
  bottom: -1vw;
  left: 50%;
  transform: translateX(-50%);
  width: 4vw;
  height: 3px;
  background-color: #e9a269;
}

.about-content {
  max-width: 70vw;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  text-align: left;
  padding: 1vw;
  margin-bottom: 3vw;
}

.line {
  border-right: solid 1px #262626;
  height: 18vw;
  margin: 0 3.5vw;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.about-paragraph {
  margin-bottom: 1vw;
  font-family: 'Segoe Script', 'Arial', cursive;
  font-weight: bold;
  font-size: 1.5rem;
  color: #dad9d9;
  /* line-height: 51px; */
  text-indent: 2em;
  /* 添加首行缩进两个字符 */
}

/* 联系我们部分 */
.contact-section {
  padding: 3vw 0;
  background-color: #f0e6d9;
  color: #4a4a4a;
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 1.5vw;
  text-align: center;
}

/* 页脚部分 */
.footer {
  padding: 2vw 0;
  background-color: #333;
  color: #ccc;
  text-align: center;
}

.footer-logo {
  margin-bottom: 1vw;
}

.footer-logo img {
  max-width: 12.5vw;
}

.footer-text {
  font-size: 0.9rem;
  margin-bottom: 1vw;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-bottom: 1vw;
}

.social-icon {
  width: 2vw;
  height: 2vw;
  margin: 0 1vw;
  background-color: #555;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #e9a269;
}

.copyright {
  font-size: 0.8rem;
  color: #888;
}

.slogan {
  padding: 3vw 0;
  background-image: url(image/web/about.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
}

.slogan-text {
  color: #FDA505;
  max-width: 50vw;
  margin: 0 auto;
  font-weight: bold;
  font-size: 2.5rem;
}

.slogan-text1 {
  color: #FDA505;
  max-width: 50vw;
  margin: 0 auto;
  font-size: 1.5rem;
  font-weight: bold;

}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 1vw;
  right: 1vw;
  width: 2.5vw;
  height: 2.5vw;
  background-color: rgba(233, 162, 105, 0.8);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 2.5vw;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  z-index: 100;
  box-shadow: 0 2px 1vw rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
  background-color: #fca40a;
}

/* 茶叶认证图片样式 */
.tea-cert {
  margin: 1vw auto;
  max-width: 100%;
  text-align: center;
}

.tea-cert img {
  max-width: 100%;
  height: auto;
}

/* 产品展示区域样式 */
.product-section {
  position: relative;
  width: 100vw;
  min-height: 90vh;
  /* 改为最小高度 */
  overflow: visible;
  /* 改为可见 */
}

.product-bg {
  position: relative;
  width: 100%;
  padding: 2.5vw 0;
}

.product-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 1vw;
}

.product-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-right: 2vw;
}

.circle-image {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
}

.circle-image img {
  width: 50vw;
  height: 50vw;
}

.product-introduction img {
  width: 7vw;
  /* height:21vw; */
}

.circle-text {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  width: 100%;
  padding: 0 1vw;
}

.product-right {
  flex: 1;
  padding: 1vw;
}

.product-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5vw;
}

.product-icon {
  margin-right: 1vw;
}

.product-icon img {
  width: 33vw
}

.product-brand {
  flex: 1;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
  color: #333;
}

.brand-name span {
  color: #FCA40A;
  font-weight: 400;
}

.product-intro {
  margin-bottom: 2vw;
}

.product-title {
  margin: 2.5vw 0;
}

.product-title p {
  font-family: Microsoft YaHei;
  font-weight: 400;
  font-size: 1.4rem;
  color: #333333;
  line-height: 1.5;
}

.zero-tag {
  display: inline-block;
  background: rgba(252, 164, 10, 0.14);
  border-radius: 1.5vw;
  padding: 1vw;
  color: #FDA505;
  font-size: 1.6rem;
  margin-top: 1vw;
}

.qrcode-section {
  margin-top: 3.5vw;
  display: flex;
  justify-content: flex-start;
}

.qrcode-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 11vw;
  cursor: pointer;
  transition: transform 0.3s ease;
  background: #FFFFFF;
  box-shadow: 0px 0px 1.5vwx 0.2vw rgba(53, 53, 53, 0.04);
  border-radius: 1vw;
  width: 14vw;
  height: 16vw;
}

.qrcode-item:hover {
  transform: scale(1.05);
}

.qrcode-img {
  width: 10vw;
  height: 10vw;
  margin: 2vw;

  border-radius: 1vw;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.qrcode-text {
  font-size: 1rem;
  color: #666;
  text-align: center;
}

.little-man {
  position: absolute;
  top: -1vw;
  left: 4vw;
  z-index: 2;
}

.little-man img {
  width: 2vw;
  height: auto;
}

.product-label {
  position: absolute;
  left: 4vw;
  top: 1.5vw;
  writing-mode: vertical-lr;
  text-orientation: upright;
  border-left: 2px solid #FCA40A;
  padding-left: 1vw;
  height: 11vw;
  display: flex;
  align-items: center;
}

.product-label span {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  letter-spacing: 2px;
}

/* 页脚区域样式 */
.footer-section {
  width: 100%;
  background-color: #fff;
  position: relative;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2vw 0;
  background-image: url(image/web/foot.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 22vw;
}


.footer-image {
  max-width: 100%;
  height: auto;
}

.footer-right {
  margin-right: 1vw;
}

.like-container {
  display: flex;
  align-items: center;
  max-width: 50vw;
}

.like-image {
  width: 16vw;
  height: 14vw;
  margin-right: 1vw;
}

.like-text h3 {
  font-size: 1.8rem;
  font-family: Source Han Sans CN;
  font-weight: bold;
  color: #FFFFFF;
}

.like-buttons {
  display: flex;
  gap: 1vw;
}

.menu-button {
  width: 30vw;
  height: 3vw;
  background: rgba(255, 255, 255, 0.5);
  font-family: Source Han Sans CN;
  font-weight: bold;
  font-size: 1.4rem;
  color: #FFFFFF;
  margin: 3vw 3.5vw 0 0;
  padding: 0 1vw;
  line-height: 3vw;
}

.go-button {
  width: 11vw;
  height: 3vw;
  background: #FCA40A;
  margin-top: 3vw;
  line-height: 3vw;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}


.footer-info {
  width: 100%;
  background-color: #fca40a;
  color: #fff;
  text-align: center;
  height: 4vw;
}

.footer-info p {
  font-family: Adobe Heiti Std;
  font-weight: normal;
  font-size: 0.8rem;
  color: #FFFFFF;
  line-height: 4vw;
}

/* 移动端适配样式 */
@media screen and (max-width: 770px) {

  /* 调整容器布局 */
  .category-content {
    flex-direction: column !important;
  }

  .category-reverse {
    flex-direction: column-reverse !important;
  }

  /* 调整图片和文本区块宽度 */
  .category-image,
  .category-text-1,
  .category-text-2,
  .category-text-3,
  .category-text-4 {
    width: 100vw;
    min-width: 100vw;
  }

  /* 调整padding和margin */
  .category-text-1,
  .category-text-3 {
    padding: 24vw;
  }

  /* 调整字体大小 */
  .category-title {
    font-size: 2.2rem;
  }

  .category-subtitle {
    font-size: 1.4rem;
    margin-top: 5vw;
    margin-bottom: 3vw;
  }

  .category-desc {
    font-size: 1rem;
  }

  .category-explain {
    font-size: 1.2rem;
  }

  /* 调整图标大小 */
  .category-img {
    width: 20vw;
    height: 8vw;
    margin-bottom: 4vw;
  }

  .category-img2 {
    width: 16vw;
    height: 50vw;
    margin-bottom: 6vw;
  }

  .category-img3 {
    width: 16vw;
    height: 70vw;
  }

  /* 产品展示区域适配 */
  .product-container {
    flex-direction: column;
    padding: 0 2vw;
  }

  .product-left {
    margin-right: 0;
    margin-bottom: 4vw;
  }

  .circle-image img {
    width: 100vw;
    height: 100vw;
  }

  .product-icon img {
    width: 66vw;
  }

  .product-introduction img {
    width: 14vw;
  }

  /* 二维码区域适配 */
  .qrcode-section {
    flex-direction: column;
    align-items: center;
  }

  .qrcode-item {
    width: 28vw;
    height: 32vw;
    margin-right: 0;
    margin-bottom: 4vw;
  }

  .qrcode-img {
    width: 20vw;
    height: 20vw;
    margin: 4vw;
  }

  /* 页脚区域适配 */
  .footer-content {
    flex-direction: column;
    height: 80vw;
    padding: 4vw 0;
  }

  .like-container {
    max-width: 100vw;
    flex-direction: column;
    align-items: center;
  }

  .like-image {
    width: 32vw;
    height: 28vw;
    margin-right: 0;
    margin-bottom: 2vw;
  }

  .menu-button {
    width: 60vw;
    height: 6vw;
    font-size: 1.6rem;
    margin: 6vw 7vw 0 0;
    line-height: 6vw;
  }

  .go-button {
    width: 22vw;
    height: 6vw;
    margin-top: 6vw;
    line-height: 6vw;
    font-size: 1.6rem;
  }

  .footer-info {
    height: 8vw;
  }

  .footer-info p {
    font-size: 1rem;
    line-height: 8vw;
  }

  /* 导航栏适配 */
  .sticky-header {
    padding: 2vw 0;
  }

  .sticky-logo {
    height: 7.4vw;
  }

  /* Logo适配 */
  .logo {
    max-width: 25vw;
  }

  /* 品牌介绍适配 */
  .brand-desc {
    max-width: 100vw;
    padding: 0 4vw;
    font-size: 1rem;
  }

  /* 返回顶部按钮适配 */
  .back-to-top {
    width: 5vw;
    height: 5vw;
    line-height: 5vw;
    font-size: 3rem;
  }

  /* 播放按钮适配 */
  .play-button {
    width: 8vw;
    height: 8vw;
  }

  .play-icon {
    border-width: 2vw 0 2vw 3vw;
    margin-left: 16px;
  }

  .flex {
    flex-direction: column-reverse;
  }
}