/* 轮播区域样式 */

/* 主要内容区域样式 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 0 15px;
}
@media (max-width: 768px) {
  .container {
    padding: 0;
  }
}

/* 关于我们部分 */
.about-section {
  padding: 30px 0px 0px 0px;
  background: #fff;
}

.about-header {
  margin-bottom: 30px;
  position: relative;
}

.about-header::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #076fc6;
}

.en-title {
  font-size: 16px;
  color: #999;
  font-weight: normal;
  margin: 0;
  line-height: 1.2;
}

.ch-title {
  font-size: 24px;
  color: #333;
  margin: 5px 0 0 0;
  line-height: 1.2;
}

.highlight {
  color: #0066cc;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2.6fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 20px;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
}

.about-text {
  color: #666;
  line-height: 1.8;
}

.about-text p {
  margin: 0 0 20px 0;
  text-align: justify;
  font-size: 15px;
}

.read-more {
  display: inline-block;
  color: #fff;
  background-color: #076fc6;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 13px;
  position: relative;
}

.read-more:hover {
  background-color: #0559a0;
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .about-image {
    display: none;
  }
  .about-content {
    display: block;
  }
}
/* 新闻区域样式 */

.news-header {
  margin-bottom: 30px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.news-header::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #076fc6;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px 0;
}

.news-item {
  background: #f6f6f6;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.news-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-info {
  padding: 15px;
}

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

.news-info h3 {
  margin: 10px 0;
  font-size: 16px;
  color: #333;
  line-height: 1.4;
}

.news-info p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.more-news {
  color: #555555;
  text-decoration: none;
  font-size: 13px;
  padding-bottom: 5px;
}

.more-news:hover {
  color: #0559a0;
}

/* 品牌专区样式 */

.brand-header {
  margin-bottom: 30px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.brand-header::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #076fc6;
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding: 20px 0;
}

.brand-list img {
  width: 100%;
  max-width: 180px;
  height: auto;
  padding: 15px;
  border: 1px solid #eee;
  background: #fff;
  transition: all 0.3s ease;
}

.brand-list img:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .Carousel {
    flex-direction: column;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .brand-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 面包屑导航 */
.breadcrumb {
  padding: 15px 0;
  color: #666;
  font-size: 14px;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 5px;
}

/* 主要内容区域 */
.main-content {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.content-image {
  flex: 0 0 400px;
}

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

.content-text {
  flex: 1;
  color: #666;
  line-height: 1.8;
}

.content-text p {
  margin: 0;
  font-size: 15px;
  text-align: justify;
}

/* 重复内容块样式 */
.repeat-content {
  margin-top: 20px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 4px;
}

.repeat-content p {
  margin: 0;
  line-height: 1.8;
}

/* 通用部分样式 */
.section {
  margin: 40px 0;
  padding: 20px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 15px;
}

.section-header h2 {
  font-size: 24px;
  color: #333;
  margin: 0;
  position: relative;
}

.section-header h2:after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #0066cc;
}

.more-link {
  color: #666;
  text-decoration: none;
  transition: all 0.3s;
}

.more-link:hover {
  color: #0066cc;
  text-decoration: none;
}

/* 新闻列表样式 */
.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.news-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.news-item-image {
  height: 200px;
  overflow: hidden;
}

.news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;
}

.news-item:hover .news-item-image img {
  transform: scale(1.1);
}

.news-item-content {
  padding: 20px;
}

.news-item-date {
  color: #999;
  font-size: 14px;
  margin-bottom: 10px;
}

.news-item-title {
  font-size: 18px;
  margin: 0 0 10px;
}

.news-item-title a {
  color: #333;
  text-decoration: none;
}

.news-item-title a:hover {
  color: #0066cc;
}

.news-item-desc {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* 品牌列表样式 */
.brand-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.brand-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.brand-item img {
  max-width: 100%;
  height: auto;
  transition: all 0.3s;
}

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

/* 响应式调整 */
@media (max-width: 768px) {
  .section {
    margin: 20px 0;
    padding: 10px 0;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .brand-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 导航下拉菜单样式 */
.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .nav-item .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar-nav .nav-item:hover .submenu {
  display: block;
}

.navbar-nav .nav-item .submenu li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar-nav .nav-item .submenu li a {
  display: block;
  padding: 8px 20px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.navbar-nav .nav-item .submenu li a:hover {
  background: #f8f9fa;
  color: #007bff;
  padding-left: 25px;
}

.navbar-nav .nav-item .fa-angle-down {
  font-size: 12px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.navbar-nav .nav-item:hover .fa-angle-down {
  transform: rotate(180deg);
}
