/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑",Arial,sans-serif;
}
body {
    background-color: #f9f6f2; /* 暖米底色 温馨风 */
    color: #333;
    line-height: 1.6;
}
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
a {
    text-decoration: none;
    color: inherit;
}

/* 顶部导航 暖木色主题 */
.top-header {
    background-color: #8c6d4f; /* 暖木主色 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}
.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo a {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
}
.logo span {
    font-size: 14px;
    opacity: 0.9;
    margin-left: 10px;
}
.nav-menu a {
    color: #fff;
    font-size: 16px;
    margin: 0 12px;
    padding: 8px 0;
    transition: 0.3s;
}
.nav-menu a:hover {
    color: #f3e9dc;
    border-bottom: 2px solid #f3e9dc;
}

/* 首屏Banner */
.banner {
    width: 100%;
    height: 500px;
    background: linear-gradient(rgba(140,109,79,0.7),rgba(140,109,79,0.7)), url(../images/banner.jpg) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.banner-text h1 {
    font-size: 42px;
    margin-bottom: 20px;
}
.banner-text p {
    font-size: 18px;
    margin-bottom: 30px;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #8c6d4f;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}
.btn:hover {
    background: #f3e9dc;
}

/* 通用板块 */
.section {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    color: #8c6d4f;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background: #8c6d4f;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

/* 产品卡片布局 */
.product-list {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(140,109,79,0.15);
    transition: 0.3s;
}
.product-card:hover {
    transform: translateY(-8px);
}
.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.product-info {
    padding: 20px;
    text-align: center;
}
.product-info h3 {
    color: #8c6d4f;
    margin-bottom: 10px;
    font-size: 18px;
}

/* 页脚 */
.footer {
    background: #5a4634;
    color: #fff;
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
}
.footer-info p {
    margin: 8px 0;
    opacity: 0.9;
}

/* 自适应 手机端 */
@media (max-width: 768px) {
    .container {
        width: 100%;
    }
    .top-header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    .nav-menu {
        margin-top: 10px;
    }
    .nav-menu a {
        margin: 0 6px;
        font-size: 14px;
    }
    .banner {
        height: 300px;
    }
    .banner-text h1 {
        font-size: 26px;
    }
    .product-list {
        grid-template-columns: repeat(2,1fr);
    }
}