* {
    padding: 0;
    margin: 0;
}
header {
    background-color: rgba(38, 25, 26, 0.8);
    height: 80px;
    width: 100%;
    position: fixed;
}
header ul {
    position: absolute;
    right: 5vw;
    top: 0;
    line-height: 80px;
}
header li {
    display: inline;
    margin-right: 4vw;
    font-size: 20px;
}
h1 {
    color: #ffffff;
    position: absolute;
    left: 80px;
    top: 0;
    line-height: 80px; 
    background-image: url(img/logo_w.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 210px;
    text-indent: -9999px; 
}
header a {
    color: #ffffff;
    text-decoration: none;
}
header a:hover {
    text-decoration: underline;
    color: #008bf5;
}
.news {
    background-color: antiquewhite;
    color: #ffffff;
    height: 100vh;
    background-image: url(img/photo1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.news h2 {
    font-size: 50px;
    margin-top: 60px;
}
.news p {
    color: #FEF7E6;
    font-size: 15px;
    margin: 25px 0;
}
.news a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    border: 1px solid #acacaa; 
    padding: 10px 20px;
    border-radius: 5px;
}
.news a:hover {
    color: #008bf5;
    border-color: #008bf5;
}
.solgan {
    background-color: #485652;
    background-image: url(img/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    line-height: 1.8em;
}
footer {
    background-color: #000000;
    color: #b7b7b7;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    width: 100%;
    position: relative;
}
footer p {
    font-size: 20px;
    padding: 0 30px;
}
footer a {
    color: #b7b7b7;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
    color: #008bf5;
}
.sales {
    display: flex;
}
.sales img {
    width: 1000px;
    height: auto;
}
.info {
    width: 50%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.info h2 {
    font-size: 20px;
    line-height: 3em;
    text-align: center;
}
.menu {
    display: none;
}
/* 响应式设计 - 平板设备 (768px - 1023px) */
@media screen and (max-width: 1023px) {
    header ul {
        right: 2vw;
    }
    header li {
        margin-right: 2vw;
        font-size: 18px;
    }
    h1 {
        left: 40px;
        width: 180px;
    }
    .news h2 {
        font-size: 40px;
        margin-top: 40px;
    }
    .solgan {
        font-size: 24px;
        height: 200px;
    }
    .sales {
        flex-direction: column;
    }
    .sales img {
        width: 100%;
        max-width: 1000px;
    }
    .info {
        width: 100%;
        padding: 40px 0;
    }
    .info h2 {
        font-size: 18px;
        padding: 0 20px;
    }
    footer p {
        font-size: 16px;
        padding: 0 20px;
    }
    .menu {
        display:none;
    }
}

/* 响应式设计 - 移动设备 (767px以下) */
@media screen and (max-width: 767px) {
    header ul {
        display: none;
    }
    h1 {
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
    }
    .news h2 {
        font-size: 20px;
        margin-top: 30px;
        text-align: center;
        padding: 0 20px;
    }
    .news p {
        font-size: 14px;
        text-align: center;
        padding: 0 20px;
    }
    .news a {
        font-size: 18px;
        padding: 8px 16px;
    }
    .solgan {
        font-size: 18px;
        height: 180px;
        padding: 0 20px;
        text-align: center;
    }
    .info h2 {
        font-size: 14px;
        line-height: 2.5em;
        padding: 0 15px;
    }
    footer {
        height: auto;
        padding: 20px 0;
        flex-direction: column;
    }
    footer p {
        font-size: 14px;
        padding: 5px 0;
        text-align: center;
    }
    .menu {
        display: block;
        background-color: transparent;
        color: #ffffff;
        font-size: 35px;
        position: absolute;
        top: 15px;
        left: 20px;
        border: none;
        cursor: pointer;
    }
}