
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  /* 导航栏样式 */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
  }
  
  .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-menu a {
    text-decoration: none;
    color: #333;
    margin-left: 30px;
    transition: color 0.3s ease;
  }
  
  .nav-menu a:hover {
    color: #667eea;
  }
  
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
  }
  
  /* 首屏大图 */
  .hero {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    margin-top: 0;
    background-image: url('../img/bg.jpg');
    background-repeat: no-repeat;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .btn-primary {
    display: inline-block;
    background: #fff;
    color: #667eea;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
  }
  
  .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  /* 关于我们 */
  .about {
    padding: 100px 0;
    background: #fff;
  }
  
  .about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
  }
  
  .about-content {
    display: flex;
    align-items: center;
    gap: 50px;
  }
  
  .about-image {
    flex: 1;
  }
  
  .about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .about-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
  }
  
  .about-text p {
    margin-bottom: 20px;
  }
  
  /* 服务 */
  .services {
    padding: 100px 0;
    background: #f8f9fa;
  }
  
  .services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .service-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
  }
  
  .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
  }
  
  .service-card p {
    color: #666;
    line-height: 1.6;
  }
  
  /* 联系我们 */
  .contact {
    padding: 100px 0;
    background: #fff;
  }
  
  .contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
  }
  
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .form-group {
    margin-bottom: 10px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
  }

  .form-group p {
    width: 100%;
    padding: 15px;
    font-size: 1.3rem;
    font-family: inherit;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
  }
  
  /* 页脚 */
  .footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
  }
  
  .footer p {
    /* margin-bottom: 20px; */
    font-size: 0.8rem;
  }
  
  .social-links a {
    display: inline-block;
    color: #fff;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
  }
  
  .social-links a:hover {
    color: #667eea;
  }
  
  /* 响应式设计 */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
    
    .nav-menu {
      position: fixed;
      top: 70px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 70px);
      background: #fff;
      flex-direction: column;
      align-items: center;
      padding-top: 50px;
      transition: left 0.3s ease;
    }
    
    .nav-menu.active {
      left: 0;
    }
    
    .nav-menu a {
      margin: 15px 0;
      font-size: 1.2rem;
    }
    
    .hero-content h1 {
      font-size: 2rem;
    }
    
    .hero-content p {
      font-size: 1rem;
    }
    
    .about-content {
      flex-direction: column;
    }
    
    .contact-form {
      padding: 20px;
    }
  }
  