:root {
    --green-primary: #2d6a31;
    --green-dark: #1b4a1f;
    --green-light: #4a9c50;
    --green-bg: #f0f7f0;
    --amber: #d4a017;
    --text-dark: #2c2c2c;
    --text-muted: #6c757d;
    --border: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --radius: 8px;
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #fafafa;
}

a { color: var(--green-primary); text-decoration: none; }
a:hover { color: var(--green-dark); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: bold;
    color: var(--green-primary);
}

.logo i { font-size: 28px; }

.main-nav { display: flex; gap: 8px; }

.nav-link {
    padding: 8px 16px;
    color: var(--text-dark);
    border-radius: var(--radius);
    transition: all 0.2s;
    font-size: 15px;
}

.nav-link:hover { background: var(--green-bg); color: var(--green-primary); }

.nav-link.active {
    background: var(--green-primary);
    color: var(--white);
    font-weight: 600;
}
.nav-link.active:hover { background: var(--green-dark); color: var(--white); }

.page-breadcrumb {
    background: var(--green-bg);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-muted);
}
.page-breadcrumb a { color: var(--text-muted); }
.page-breadcrumb a:hover { color: var(--green-primary); }
.page-breadcrumb .separator { margin: 0 8px; color: var(--border); }
.page-breadcrumb .current { color: var(--green-primary); font-weight: 500; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--green-primary);
    cursor: pointer;
}

.site-main { min-height: 60vh; }

.hero {
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.hero h1 { font-size: 36px; margin-bottom: 16px; }
.hero p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* Banner Carousel */
.banner-carousel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
}
.banner-slide {
    position: relative;
    display: none;
}
.banner-slide.active {
    display: block;
}
.banner-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.banner-link {
    display: block;
    text-decoration: none;
}
.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1), transparent);
    padding: 60px 0 40px;
    text-align: center;
}
.banner-overlay h1 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.banner-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.banner-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s;
}
.banner-dot.active {
    background: #fff;
}
.banner-dot:hover {
    background: rgba(255,255,255,0.8);
}

.section { padding: 48px 0; }
.section-title { text-align: center; margin-bottom: 32px; }
.section-title h2 { font-size: 28px; color: var(--text-dark); }
.section-title p { color: var(--text-muted); margin-top: 8px; }
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--green-primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

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

.product-card .card-img {
    width: 100%;
    height: 200px;
    background: var(--green-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card .card-img i { font-size: 64px; color: var(--green-light); }

.product-card .card-body { padding: 16px; }
.product-card .card-body h3 { font-size: 16px; margin-bottom: 8px; }
.product-card .card-body .subtitle { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }
.product-card .card-body .price { color: var(--amber); font-size: 18px; font-weight: bold; }

.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    align-items: center;
    transition: transform 0.2s;
}
.news-item:hover { transform: translateX(4px); }
.news-item .date {
    text-align: center;
    min-width: 70px;
    padding: 8px;
    background: var(--green-bg);
    border-radius: var(--radius);
}
.news-item .date .day { font-size: 24px; font-weight: bold; color: var(--green-primary); }
.news-item .date .month { font-size: 12px; color: var(--text-muted); }
.news-item .news-info h3 { font-size: 16px; margin-bottom: 6px; }
.news-item .news-info p { color: var(--text-muted); font-size: 14px; }

.about-section { background: var(--white); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-text h2 { font-size: 28px; margin-bottom: 16px; }
.about-text p { color: var(--text-muted); margin-bottom: 12px; line-height: 1.8; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}
.feature-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.feature-card i { font-size: 40px; color: var(--green-primary); margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 14px; }

.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--green-primary);
}
.btn {
    display: inline-block;
    padding: 10px 28px;
    background: var(--green-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn:hover { background: var(--green-dark); color: var(--white); }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-dark);
}
.pagination .current { background: var(--green-primary); color: var(--white); border-color: var(--green-primary); }

.breadcrumb { padding: 16px 0; color: var(--text-muted); font-size: 14px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--green-primary); }

.article-detail { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.article-detail h1 { font-size: 28px; margin-bottom: 16px; }
.article-detail .meta { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.article-detail .content { line-height: 1.9; font-size: 16px; }

.product-detail { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.product-detail h1 { font-size: 28px; margin-bottom: 8px; }
.product-detail .price { color: var(--amber); font-size: 28px; font-weight: bold; margin: 16px 0; }
.product-detail .description { line-height: 1.9; color: var(--text-muted); margin-top: 24px; }

.site-footer { background: var(--green-dark); color: rgba(255,255,255,0.8); padding: 48px 0 20px; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 16px; }
.footer-col p { font-size: 14px; margin-bottom: 8px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; }

@media (max-width: 768px) {
    .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px; box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .main-nav .nav-link { padding: 12px 16px; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 15px; }
    .banner-slide img { height: 240px; }
    .banner-overlay { padding: 30px 0 24px; }
    .banner-overlay h1 { font-size: 24px; }
    .banner-overlay p { font-size: 15px; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-detail, .product-detail { padding: 20px; }
}
