/* 基础样式重置 */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* 头部样式 */
header {
    background-color: rgba(35, 28, 26, 0.8);
    height: 80px;
    width: 100%;
    position: fixed;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

h1 {
    color: white;
    line-height: 80px;
    background-image: url(images/logo.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 210px;
    text-indent: -9999px;
    background-size: contain;
}

/* 主导航样式 */
nav.main-nav {
    transition: all 0.3s ease;
}

nav.main-nav ul {
    display: flex;
    list-style: none;
}

nav.main-nav li {
    margin-left: 30px;
}

nav.main-nav a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

nav.main-nav a:hover {
    text-decoration: underline;
}

/* 菜单按钮样式 */
.menu {
    display: none;
    background-color: transparent;
    color: white;
    font-size: 35px;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 20px;
    z-index: 1001;
}

/* 标语区域 */
.slogan {
    background-color: #485652;
    color: white;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    line-height: 1.8em;
    text-align: center;
}

.slogan2 {
    background-color: white;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 商店/联系信息区域 */
.shop {
    display: flex;
    min-height: 50vh;
}

.shop img {
    width: 50%;
    object-fit: cover;
}

.info {
    width: 50%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.info h2 {
    font-size: 40px;
    margin-bottom: 30px;
    text-align: center;
}

.info p {
    text-align: center;
    line-height: 2em;
    max-width: 80%;
}

/* 页脚样式 */
footer {
    background-color: #000000;
    color: #B7B7B7;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

/* 响应式设计 - 平板及以下设备 */
@media screen and (max-width: 768px) {
    header {
        padding: 0 20px;
        justify-content: flex-start;
    }

    h1 {
        margin: 0 auto;
    }

    /* 导航菜单样式 */
    nav.main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(35, 28, 26, 0.95);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.main-nav.show {
        max-height: 500px;
    }

    nav.main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }

    nav.main-nav li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
    }

    .menu {
        display: block;
    }

    /* 商店/联系信息区域调整 */
    .shop {
        flex-direction: column;
        min-height: auto;
    }

    .shop img {
        width: 100%;
        height: 300px;
    }

    .info {
        width: 100%;
        padding: 40px 20px;
    }

    .info h2 {
        font-size: 30px;
    }
}

/* 响应式设计 - 手机设备 */
@media screen and (max-width: 480px) {
    .info h2 {
        font-size: 28px;
    }
    
    .info p {
        font-size: 16px;
        line-height: 1.8em;
    }
}