/* 响应式样式 */

/* 大屏幕设备 (大于等于1200px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* 中等屏幕设备 (992px-1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .dropdown-content {
        min-width: 500px;
    }
    
    .dropdown-section {
        min-width: 140px;
    }
    
    .dropdown-section ul {
        flex-direction: column;
    }
    
    .logo-item {
        width: 140px;
        height: 90px;
        padding: 15px;
    }
    
    .logo-item img {
        max-width: 110px;
        max-height: 35px;
    }
}

/* 平板设备 (768px-991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .solution-content {
        flex-direction: column;
    }
    
    .solution-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
    
    .footer-links {
        margin-bottom: 30px;
    }
    
    .dropdown-content {
        min-width: 400px;
        left: 0;
        transform: translateY(10px);
    }
    
    .dropdown:hover .dropdown-content {
        transform: translateY(0);
    }
    
    .dropdown-container {
        flex-wrap: wrap;
    }
    
    .dropdown-section {
        min-width: 120px;
        margin-bottom: 15px;
        flex: 0 0 45%;
    }
    
    .dropdown-section ul {
        flex-direction: column;
    }
    
    .logo-item {
        width: 130px;
        height: 80px;
        padding: 12px;
    }
    
    .logo-item img {
        max-width: 100px;
        max-height: 30px;
    }
}

/* 手机设备 (小于768px) */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .header .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav a {
        padding: 15px 0;
    }
    
    .dropdown-content {
        position: static;
        min-width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 0;
        padding: 0 0 0 15px;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .dropdown-section {
        margin-bottom: 20px;
        padding: 0;
        flex: 1 0 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .dropdown-section h3 {
        font-size: 15px;
        padding-bottom: 5px;
        margin-bottom: 10px;
    }
    
    .dropdown-section ul {
        flex-direction: column;
    }
    
    .dropdown-section ul li {
        margin: 3px 0;
    }
    
    .dropdown-section ul li a {
        padding: 5px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        margin-left: 15px;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .product-card, .case-card, .news-card {
        min-width: 100%;
    }
    
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        margin: 5px;
    }
    
    .tab-pane {
        padding: 20px;
    }
    
    .solution-text h3 {
        font-size: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        margin-bottom: 15px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
    
    .logo-item {
        width: 110px;
        height: 70px;
        padding: 10px;
        margin: 5px;
    }
    
    .logo-item img {
        max-width: 90px;
        max-height: 25px;
    }
}

/* 小型手机设备 (小于576px) */
@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 26px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 30px;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    .logo-item {
        width: 100px;
        height: 60px;
        padding: 8px;
        margin: 4px;
    }
    
    .logo-item img {
        max-width: 80px;
        max-height: 22px;
    }
} 