/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: #f4f4f4;
    color: #333333;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* Container */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Header */
  header {
    background: #201e1e;
    color: #fff;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
  }
  .nav a {
    font-size: 16px; /* 适当调整 */
    letter-spacing: 1px;
    text-align: center;
  }
    
  .logo img {
    width: 300px; /* 根据需要调整宽度 */
    height: auto;
  }
  .menu {
    list-style: none;
    display: flex;
  }
  .menu li {
    margin-left: 20px;
  }
  .menu li a {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  .menu li a:hover {
    color: #f4f4f4;
  }
  body {
    padding-top: 80px; /* 根据 header 的高度调整 */
  }
  
  
  /* Hero Section */
  .hero {
    background: url('images/main.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding-top: 80px; /* 避免被 fixed header 遮挡 */
    
  }
  .hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
  .hero-content {
    position: relative;
    z-index: 1;
  }
  .hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
  }
  .hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
  }
  .hero a {
    background: #e67e22;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  .hero a:hover {
    background: #cf711f;
  }
  
  /* 产品展示 */
  .products {
    padding: 100px 0;
    background: #fff;
  }
  .products h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    position: relative;
  }
  .products h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #e67e22;
    display: block;
    margin: 10px auto 0;
  }
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
  .product-card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }
  .product-card img {
    width: 100%;
    display: block;
  }
  .product-info {
    padding: 20px;
  }
  .product-info h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
  }
  .product-info p {
    font-size: 1em;
    color: #666;
  }
  .product-info a {
    display: inline-block;
    margin-top: 15px;
    color: #e67e22;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  .product-info a:hover {
    color: #cf711f;
  }
  
  
  
  /* 关于我们 */
  .about {
    padding: 100px 0;
    background: #f4f4f4;
  }
  .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
  }
  .about-content img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
  }
  .about-text {
    flex: 1;
  }
  .about-text h2 {
    margin-bottom: 20px;
    font-size: 2em;
  }
  .about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
  }
  
  /* 联系我们 */
  .contact {
    padding: 100px 0;
    background: #fff;
  }
  .contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    position: relative;
  }
  .contact h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #e67e22;
    display: block;
    margin: 10px auto 0;
  }
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
  }
  .contact-form button {
    width: 100%;
    padding: 15px;
    background: #e67e22;
    border: none;
    color: #fff;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .contact-form button:hover {
    background: #cf711f;
  }
  
  /* Footer */
  footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
  }
  footer p {
    font-size: 0.9em;
  }
  
  /* 响应式设计 */
  @media (max-width: 768px) {
    .nav {
      flex-direction: row; /* 确保是横向排列 */
      justify-content: center; /* 居中对齐 */
    }
  
    .nav a {
      margin: 0 10px; /* 适当调整间距 */
    }
  }
  
  