* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'MongolianBaiti';
  src: url('../../images/MONBAITI.TTF') format('truetype');
}

body {
  font-family: 'MongolianBaiti', sans-serif;
  overflow-x: hidden;
}


.boby-bottom {
  padding: 20px 10%;
  text-align: left;
  border-top: 1px solid #ddd;

}
.boby-bottom-title{
  font-size: 30px;
}

/* 轮播图容器 */
.carousel-container {
  position: relative;
  width: 100vw;
  height: 100px;
  overflow: hidden;
}

.carousel-container2 {
  position: relative;
  width: 80vw;
  height: 800px;
  overflow: hidden;
  text-align: center;
  margin-left: 10vw;
}

/* 导航栏 */
.navbar {
  position: absolute;
  top: 40px;
  right: 50px;
  z-index: 10;
  display: flex;
  gap: 30px;
}

.nav-item {
  color:#000;
  text-decoration: none;
  font-size: 20px;
  text-transform: uppercase;
  /* font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); */
}

.nav-item2 {
  color:#9c9c9c;
  text-decoration: none;
  font-size: 20px;
  text-transform: uppercase;
  /* font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); */
}

/* Logo */
.logo {
  position: absolute;
  top: 10px;
  left: 50px;
  z-index: 10;
  width: 250px;
}

/* 中间内容区域 */
/* .content {
  padding: 20px 10%;
  text-align: left;

} */

/* 主内容区样式 */
.main-content {
  /* padding: 2rem 5%; */
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  margin-top: -70px;
}

/* 标签按钮样式 */
.tab-buttons {
  /* display: flex; */
  margin-bottom: 2rem;
  flex-wrap: wrap;

  text-align: right;
}

.tab-btn {
  padding: 0.3rem 0.5rem;
  background: none;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 200;
  color: #b3b3b3;
  font-family: 'MongolianBaiti', sans-serif;
  object-fit: cover;
}

.tab-btn.active {
  background: var(--secondary-color);
  color: rgb(0, 0, 0);
  font-family: 'MongolianBaiti', sans-serif;
  object-fit: cover;
}

/* 内容容器 */
/* .content-container {
  margin-top: 2rem;
} */

.content {
  display: none;
}

.content.active {
  display: block;
}


/* 项目网格布局 */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
}

.project-card {
  background: white;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  display: flex;
}

.aa {
  display: inline-block; /* 避免行内元素特性影响 */
  max-width: 100%;      /* 确保不超出容器 */
  overflow: visible;    /* 取消隐藏溢出内容 */
}




.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 237px;
  height: 225px;
  object-fit: cover;
}

.project-card p {
  color: #9c9c9c;
  font-size: 13px;
}

.project-info {
  padding: 1.5rem;
  width: 60%;
}

.project-info h3 {
  margin-bottom: 0.5rem;
  font-size: 16px;
  color: var(--primary-color);
  font-weight: normal;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    flex-direction: column;
  }

  .project-card img,
  .project-info {
    width: 100%;
  }
}



/* 内容区域 */


/* 页脚 */
.footer {
  background: #f5f5f5;
  padding: 40px ;
  text-align: center;
  margin-top: 30px;

}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}
