 /* 全局样式 */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* 导航栏 */
header {
    background: white;
    color: #333;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #EA3200;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}


/* 页脚基础样式 */
footer {
    background: #282828;
    color: #C6C6C6;
    padding: 2rem 0;
}

.sx-footer {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.left {
    width: 70%;
}

.right {
    width: 25%;
    text-align: center;
}

.footer-link {
    margin-right: 15px;
    color: #C6C6C6;
    text-decoration: none;
    /*去掉下划线*/
}

.footer-link:hover {
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: #f5f5f5;
        ;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .sx-footer {
        flex-direction: column;
    }

    .left,
    .right {
        width: 100%;
        text-align: center;
    }

    .right {
        margin-top: 20px;
    }

    .footer-link {
        margin: 5px 0;
    }
}