@charset "UTF-8";

/* 轮播图样式 */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

/* 中心图片容器 */
.center-image {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

/* 新产品展示区域 */
.new-product-section {
    background-image: url('../images/banner6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.text-content {
    color: #333;
    padding: 40px;
}

.text-content h2 {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #000;
}

.text-content .subtitle {
    font-size: 30px;
    margin: 15px 0 30px 0;
    color: #000000;
    font-family: 'SourceHanSansCN-Normal', sans-serif;
    letter-spacing: 3px;
    font-weight: 200;
    font-weight: bold;
}

.text-content .highlight-text {
    font-size: 26px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #000;
        font-family: 'SourceHanSansCN-Normal', sans-serif;
}

.text-content .description {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
       font-weight: 200;
    margin: 20px 0 0 0;
     letter-spacing: 2px;
     font-family: 'SourceHanSansCN-Normal', sans-serif;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 标准认证区域 */
.standards-section {
    background-image: url('../images/d2bj5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding:100px 0;
    position: relative;
    overflow: visible;
    height: 800px;
 
}

.standards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.standards-grid-item:first-child {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px 0 20px;
  margin-top: -30px;
}

.standards-grid-item:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px 0 30px;
  margin-top: -30px;
}

.standards-text {
    color: white;
    width: 500px;
    max-width: 600px;
}

.din-bold-text {
    font-family: 'DIN-Bold', sans-serif;
    font-size: 46px;
    line-height: 1.4;
    margin: 0 0 20px 0;
    color: white;
}

.subtitle-text {
    font-family: 'DIN-Bold', sans-serif;
    font-size: 30px;
    margin: 0 0 30px 0;
    color: white;
    letter-spacing: 10px;
      font-weight: bolder;
}

.description-text {
  font-family: 'SourceHanSansCN-Normal', sans-serif;
  font-size: 15px;
  color: white;
  line-height: 1.8;
  margin-top: 0px;
    letter-spacing: 2px;
}

.description-text span.highlight {
      font-family: 'SourceHanSansCN-Normal', sans-serif;
  font-size: 20px;
  display: block;
  margin-bottom: 40px;
    font-weight: bolder;
}

.standards-image {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  display: block;
  margin: 0 auto;
  position: relative;
  top: 300px;
  z-index: 10;
}

/* 中心图片样式 */
.center-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 300px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

/* 从下到上渐出动画 */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 当轮播图激活时显示中心图片 */
.carousel-slide.active .center-image,
.carousel-slide.active .center-img {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.carousel-controls {
    position: absolute;
    bottom: 200px;
    right: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

/* 竖装切换柱 */
.carousel-dots {
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: center;
    background: transparent;
    padding: 0;
    margin: 0;
}

.carousel-dot {
    width: 3px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.carousel-dot:focus {
    outline: none;
    box-shadow: none;
}

.carousel-dot.active {
    height: 100px;
    background-color: white;
}

/* 序号显示 */
.carousel-counter {
    color: white;
    font-weight: bold;
    font-family: 'DIN-Bold', sans-serif;
    position: relative;
    z-index: 3;
}

.carousel-counter .current {
    font-size: 36px;
}

.carousel-counter .total,
.carousel-counter span:nth-child(2) {
    font-size: 18px;
    opacity: 0.7;
}
/* 引入思源黑体字体 */
@font-face {
  font-family: 'SourceHanSansCN-Normal';
  src: url('../fonts/SourceHanSansCN-Normal.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* 引入DIN-Bold字体 */
@font-face {
  font-family: 'DIN-Bold';
  src: url('../fonts/DIN-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

/* 健康理疗生态 section */
.health-section {
  background-image: url('../images/d2bj3.jpg');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  height: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.health-content {
  width: 1250px;
  max-width: 100%;
  padding: 0 20px;
  position: relative;
  top: -80px;
}

.health-title h2 {
  font-family: 'SourceHanSansCN-Normal', sans-serif;
  font-size: 50px;
  color: #333333;
  text-align: left;
  margin: 0 0 20px 0;
  line-height: 1.2;
    font-weight: bold;
}

.health-subtitle h3 {
  font-family: 'SourceHanSansCN-Normal', sans-serif;
  font-size: 36px;
  color: #333333;
  text-align: left;
  margin: 0 0 30px 0;
  letter-spacing: 5px;
    font-weight: bold;
}

.health-description p {
  font-family: 'SourceHanSansCN-Normal', sans-serif;
  font-size: 16px;
  color: #333333;
  text-align: left;
  margin: 0 0 40px 0;
    letter-spacing: 2px;
}

.health-image {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

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

.health-products {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 28px;
}

.product-item {
  font-family: 'SourceHanSansCN-Normal', sans-serif;
  font-size: 16px;
  color: #333333;
  letter-spacing: 1px;
}

.product-item .highlight {
  font-weight: bold;
}

/* 新导航头部样式 */
.new-header {
  background-color: white;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.new-header .header-content {
  width: 1250px;
  display: flex;
  align-items: center;
}

.new-header .logo {
  margin-right: 50px;
  display: flex;
  align-items: center;
  width: auto;
  height: 50px;
  z-index: 10;
  overflow: visible;
  /* 添加边框以便调试 */
  border: 1px solid transparent;
}

.new-header .logo img {
  height: 50px;
  display: block;
  width: auto;
  object-fit: contain;
  max-width: 100%;
  z-index: 11;
  visibility: visible;
  opacity: 1;
}

.new-header .nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
}

.new-header .nav-item {
  position: relative;
  margin-right: 40px;
  white-space: nowrap;
}

.new-header .nav-item:last-child {
  margin-right: 0;
}

.new-header .nav-item a {
  display: block;
  font-family: 'SourceHanSansCN-Normal', sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  text-decoration: none;
  padding: 28px 10px;
  position: relative;
  transition: color 0.3s ease;
}

.new-header .nav-item a:hover {
  color: #000dff;
}

.new-header .nav-item a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #000dff;
  transition: width 0.3s ease;
}

.new-header .nav-item a:hover::after {
  width: calc(100% + 20px); /* 比文字长点 */
}