/**
 * 移动端导航样式 - 统一手风琴式导航
 * 适用于所有根目录HTML文件
 */

/* 移动端导航菜单容器 */
#mobileMenu {
    max-height: 80vh;
    overflow-y: auto;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

/* 导航组 */
.mobile-nav-group {
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 0.5rem;
}

/* 导航切换按钮 */
.mobile-nav-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-nav-toggle:hover {
    color: #10b981;
}

.mobile-nav-toggle .fa-angle-down {
    transition: transform 0.3s ease;
}

/* 导航内容区域 */
.mobile-nav-content {
    padding-left: 0.75rem;
    margin-top: 0.5rem;
}

.mobile-nav-content.hidden {
    display: none;
}

/* 分类标题 */
.mobile-nav-content .bg-primary\/10 {
    background-color: rgba(16, 185, 129, 0.1);
}

.mobile-nav-content .text-primary {
    color: #10b981;
}

/* 导航链接 */
.mobile-nav-content a {
    display: flex;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 1rem;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-content a:hover {
    color: #10b981;
}

.mobile-nav-content a i {
    margin-right: 0.5rem;
}

.mobile-nav-content a i.mr-3 {
    margin-right: 0.75rem;
}

.mobile-nav-content a i.w-5 {
    width: 1.25rem;
    text-align: center;
}

/* 当前选中项 */
.mobile-nav-content a.font-semibold {
    font-weight: 600;
    color: #10b981;
}

/* 底部按钮区域 */
#mobileMenu .flex.flex-col.space-y-3 {
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

/* 核心价值标语 */
#mobileMenu .bg-gradient-to-r {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#mobileMenu .text-xl {
    font-size: 1.25rem;
}

#mobileMenu .text-sm {
    font-size: 0.875rem;
}

/* 主导航链接 */
#mobileMenu > div > a.block {
    display: block;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

#mobileMenu > div > a.block:hover {
    color: #10b981;
}

/* 响应式调整 */
@media (min-width: 768px) {
    #mobileMenu {
        display: none !important;
    }
}
