
/* ===== 基础重置 ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.8;
    background: #fff;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* ===== 按钮 ===== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
    border: 2px solid transparent;
    text-align: center;
}
.btn-primary {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}
.btn-primary:hover { background: #a93226; border-color: #a93226; }
.btn-outline {
    background: transparent;
    color: #c0392b;
    border-color: #c0392b;
}
.btn-outline:hover { background: #c0392b; color: #fff; }
.btn-full { width: 100%; }

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text { font-size: 22px; font-weight: 700; color: #c0392b; }
.logo-sub { font-size: 10px; color: #999; letter-spacing: 2px; }
.nav-links { display: flex; gap: 8px; }
.nav-links a {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 15px;
    color: #555;
    transition: all .3s;
}
.nav-links a:hover, .nav-links a.active {
    background: #c0392b;
    color: #fff;
}

/* ===== 汉堡菜单 ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: .3s;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c1810 0%, #4a2c1a 50%, #6b3d27 100%);
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><text y="60" font-size="80">🎋</text></svg>') repeat;
    opacity: 0.08;
}
.hero-content { position: relative; z-index: 1; text-align: center; color: #fff; }
.hero-content h1 { font-size: 48px; margin-bottom: 20px; letter-spacing: 4px; }
.hero-content p { font-size: 18px; opacity: .85; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== 通用区块 ===== */
.section { padding: 80px 0; }
.section-alt { background: #f9f6f3; }
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
    color: #2c1810;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #c0392b;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ===== 特色卡片 ===== */
.features { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,.06);
    transition: all .3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.feature-icon { font-size: 48px; margin-bottom: 20px; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; color: #2c1810; }
.feature-card p { font-size: 14px; color: #888; line-height: 1.7; }

/* ===== 产品网格（改进版）===== */
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,.06);
    transition: all .3s;
    border: 1px solid #f0e8e0;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,.12); }
.product-img {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: #faf8f6;
    overflow: hidden;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.product-card:hover .product-img img { transform: scale(1.1); }
.product-info { padding: 20px; }
.product-category {
    display: inline-block;
    font-size: 12px;
    color: #c0392b;
    background: #fdf0ed;
    padding: 3px 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-weight: 500;
}
.product-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #2c1810;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-info p { font-size: 13px; color: #888; line-height: 1.6; }

/* ===== 关于预览 ===== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text h2 { font-size: 28px; margin-bottom: 20px; color: #2c1810; }
.about-text p { color: #666; margin-bottom: 16px; font-size: 15px; }
.about-image {
    height: 350px;
    background: #f5f0eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

/* ===== 页面标题 ===== */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #2c1810, #4a2c1a);
    text-align: center;
    color: #fff;
}
.page-hero h1 { font-size: 36px; margin-bottom: 10px; }
.page-hero p { opacity: .8; font-size: 16px; }

/* ===== 分类筛选 ===== */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}
.filter-btn {
    padding: 8px 24px;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all .3s;
}
.filter-btn:hover { border-color: #c0392b; color: #c0392b; }
.filter-btn.active { background: #c0392b; color: #fff; border-color: #c0392b; }

/* ===== 关于页面 ===== */
.about-page { max-width: 900px; }
.about-section { margin-bottom: 50px; }
.about-section h2 { font-size: 26px; color: #2c1810; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #f0e8e0; }
.about-section p { color: #666; font-size: 15px; line-height: 1.9; margin-bottom: 12px; }
.business-list { display: grid; gap: 20px; }
.business-item {
    padding: 20px;
    background: #f9f6f3;
    border-radius: 10px;
    border-left: 4px solid #c0392b;
}
.business-item h3 { font-size: 17px; margin-bottom: 6px; color: #2c1810; }
.business-item p { font-size: 14px; color: #777; margin-bottom: 0; }
.strength-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.strength-card {
    padding: 25px;
    background: #f9f6f3;
    border-radius: 10px;
}
.strength-card h3 { font-size: 17px; margin-bottom: 8px; color: #c0392b; }
.strength-card p { font-size: 14px; color: #777; margin-bottom: 0; }

/* ===== 联系我们 ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}
.contact-info h2, .contact-form h2 { font-size: 24px; color: #2c1810; margin-bottom: 30px; }
.contact-item { display: flex; gap: 15px; margin-bottom: 25px; }
.contact-icon { font-size: 28px; flex-shrink: 0; }
.contact-item h4 { font-size: 15px; color: #2c1810; margin-bottom: 4px; }
.contact-item p { color: #888; font-size: 14px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
    font-weight: 500;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border .3s;
    background: #fafafa;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #c0392b;
    background: #fff;
}
.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

/* ===== Footer ===== */
.footer {
    background: #2c1810;
    color: #ccc;
    padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: #bbb; transition: color .3s; }
.footer-col ul li a:hover { color: #c0392b; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #888;
}
.footer-bottom a { color: #c0392b; }

/* ===== 响应式 ===== */
@media (max-width: 968px) {
    .features { grid-template-columns: repeat(2,1fr); }
    .products-grid { grid-template-columns: repeat(2,1fr); }
    .about-preview { grid-template-columns: 1fr; gap: 30px; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar .container { height: 60px; }
    .menu-toggle { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,.1);
        gap: 0;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        padding: 14px 0;
        border-radius: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    .nav-links a.active, .nav-links a:hover { background: transparent; color: #c0392b; }
    .hero { height: 70vh; min-height: 400px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    .section-title { font-size: 24px; }
    .features { grid-template-columns: 1fr; gap: 15px; }
    .products-grid { grid-template-columns: 1fr; gap: 15px; }
    .product-img { height: 220px; }
    .strength-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
