/* 平板端样式 */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* 移动端样式 */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-item {
        padding: 1.5rem;
    }
    
    .product-icon img {
        width: 60px;
        height: 60px;
    }
    
    .product-item h3 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
} 

@media screen and (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--light-color);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero-slider {
        height: 60vh;
    }

    .slide-content h1 {
        font-size: 2em;
    }

    .slide-content h2 {
        font-size: 1.5em;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        padding-left: 30px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .year,
    .timeline-item:nth-child(even) .year {
        left: -5px;
    }

    .video-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-description {
        text-align: center;
        padding: 0 20px;
    }

    .video-description h3 {
        font-size: 1.5em;
    }

    .video-description p {
        font-size: 1em;
    }

    .prev-slide,
    .next-slide {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .prev-slide {
        left: 10px;
    }

    .next-slide {
        right: 10px;
    }

    .slider-progress {
        bottom: 20px;
        flex-direction: column;
        gap: 10px;
        right: 10px;
        left: auto;
        transform: none;
    }

    .progress-item {
        padding: 8px 15px;
    }

    .progress-text {
        font-size: 12px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0,0,0,0.02);
        box-shadow: none;
        padding: 0;
        display: none;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding-left: 40px;
    }

    .has-dropdown > a::before {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 20px;
        padding: 15px;
    }

    .gallery-thumbs {
        justify-content: center;
    }

    .gallery-thumb {
        width: 60px;
        height: 60px;
    }

    .product-info {
        padding: 10px;
    }

    .modal-product-title {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 480px) {
    .hero-slider {
        height: 50vh;
    }

    .section-title {
        font-size: 2em;
    }

    .product-item {
        margin: 10px;
    }

    .prev-slide,
    .next-slide {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
} 