/* 基本重置和全局样式 */
body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Microsoft Yahei', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* 头部样式 */
header {
    background: #1a1a1a;
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #c4a66a 3px solid;
}

header .logo h1 {
    float: left;
    font-size: 24px;
    color: #c4a66a;
}

header nav {
    float: right;
    margin-top: 10px;
}

header li {
    float: left;
    display: inline;
    padding: 0 20px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    transition: color 0.3s ease;
}

header a:hover {
    color: #c4a66a;
}

/* Hero Section */
#hero {
    min-height: 400px;
    background: url('https://source.unsplash.com/p_n3_V3M6sQ') no-repeat center center/cover;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero h2 {
    font-size: 55px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: #c4a66a;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #a98f5b;
}

/* 内容区域通用样式 */
section {
    padding: 60px 0;
    border-bottom: 1px solid #ddd;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #333;
}

/* 关于我们 */
#about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

/* 产品展示 */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-item h3 {
    font-size: 20px;
    color: #333;
}

/* 联系我们 */
#contact ul {
    list-style: none;
    text-align: center;
    font-size: 18px;
}

#contact li {
    margin-bottom: 10px;
}

/* 页脚 */
footer {
    padding: 30px 0;
    text-align: center;
    background: #1a1a1a;
    color: #fff;
}

footer a {
    color: #c4a66a;
    text-decoration: none;
}

/* 响应式设计 */
@media(max-width: 768px){
    header .logo,
    header nav {
        float: none;
        text-align: center;
        width: 100%;
    }

    header nav ul {
        margin-top: 20px;
    }

    header nav li {
        padding: 0 10px;
    }
    
    .container {
        width: 90%;
    }

    #hero h2 {
        font-size: 36px;
    }
    
    .product-gallery {
        grid-template-columns: 1fr;
    }
} 