body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1); /* 半透明背景 */
  backdrop-filter: blur(8px);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;  /* 图片和文字间距 */
}

.nav-logo-img {
  width: 32px;  /* 调整logo大小 */
  height: 32px;
  object-fit: contain;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #000000;
}

.hero {
  position: relative;
  height: 100vh;
  /* 背景图片1920px*1080px */
  background: url('/images/banner01.png') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.hero-content {
  position: relative;
  text-align: center;
}
.hero-button {
  background: white;
  color: black;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: bold;
  display: inline-block;
  margin-top: 1rem;
}
.section {
  padding: 4rem 2rem;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}
.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 居中排列 */
  gap: 1.5rem;
}

.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1rem;
  width: 500px;   /* 固定宽度 */
  max-width: 90vw;
  height: 700px;  /* 可选：固定高度，根据实际内容可调 */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-img {
  width: 100%;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.timeline {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.timeline-item {
  text-align: center;
  max-width: 150px;
}
/* .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.gallery img {
  width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
} */
.gallery img {
  width: 600px;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.footer {
  background: #1f2937;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.footer a {
  color: #ffffff; /* 白色链接 */
  text-decoration: underline;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffcc00; /* 悬停时变为亮黄色，可根据需求调整 */
}

