/* 响应式布局 */

/* 平板设备 */
@media (max-width: 992px) {
  .container {
    max-width: 100%;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .banner {
    height: 400px;
  }
  
  .banner-content h2 {
    font-size: 2rem;
  }
  
  .banner-content p {
    font-size: 1.1rem;
  }
  
  .about-cards {
    flex-direction: column;
  }
  
  .about-card {
    min-width: 100%;
  }
}

/* 移动设备 */
@media (max-width: 768px) {
  .header-container {
    padding: 10px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    transition: left 0.3s ease;
    z-index: 999;
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 20px;
  }
  
  nav ul li {
    margin-left: 0;
    margin-bottom: 20px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .banner {
    height: 300px;
  }
  
  .banner-content h2 {
    font-size: 1.8rem;
  }
  
  .banner-content p {
    font-size: 1rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .products-grid,
  .news-list {
    grid-template-columns: 1fr;
  }
}

/* 小型移动设备 */
@media (max-width: 576px) {
  .banner {
    height: 250px;
  }
  
  .banner-content h2 {
    font-size: 1.5rem;
  }
  
  .banner-content p {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
} 