/* ==========================================================================
   全区通用初始化与基础样式
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #fcfcfc;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   头部导航栏样式
   ========================================================================== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #b89753; /* 核心金调 */
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #b89753;
}

/* ==========================================================================
   巨幕广告（Hero Banner）区块
   ========================================================================== */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://unsplash.com') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    margin-top: 60px;
}

.hero-banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-banner p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    background-color: #b89753;
    color: #fff;
    padding: 12px 35px;
    border-radius: 4px;
    font-size: 16px;
    transition: background 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background-color: #9c7f43;
}

/* ==========================================================================
   核心排版公共样式
   ========================================================================== */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    color: #222;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #b89753;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ==========================================================================
   核心产品中心（网格卡片布局）
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 25px;
}

.product-tag {
    display: inline-block;
    background: #f0eae0;
    color: #b89753;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 10px;
    font-weight: bold;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
}

.product-info p {
    color: #666;
    font-size: 14px;
}

/* ==========================================================================
   品牌优势区块
   ========================================================================== */
.bg-gray {
    background-color: #f4f4f4;
    width: 100%;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.advantage-item {
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.advantage-icon {
    font-size: 40px;
    color: #b89753;
    margin-bottom: 15px;
}

.advantage-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #222;
}

.advantage-item p {
    color: #777;
    font-size: 14px;
}

/* ==========================================================================
   双列留资与联系我们区块
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #222;
}

.contact-info p {
    margin-bottom: 15px;
    color: #555;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
    background-color: #fff;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #b89753;
}

/* ==========================================================================
   页脚样式
   ========================================================================== */
footer {
    background-color: #222;
    color: #bbb;
    padding: 40px 20px;
    text-align: center;
    font-size: 14px;
    width: 100%;
}

footer p {
    margin-bottom: 10px;
}

/* ==========================================================================
   响应式媒体查询（移动端适配）
   ========================================================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }
    .hero-banner h1 {
        font-size: 32px;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
