/* ==================== 基础样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.7;
    background: #fff;
}

.container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

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

.nav-logo h1 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #8B4513;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #8B4513;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #8B4513;
}

/* ==================== Hero 区域 ==================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 10px;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.btn {
    display: inline-block;
    padding: 12px 38px;
    background: #DAA520;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #C9A227;
    transform: translateY(-2px);
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ==================== Section 通用 ==================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #8B4513;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #DAA520;
    margin: 15px auto 0;
}

.section-header p {
    color: #888;
    font-size: 0.95rem;
    margin-top: 15px;
}

/* ==================== 产品展示 ==================== */
.products {
    padding: 100px 0;
    background: linear-gradient(180deg, #FAF8F5 0%, #F5F3EF 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 35px;
}

.product-card {
    background: #fff;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(139, 69, 19, 0.06);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.12);
}

.product-image {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: linear-gradient(145deg, #FAF8F5, #F0EEEA);
    padding: 25px;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
    letter-spacing: 2px;
}

.product-info p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
}

/* ==================== 关于我们 ==================== */
.about {
    padding: 100px 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.1);
}

.about-text {
    position: relative;
    padding-left: 25px;
}

.about-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 80px;
    background: linear-gradient(180deg, #8B4513, #DAA520);
    border-radius: 2px;
}

.about-text p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.9;
    text-align: justify;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ==================== 联系方式 ==================== */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, #F5F3EF 0%, #FAF8F5 100%);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: #DAA520;
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.08);
}

.info-icon {
    font-size: 1.5rem;
    color: #8B4513;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 69, 19, 0.08);
    border-radius: 50%;
    flex-shrink: 0;
}

.info-text strong {
    display: block;
    font-size: 1rem;
    color: #333;
    margin-bottom: 6px;
    font-weight: 500;
}

.info-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* ==================== 页脚 ==================== */
.footer {
    background: linear-gradient(135deg, #3D2914 0%, #2D1F11 100%);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 45px 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #DAA520, transparent);
}

.footer p {
    font-size: 0.9rem;
    letter-spacing: 3px;
}

.footer .tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
    letter-spacing: 2px;
}

/* ==================== 响应式 ==================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: 6px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
        height: 260px;
    }
    
    .about-text {
        padding-left: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-logo h1 {
        font-size: 1.1rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }
    
    .about-image {
        height: 220px;
    }
}
