/**
 * New Home Page Styles - Page 403
 * 根据设计图 content.jpg 一比一还原的样式
 */

/* 全局样式 */
:root {
  --primary-color: #dc3545;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --border-color: #dee2e6;
}
.btn{ transition: transform 0.3s ease;}
.btn:hover{transform: scale(1.08); }
.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 50px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  text-transform: uppercase;font-family: var(--font-family-1);
}

.section-subtitle {
  font-size: 18px;
  color: #000;
  line-height: 1.3;max-width: 740px;
    margin: 0 auto;
}
.company-intro-row{ padding-top:85px}
/* Banner Section */
.home-banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-swiper {
  width: 100%;
  height: 600px;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}

.banner-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-color);
}

.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next {
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/* Products Section */
.products-section {
  padding: 80px 0;
  background: #fff;
}

.product-card {
  background: #f0f0f0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8f9fa;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 24px;
    text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px; text-align:center;
}

.product-title a {
  color: var(--text-dark);
  text-decoration: none;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden; 
}
.product-title a:before{ content:''; width:5px; height:15px; background:#e60012; border-radius:10px; display:inline-block; margin-right:5px}

.product-title a:hover {
  color: var(--primary-color);
}

.product-desc {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px; text-align:center;
  flex: 1;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden; 
}

.btn-read-more {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn-read-more:hover {
  background: #c82333;
  color: #fff;
  transform: translateX(5px);
}

/* About Us Section */
.about-us-section {
  padding: 0 0 80px 0;
}

.stat-item {
  display: flex;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;margin-top: 7px;
}

.stat-number {
  font-size: 40px;
  font-weight: 500;
  color: var(--text-dark);line-height: 1;
}

.stat-label {
  font-size: 18px;
  color: var(--text-light);
  margin: 0;
}

.company-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.company-image img,
.company-image video {
  width: 100%;
  height: auto;
  display: block;
}

.company-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.company-content{ padding-left:30px}

.company-description {
  font-size: 20px;
  color:#000;
  line-height: 1.5;
  margin-bottom: 40px;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 8;overflow: hidden; 
}
.btn-know-detail{ font-size:20px; border-radius:24px; background:#e60012;padding: 9px 40px;}

.about-nav-tabs {
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 30px; max-width:1410px; margin: 0 auto; margin-bottom:30px;
}

.about-nav-tabs .nav-link {
  border: none;
  color: var(--text-light);
  font-weight: 500;
  padding: 15px 0; font-size: 30px;position:relative; margin-right: 50px;
}
.about-nav-tabs .nav-item:first-child .nav-link { padding-left:0}
.about-nav-tabs .nav-link:after{ content:''; width:15px; height:5px;  background:#e60012; border-radius:10px; opacity:0; display:block; position:absolute; left:0; bottom:-5px}
.about-nav-tabs .nav-link:hover,
.about-nav-tabs .nav-link.active {
  color: var(--primary-color);
  background: transparent;
}
.about-nav-tabs .nav-link.active:after{ opacity:1}
.know-more-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  padding: 15px 25px;line-height: 45px; display: block;
}

.about-image-item {
  overflow: hidden;
  transition: all 0.3s ease;
}
.about-image-item img{ width:100%}

.about-image-item:hover {
  transform: translateY(-3px);
}

/* Solution Sections */
.solution-section {
  padding: 100px 0;
}

.solution-title {
  font-size: 50px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom:40px;font-family: var(--font-family-1);
}

.solution-description {
  font-size: 20px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 100px;max-width: 440px;
}
.oem-odm-section .solution-description{ float:right}
.skd-ckd-section  .solution-description{ float:left}
.oem-odm-section .solution-content{ text-align:right; padding-right:40px}
.skd-ckd-section .solution-content{ padding-left:40px;}
.skd-ckd-section{ padding-top:0}
.solution-section-cc{ background:url(/wp-content/themes/eleven/assets/images/bg.webp) bottom center no-repeat; background-size:cover}
.solution-image {
  border-radius: 8px;
  overflow: hidden;
}

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

/* Cases Section - 1大图+4小图布局 */
.cases-section {
  padding: 80px 0 0 0;
}

.case-tab {
  display: inline-block;
  padding: 12px 30px;
  margin: 0 10px;
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease; font-size: 20px;
}
.case-tab img{ display:block;margin: 0 auto; margin-bottom:10px;filter: brightness(0%) invert(30%);}
.case-tab:hover,
.case-tab.active {
  color: var(--primary-color);
}
.case-tab:hover img,
.case-tab.active img{filter: none}
.cases-tabs{ padding-bottom:40px}
.cases-section .section-header {
    margin-bottom: 30px;
}
.case-item {
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}
.cases-grid .col-6{ padding-right:2.5px; padding-left:2.5px}
.cases-grid .col-lg-6{ padding-right:2.5px}
.cases-grid .mb-3{ margin-bottom:5px!important}

/* 左侧大图样式 */
.case-item-large {
height: 623px;
}

.case-item-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右侧小图样式 */
.case-item-small {
height: 309px; 
}

.case-item-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* News Section */
.news-section {
  padding: 80px 0;
}

.news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.news-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

.news-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-title {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 15px;
}

.news-title a {
  color: var(--text-dark);
  text-decoration: none;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden; line-height: 1.2;
}

.news-title a:hover {
  color: #e60012;
}

.news-excerpt {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex: 1;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
}

.news-date {
  font-size: 20px;
  color: #999;
}

.news-section .section-subtitle{ max-width:340px;}
.news-read-more {
  color: #e60012;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
}

.news-read-more:hover {
  color: #c82333;
}
.home-banner-section .swiper-button-prev:after,.home-banner-section .swiper-button-next:after{ font-size:0}
.foot-top-right{ padding-left:120px}
.about-tabs-section .tab-pane .sub-item{ padding-left:2.5px; padding-right:2.5px;}
.home-banner-section img{ width:100%; height:auto; object-fit:cover}
@media (min-width: 1960px) and (max-width: 3840px) {
   .banner-swiper{ height:900px;} 
}


/* 响应式设计 */
@media (max-width: 991px) {
  .banner-swiper { height: 400px; }
  .section-title { font-size: 28px; }

  /* Cases区域响应式 */
  .case-item-large {
    min-height: 400px;
  }

  .case-item-small {
    min-height: 190px;
  }
}

@media (max-width: 767px) {
  .banner-swiper { height: 300px; }
  .section-title { font-size: 24px; }
  .stat-item { margin-bottom: 15px; }

  /* Cases区域手机端响应式 */
  .case-item-large,
  .case-item-small {
    min-height: 250px;
  }

  .case-tab {
    padding: 8px 20px;
    margin: 5px;
    font-size: 14px;
  }
}

/* ========================================
   Footer Section - 页脚样式
   根据设计图 desgin/footer.jpg 一比一还原
   ======================================== */

/* 页脚主体 */
.site-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 0 40px;
}

.footer-main {
  /* 主要内容区域 */
}

/* 页脚组件 */
.footer-widget {
  /* 每个列的容器 */
}

/* 第一列 - 公司信息 */
.footer-about .footer-logo {
  margin-bottom: 20px;
}

.footer-about .footer-logo img {
  max-width: 180px;
  height: auto;
}
.footer-description {
  font-size: 20px;
  color: #fff;
  margin-bottom: 25px;
}

/* 联系信息 */
.footer-contact-info {
  margin-bottom: 25px;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.6;flex-direction: column;gap: 15px;
}

.footer-info-item i {
  color: #dc3545;
  margin-right: 12px;
  margin-top: 3px;
  font-size: 16px;
  min-width: 16px;
}

.footer-info-item a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info-item a:hover {
  color: #dc3545;
}
.footer-links{ padding-left:55px}

/* 社交媒体图标 */
.footer-social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.social-icon i {
  font-size: 18px;
}

/* 页脚标题 */
.footer-widget-title {
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 25px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 15px;
  height: 5px; border-radius: 10px;
  background-color: #dc3545;
}

/* 页脚链接列表 */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.6;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links-list li a:hover {
  color: #dc3545;
  padding-left: 5px;
}

/* 侧边栏工具 */
.side-bar-tools {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-tool-item {
  display: none; /* 默认隐藏，通过JavaScript控制显示 */
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #dc3545;
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.side-tool-item:first-child {
  display: flex; /* WhatsApp按钮始终显示 */
}

.side-tool-item:hover {
  background-color: #c82333;
  color: #ffffff;
  transform: scale(1.1);
}

.side-tool-item i {
  font-size: 20px;
}

/* 移动端底部导航栏 */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9998;
  padding: 10px 0;
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #333333;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: #dc3545;
}

.mobile-nav-item i {
  font-size: 20px;
  margin-bottom: 5px;
}

.mobile-nav-item span {
  font-size: 11px;
}

/* 响应式设计 */
@media (max-width:1024px) {
  .site-footer {
    padding: 40px 0 30px;
  }

  .footer-widget {
    margin-bottom: 30px;
  }

  .side-bar-tools {
    right: 15px;
    bottom: 80px;
  }

  .side-tool-item {
    width: 45px;
    height: 45px;
  }
  .banner-swiper{height: 427px;}
  .navbar-nav .nav-link,.header-contact-item,.header-contact-btn .btn-contact,.stat-label,.news-excerpt,.news-date,.news-read-more{font-size: 14px !important;}
  .header-top-right{ gap:25px;display: none !important;}
  .header-contact-item:after{ display:none}
  .site-header .container-fluid{ padding-left:15px; padding-right:15px}
  .header-left{ width:120px;}
  .section-title,.solution-title{font-size: 36px;}
  .section-subtitle,.solution-description,.btn-know-detail{font-size: 18px;}
  .stat-number { font-size: 26px;}
  .about-nav-tabs .nav-link{ font-size:18px;}
  .about-nav-tabs{ padding: 0 15px}
  .know-more-link{ line-height:28px}
  .solution-description{margin-bottom: 50px;}
  .skd-ckd-section .solution-content { padding-left: 20px;}
  .oem-odm-section .solution-content{ padding-right:20px}
  .news-title,.footer-widget-title{ font-size: 20px;}
  .products-section { padding: 50px 0;}
}

@media (max-width: 767px) {
  .site-footer {
    padding: 30px 0 80px; /* 底部留出空间给移动端导航栏 */
  }

  .footer-about .footer-logo img {
    max-width: 120px;
  }

  .footer-description {
    font-size: 13px;
  }

  .footer-info-item {
    font-size: 13px;
  }

  .footer-widget-title {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .footer-links-list li a {
    font-size: 13px;
  }

  /* 显示移动端底部导航栏 */
  .mobile-bottom-nav {
    display: flex;
  }

  /* 调整侧边栏工具位置 */
  .side-bar-tools {
    right: 10px;
    bottom: 70px;
  }

  .side-tool-item {
    width: 40px;
    height: 40px;
  }

  .side-tool-item i {
    font-size: 18px;
  }
}
@media screen and (max-width:480px){
 .site-header:after{ display:none} 
 .navbar-toggler{padding: 18px 12px;}
.banner-swiper {height: 180px; }
.products-section { padding: 30px 0;}
    
}