/* 基础字体与配色 */
body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #222222;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  header {
    background-color: #ffffff;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  header .logo img {
    height: 60px;
    object-fit: contain;
  }

  nav {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 18px;
    color: #333;
    position: relative;
    padding: 5px;
    transition: color 0.3s;
  }

  nav a:hover {
    color: #cc0000;
  }

  .hero {
    height: 90vh;
    background: linear-gradient(
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.3)
      ),
      url("/static/images/hero.jpg") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: #ffffff;
  }

  .hero h1 {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  .hero .highlight {
    color: #ffffff;
  }

  .hero p {
    font-size: 20px;
    letter-spacing: 1px;
  }

  section {
    padding: 60px 40px;
    text-align: center;
  }

  section h2 {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 固定四列 */
    gap: 30px;
    margin-top: 40px;
  }

  .projects-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .projects-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  }

  .projects-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
  }

  .projects-card .info {
    padding: 20px;
    background: #fff;
  }

  .projects-card .info h3 {
    font-size: 22px;
    margin: 0;
    color: #000;
    font-weight: 600;
  }

  footer {
    background-color: #f2f2f2;
    padding: 20px 40px;
    text-align: center;
    font-size: 14px;
    color: #666;
  }

  footer a {
    text-decoration: underline;
    color: blue;
  }

  footer a:hover {
    text-decoration: underline;
    color: #cc0000;
  }

  /* 移动端适配 */
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 36px;
    }
    .hero p {
      font-size: 18px;
    }
    section {
      padding: 40px 20px;
    }
    .projects {
      gap: 20px;
    }
  }