* {
  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: 60px 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;
  text-transform: uppercase;
}

/* 标签按钮样式 */
.tab-buttons {
  /* display: flex; */
  /* gap: 1rem; */
  margin-bottom: 2rem;
  flex-wrap: wrap;
  margin-top: -50px;
  margin-left: 200px;
  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:hover {
  background-color: rgba(52, 152, 219, 0.1);
}

.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(300px, 1fr));
  gap: 2rem;
}

.project-item {
  background: white;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.01);
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
  text-align: center;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.01);
}

.project-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-item h3 {
  margin: 1rem 1rem 0.5rem;
  color: var(--primary-color);
  font-weight: normal;
}

.project-item p {
  margin: 0 1rem 1rem;
  color: #9c9c9c;
  font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 1rem;
  }

  .main-nav ul {
    margin-top: 1rem;
    gap: 1rem;
  }

  .tab-buttons {
    justify-content: center;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

/* 内容区域 */


/* 页脚 */
.footer {
  background: #f5f5f5;
  padding: 40px ;
  text-align: center;
  margin-top: 30px;

}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}
