/* 
* Queen Frozen Fruit Website Responsive Styles
*/

/* 大屏幕显示器 */
@media (max-width: 1400px) {
  .slide .content h1 {
    font-size: 42px;
  }
}

/* 笔记本电脑 */
@media (max-width: 1200px) {
  .slide .content {
    max-width: 90%;
  }
  
  .intro-text {
    padding-right: 20px;
  }
  
  .timeline-item:nth-child(odd) .year {
    right: -75px;
  }
  
  .timeline-item:nth-child(even) .year {
    left: -75px;
  }
}

/* 平板电脑 */
@media (max-width: 992px) {
  header .container {
    height: 70px;
  }
  
  .hero {
    margin-top: 70px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .main-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .main-menu.active {
    max-height: 400px;
  }
  
  .main-menu li {
    margin: 0;
    border-bottom: 1px solid #eee;
  }
  
  .main-menu a {
    display: block;
    padding: 15px 0;
  }
  
  .main-menu a::after {
    display: none;
  }
  
  .slide .content h1 {
    font-size: 36px;
  }
  
  .slide .content p {
    font-size: 18px;
  }
  
  .intro-content {
    flex-direction: column;
  }
  
  .intro-text {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .category {
    min-width: 250px;
  }
  
  .timeline:before {
    left: 40px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:after {
    left: 30px;
    right: auto;
  }
  
  .timeline-item:nth-child(odd) .year,
  .timeline-item:nth-child(even) .year {
    left: 0;
    right: auto;
  }
  
  .factory-text {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .cert-group .cert-item {
    min-width: 250px;
  }
  
  .quality-image {
    margin-bottom: 30px;
  }
}

/* 手机横屏 */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .section-title h2 {
    font-size: 30px;
  }
  
  .hero {
    height: 80vh;
  }
  
  .slide .content {
    padding: 30px;
  }
  
  .slide .content h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .slide .content p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .category {
    min-width: 100%;
  }
  
  .map-container {
    height: 400px;
  }
  
  .partner-logo {
    flex: 0 0 150px;
  }
  
  .call-to-action {
    padding: 80px 0;
  }
  
  .call-to-action h2 {
    font-size: 32px;
  }
  
  .page-banner {
    height: 250px;
  }
  
  .banner-content h1 {
    font-size: 36px;
  }
  
  .process-step {
    padding: 20px;
  }
  
  .filter-tabs {
    flex-wrap: wrap;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .btn-product-detail, .btn-inquiry {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* 手机竖屏 */
@media (max-width: 576px) {
  .logo img {
    height: 50px;
  }
  
  .slide .content {
    padding: 20px;
    max-width: 95%;
  }
  
  .slide .content h1 {
    font-size: 28px;
  }
  
  .slide .content p {
    font-size: 15px;
  }
  
  .btn {
    padding: 10px 25px;
    font-size: 14px;
  }
  
  .cert-item {
    flex: 0 0 120px;
  }
  
  .partner-logo {
    flex: 0 0 120px;
  }
  
  .footer-logo,
  .footer-contact,
  .footer-links,
  .footer-social {
    min-width: 100%;
  }
  
  .page-banner {
    height: 200px;
  }
  
  .banner-content h1 {
    font-size: 30px;
  }
  
  .content {
    padding: 15px 20px;
  }
  
  .advantages {
    gap: 20px;
  }
  
  .advantage-item {
    min-width: 100%;
  }
  
  .cert-group .cert-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cert-group .cert-item img {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .b2b-inquiry, .b2c-inquiry {
    padding: 30px;
  }
  
  .product-item {
    min-width: 100%;
  }
  
  .product-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .inquiry-options {
    gap: 30px;
  }
}

/* 超小屏幕 */
@media (max-width: 400px) {
  .slide .content h1 {
    font-size: 24px;
  }
  
  .btn {
    padding: 8px 20px;
    font-size: 13px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .year {
    font-size: 18px;
  }
  
  .product-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-product-detail, .btn-inquiry {
    width: 100%;
    text-align: center;
  }
} 