/* 响应式布局样式 */
@media screen and (max-width: 1200px) {
    .container {
        width: 100%;
        max-width: 1190px;
        padding: 0 15px;
    }
}

@media screen and (max-width: 992px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    /* 头部导航调整 */
    .header-content {
        flex-direction: column;
        padding: 10px 0;
    }
    .index-head {
        min-height: 380px;
    }
    
    .logo {
        margin-bottom: 10px;
        text-align: center;
    }
    
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    header nav ul li a {
        padding: 8px 10px;
    }
    
    .header-actions {
        margin-top: 10px;
        justify-content: center;
    }
    
    /* 视频和文本布局 */
    .about-video-content {
        flex-direction: column;
    }
    
    .about-text {
        margin-bottom: 20px;
    }
    
    /* 咨询表单布局 */
    .consultation-layout {
        flex-direction: column;
    }
    
    .form-decoration {
        margin-bottom: 20px;
        width: 100%;
    }
    
    .form-container {
        width: 100%;
    }
    
    /* 联系我们布局 */
    .contact-layout {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 20px;
        width: 100%;
    }
    
    .map-placeholder {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    /* 导航菜单 */
    header nav {
        width: 100%;
    }
    
    header nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    
    header nav ul.show {
        display: flex;
    }
    
    header nav ul li {
        width: 100%;
        text-align: center;
    }
    
    header nav ul li a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    
    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
        text-align: center;
        padding: 10px;
    }
    
    /* 网格布局调整 */
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    /* 底部导航 */
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav ul li {
        margin: 5px 0;
    }
    
    /* 浮动按钮调整 */
    .fab-left {
        display: none; /* 在移动端隐藏左侧浮动按钮 */
    }
    
    .fab-bottom-right {
        right: 10px;
        bottom: 10px;
    }
    
    .fab-item {
        width: 50px;
        height: 50px;
        font-size: 0.7em;
    }
    
    .fab-main-action {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 576px) {
    /* 标题调整 */
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    /* 网格布局进一步调整 */
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 10px;
    }
    
    .grid-item img {
        height: 150px;
    }
    
    /* 按钮调整 */
    .view-more, .view-more-orange, .submit-button {
        width: 100%;
        margin: 15px auto 0;
        padding: 10px 15px;
    }
    
    /* 轮播图调整 */
    .index-head {
        min-height: 200px;
    }
    
    /* 表单元素调整 */
    .form-container input[type="text"],
    .form-container input[type="tel"] {
        padding: 10px;
        margin-bottom: 10px;
    }
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 1001;
    }
    
    .header-content {
        position: relative;
        padding-top: 10px;
    }
    
    .logo {
        padding-right: 50px; /* 为菜单按钮留出空间 */
    }
}