@import '/static/css/custom/usefonts.css';

:root {
  --primary-color: #000000;
  --secondary-color: #333333;
  --accent-color: #ffffff;
  --text-color: #ffffff;
}
.dark-background {
  --background-color: #06060600;
}

body {
  font-family: "SourceHanSansSC-Light", sans-serif;
  color: var(--text-color);
  background-color: #ffffff;
}

header, .navmenu, .dropdown-menu {
  background-color: var(--primary-color) !important;
}

.header {
  padding: 0;
}

.navmenu ul li a {
  color: var(--text-color) !important;
  font-family: "SourceHanSansSC-Light", sans-serif !important;
  font-size: 14px !important;
  letter-spacing: 0px !important;
  position: relative;
  padding-bottom: 5px;
}

.navmenu ul li a:hover {
  /* color: var(--text-color) !important; */
}

.navmenu .toggle-dropdown ul li a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
}

.dropdown-menu li a:hover::after {
  display: none;
}

.header .logo img {
  max-height: 16px;
}

.dropdown-menu {
  background-color: var(--primary-color) !important;
  border: 1px solid rgba(255,255,255,0.1);
}

.dropdown-menu li a {
  color: var(--text-color) !important;
  padding: 8px 20px;
}

.dropdown-menu li a:hover {
  background-color: rgba(255,255,255,0.1) !important;
  color: var(--text-color) !important;
}

.hero{
    width: 100%;
    min-height: 553px;
}

/* Features板块字体样式 */
#features {
  padding-top:10px;
}
#features .container{
  max-width: 1348px;
}
#features .container ul{
  width: 720px;
  margin-left: auto;
  margin-right: auto;
}

#features .container .tab-content .row{
  background-color: #f6f6f6;
}

#features .nav-tabs .nav-link.active {
  background-color: var(--background-color);  
  color: var(--accent-color);
  border-color: #000;
}
#features .nav-tabs h4 {
  font-family: "SourceHanSansSC-Light", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  color: #353535;
  font-weight: 400;
}

#features .tab-content h2 {
  /* padding-left: 30px; */
  font-family: "SourceHanSansSC-Light", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  color: #353535;
}
#features .tab-content h3 {
  /* padding-left: 30px; */
  font-family: "SourceHanSansSC-Light", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  color: #666666;
  margin-bottom: 0px;
}

#features .tab-content p {
  /* padding-left: 30px; */
  font-family: "SourceHanSansSC-Light", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 23px;
  color: #999999;
}

.features .tab-pane h3:after {
  
    /* width: 60px; */
    height: 0px;
    /* background: #e2e2e2;
    margin-left:30px; */
}

.features-text-1{
    padding-top: 10px;
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 20px;
    margin-bottom: 20px;
    margin-left: 30px;
}
.features-text-2-ul{
  max-width:100%;
}
.features-text-2-li{
  padding-left: 30px;
  font-family: "SourceHanSansSC-Light", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 23px;
  color: #999999;
  list-style-type: none;
}
.features-text-2-li::before {

  content: ""; /* 不显示任何内容 */
  display: inline-block; /* 使圆点与文本在同一行显示 */
  width: 5px; /* 设置圆点宽度 */
  height: 5px; /* 设置圆点高度 */
  background-color: #999999; /* 设置圆点颜色 */
  border-radius: 50%; /* 创建圆形 */
  margin-right: 5px; /* 在圆点和文本之间添加一些空间 */
}

.features-text-2-time{
  float:right;
  margin-left:auto;
}
.features-video-container {
  position: relative;
  padding-bottom: 63%; /* 16:9 */
  height: 0;
  overflow: hidden;
  /* border-radius: 12px; */
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
}
.features-video-container .features-video{
  width: 100%;
  height:auto;
  max-height: 400px;
}

.features-text-2-li:hover {
  color: #353535; 
  cursor: pointer;
}

.li-active {
  color: #353535; 
  cursor: pointer;
}

/* 轮播图覆盖图片样式 */
.carousel-item {
  position: relative;
}

.carousel-item img {
  filter: brightness(100%) !important;
}

.overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 2;
  mix-blend-mode: normal !important;
}

/* Products Section样式 */
#products {
  padding: 30px 0 30px 0;
  background-color: #ffffff;
  padding-right: 25px;
}

#products .container {
  max-width: 1228px;
}

.fast-icon-item {
  display: flow;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  position: relative;
  padding: 25px;
  border-radius: 10px;
  border: 2px solid #e8e8e8;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: white;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin: 0 auto;
}

.fast-icon-text{
  padding-top: 10px;
  font-size: 14px;
  letter-spacing: 0;
  color: #999999;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fast-icon-img {
  width: 100px;
  height: 100px;
}

.fast-icon-item:hover {
  background: #000000;
  border-color: #606060;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 35px #606060
}

.fast-icon-item:hover h3 {
  color: black;
  transform: scale(1.05);
}

.fast-icon-item .img-container {
  position: relative;
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
}

.normal-img, .hover-img {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 100%;
  height: 100%;
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hover-img {
  opacity: 0;
  transform: scale(0.8) rotate(5deg);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
}

.fast-icon-item:hover .hover-img {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.fast-icon-item:hover .normal-img {
  opacity: 0;
  transform: scale(1.2) rotate(-5deg);
}

.fast-icon-item h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.4;
  /* max-width: 100%; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
  width: 140px;
  margin-left: -50px;
  color: #999999;
}

/* 响应式调整 */
@media (max-width: 1199px) {
  .fast-icon-item {
    width: 140px;
    height: 140px;
    padding: 20px;
  }
  
  .fast-icon-item .img-container {
    width: 60px;
    height: 60px;
    padding: 0;
  }
}



@media (max-width: 767px) {
  .fast-icon-item {
    width: 110px;
    height: 110px;
    padding: 15px;
  }
  
  .fast-icon-item .img-container {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }
  
  .fast-icon-item h3 {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .fast-icon-item {
    width: 90px;
    height: 90px;
    padding: 12px;
  }
  
  .fast-icon-item .img-container {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
  }
  
  .fast-icon-item h3 {
    font-size: 12px;
  }
}

#products .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: auto;
  margin-right:auto;
}

#products .product-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

#products .icon {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
}

#products .icon img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#products .product-item:hover .icon img {
  transform: scale(1.05);
}

#products .product-item h3 {
  font-family: "SourceHanSansSC-Light", sans-serif;
  font-size: 16px;
  margin: 12px 0 6px;
  color: #000;
  font-weight: 500;
}

/* 电脑端1排7个 */
@media (min-width: 992px) {
  #products .col-lg-2 {
    flex: 0 0 14.28%;
    max-width: 14.28%;
    padding: 0 10px;
  }
}

/* 平板端 */
@media (max-width: 991px) and (min-width: 768px) {
  #products .col-md-4 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px;
  }
}

/* 手机端2排4个 */
@media (max-width: 767px) {
  #products .col-4 {
    flex: 0 0 25%;
    max-width: 25%;
    /* padding: 20px; */
  }
  
  #products .product-item h3 {
    font-size: 14px;
    margin: 10px 0 5px;
  }
}

/* Media Section样式 */
#media {
  /* padding: 80px 0; */
  background-color: #ffffff;
  padding: 10px 0 0 0;
}

#media .container {
  /* margin-left: 1px;
  margin-right: 1px; */
  max-width: 1452px;
}

#media .container .row>* {
  padding: 0;
}

.media-swiper {
  height: 400px;
  /* border-radius: 12px; */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.media-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container {
  position: relative;
  padding-bottom: 63%; /* 16:9 */
  height: 0;
  overflow: hidden;
  /* border-radius: 12px; */
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
}
.video-container .video-r{
  width: 100%;
  height:auto;
  max-height: 400px;
}
.image-container .img-l{
  max-height: 400px;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px;
}

/* 响应式调整 */
@media (max-width: 991px) {
  #media {
    padding: 60px 0;
  }
  
  .media-swiper {
    height: 250px;
    margin-bottom: 30px;
  }
}

/* 交互式时间轴样式 */
.history-section {
  padding: 80px 0;
  background: url('../web_imgs/about/timeline-bg.jpg') center/cover no-repeat;
  position: relative;
}

.history-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
}

.history-container {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}


.timeline-horizontal {
  display: flex;
  position: relative;
  padding: 100px 0 50px;
}

.timeline-horizontal:before {
  content: '';
  position: absolute;
  left: 0;
  top: 100px;
  width: 100%;
  height: 2px;
  background: #ddd;
}

.timeline-item-horizontal {
  flex: 1;
  position: relative;
  padding: 0 30px;
  text-align: center;
}

.timeline-year-horizontal {
  font-size: 24px;
  color: #333;
  font-weight: bold;
  margin-bottom: 40px;
}

.timeline-dot-horizontal {
  position: absolute;
  left: 50%;
  top: 100px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #333;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-dot-horizontal:hover {
  transform: translate(-50%, -50%) scale(1.2);
  background: #000;
}

.timeline-content-horizontal {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: absolute;
  left: 50%;
  top: 140px;
  width: 300px;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 3;
}

.timeline-content-horizontal:before {
  content: '';
  position: absolute;
  left: 50%;
  top: -20px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 20px solid #ffffff;
  transform: translateX(-50%);
}

.timeline-item-horizontal:hover .timeline-content-horizontal {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
}

.timeline-content-horizontal h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
}

.timeline-content-horizontal p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .timeline-horizontal {
    flex-direction: column;
    padding: 50px 0;
  }
  
  .timeline-horizontal:before {
    left: 30px;
    top: 0;
    width: 2px;
    height: 100%;
  }
  
  .timeline-item-horizontal {
    padding: 60px 0 60px 80px;
    text-align: left;
  }
  
  .timeline-year-horizontal {
    position: absolute;
    left: 0;
    top: -10px;
    text-align: right;
    width: 60px;
    margin-bottom: 0;
  }
  
  .timeline-dot-horizontal {
    left: 29px;
    top: 0;
    transform: none;
  }
  
  .timeline-content-horizontal {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    margin-top: 30px;
  }
  
  .timeline-content-horizontal:before {
    left: 30px;
    top: -20px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid #ffffff;
    transform: none;
  }
  
  .timeline-item-horizontal:hover .timeline-content-horizontal {
    transform: none;
  }
}

/* 品牌介绍模块样式 */
.brand-intro {
  padding: 80px 0;
  text-align: center;
}

.brand-intro-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 统一模块标题样式 */
.brand-title,
.history-title,
.milestone-title {
  position: relative;
  display: inline-block;
  font-size: 32px;
  color: #000000;
  margin-bottom: 40px;
  padding: 0 20px;
  text-align: center;
}

/* 电脑版 - 文字两侧长横线 */
.brand-title:before,
.brand-title:after,
.history-title:before,
.history-title:after,
.milestone-title:before,
.milestone-title:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 500px;
  height: 2px;
  background: #333;
}

.brand-title:before,
.history-title:before,
.milestone-title:before {
  right: 100%;
}

.brand-title:after,
.history-title:after,
.milestone-title:after {
  left: 100%;
}

/* 手机版 - 文字下方短横线 */
@media (max-width: 768px) {
  .brand-title:before,
  .brand-title:after,
  .history-title:before,
  .history-title:after,
  .milestone-title:before,
  .milestone-title:after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
  }
  
  .brand-title:before,
  .history-title:before,
  .milestone-title:before {
    margin-top: 10px;
  }
  
  .brand-title:after,
  .history-title:after,
  .milestone-title:after {
    display: none;
  }
}

.brand-content {
  font-size: 16px;
  line-height: 30px;
  color: #333333;
}

.brand-content p {
  margin-bottom: 15px;
}

/* 大事记模块样式 */
.milestone-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.milestone-container {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.milestone-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.milestone-item {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.milestone-date {
  text-align: left;
  background: #333;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
}

.milestone-content {
  display: flex;
  align-items: center;
  padding: 30px;
}

.milestone-item.reverse .milestone-content {
  /* flex-direction: row-reverse; */
}

.milestone-text {
  flex: 1;
  padding: 0 30px;
}

.milestone-text h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
}

.milestone-text p {
  color: #666;
  line-height: 1.8;
  font-size: 16px;
}

.milestone-image {
  flex: 1;
}

.milestone-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .milestone-section {
    padding: 20px 0;
    background: #f8f9fa;
  }

  .milestone-container {
    max-width: 100%;
    padding: 0 15px;
  }

  .milestone-list {
    gap: 20px;
  }

  .milestone-item {
    flex-direction: column;
  }

  .milestone-content {
    flex-direction: column;
    padding: 20px;

  }
  
  .milestone-item.reverse .milestone-content {
    flex-direction: column-reverse;
  }
  
  .milestone-text {
    padding: 20px 0 0;
  }
  
  .milestone-image {
    margin-top: 20px;
  }
}

/* Footer样式 */
.footer {
  background-color: #ffffff;
  /* padding: 60px 0 30px; */
  /* border-top: 1px solid #f0f0f0; */
}
.footer .container {
    position: relative;
    width:1315px;
    border-top: 1px solid #f0f0f0;
    padding-top: 30px;
    
}

.footer h4 {
  font-family: "SourceHanSansSC-Light", sans-serif;
  font-size: 18px;
  letter-spacing: 0px;
  /* margin-bottom: 20px; */
  color: #353535;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  /* margin-bottom: 10px; */
}

.footer ul li a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
  font-family: "SourceHanSansSC-Light", sans-serif;
  font-size: 14px;
  letter-spacing: 0px;
  line-height: 26px;
}

.footer ul li a:hover {
  color: #000;
}

.footer p {
  color: #666;
  font-family: "SourceHanSansSC-Light", sans-serif;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer_row1{
  display: flex;
}

.flex1{
  flex: 1;
}

.flex2{
  flex: 2;
}

.flex3{
  flex: 3;
}

.social-links {
  display: flex;
  gap: 15px;
  position: relative;
}

.social-icon {
  position: relative;
  display: inline-block;
}

.social-icon img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s;
}

.social-icon:hover img {
  transform: scale(1.1);
}

.social-icon::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background-image: var(--hover-image);
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 10;
}

.social-icon:hover::after {
  opacity: 1;
}

.social-links i {
  color: #000;
}

.copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.copyright a{
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}
.navmenu .dropdown ul {
  background-color: #000000;
}

.hero-carousel-img{
  display:block !important;
}
.hero-carousel-img-m{
  display: none !important;
}
/* 移动端样式 */
@media (max-width: 991px) {
  .main{
    padding-top: 48px;
  }
  .hero-carousel-img{
    display:none !important;
  }
  .hero-carousel-img-m{
    display: block !important;
  }
  .header {
    padding: 10px 0;
  }
  .mobile-nav-active .navmenu {
    margin-top: 40px;
  }
  .navmenu, .mobile-nav-toggle {
    background-color: #ffffff !important;
  }
  .navmenu ul {
    inset: 0px 20px 20px 20px;
  }
  .navmenu ul li a,
  .mobile-nav-toggle {
    color: #000000 !important;
  }
  
  .navmenu ul li a:hover::after {
    background-color: #000000;
  }
  .navmenu .dropdown ul {
    background-color: #ffffff ;
  }
  .dropdown-menu {
    background-color: #ffffff !important;
    border-color: rgba(0,0,0,0.1);
  }
  
  .dropdown-menu li a {
    color: #000000 !important;
  }
  
  .dropdown-menu li a:hover {
    background-color: rgba(0,0,0,0.05) !important;
  }
  .hero{
  min-height: 70vh;
  }
  #features .container ul {
      width: auto;
      margin-left: auto;
      margin-right: auto;
  }
  .features-text-1 {
    margin-left: 10px;
  }
  .features-text-2-li {
    padding-left: 10px;
    display:flex;
    justify-content: space-between;
    align-items: center;
  }
  .features-text-2-title{
    display: inline-block;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
  }
  .features-text-2-li.li-active .features-text-2-title{
    white-space: normal;
  }
  #products {
    padding-right: 0px;
    padding: 0;
  }
  #products .normal-img, .hover-img {
    max-width: 70%;
    max-height: 70%;
  }
  .footer {
    padding: 0;
  }
  .footer .container {
      /* width:1315px; */
      max-width: 100%;
      padding: 0;
  }
  .footer .row{
    display:none;
  }

  .fast-icon-item {
    width: 40px;
    height: 40px;
    padding: 18px;
  }
  
  .fast-icon-item .img-container {
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
  }
  
  .fast-icon-item h3 {
    font-size: 16px;
  }
  .navmenu a i:hover, .navmenu a:focus i:hover {
    color: #000000;
  }
  .navmenu .active i, .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: #000000;
    transform: rotate(180deg);
  }
  .navmenu .dropdown ul {
    padding: 0px 0;
    margin: 0px 20px;
  }
  .navmenu ul {
    padding: 0px 0;
  }
}