/* 全局样式 */
body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f8f8;
    color: #333;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 600;
}

p {
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 0;
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

nav .logo h1 {
    font-size: 22px;
    letter-spacing: 2px;
    color: #222;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #c89b3c;
}

/* Hero 区域 */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("../images/hero.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #c89b3c;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #a67f2f;
}

/* 产品展示 */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.product-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-8px);
}

.product-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-item h3 {
    padding: 18px 18px 0;
    font-size: 20px;
}

.product-item p {
    padding: 10px 18px 25px;
    font-size: 14px;
    color: #666;
}

/* 联系我们 */
#contact ul {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

#contact li {
    margin-bottom: 12px;
    font-size: 16px;
}

/* 页脚 */
footer {
    background: #222;
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 34px;
    }

    nav ul {
        gap: 15px;
    }
}

