/* Fushi Wood Green Style */
:root {
    --primary-dark: #1a4d2e;
    --primary-main: #2E7D32;
    --primary-light: #4CAF50;
    --accent-gold: #d4af37;
    --text-main: #333333;
    --text-light: #666666;
    --bg-gray: #f8f9fa;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --container-width: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text-main); line-height: 1.6; background: #fff; font-size: 14px; top:0 !important; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* 谷歌翻译隐藏样式 */
.goog-te-banner-frame { display: none !important; }
#google_translate_element { display: none; }
.skiptranslate { display: none !important; }

.container { width: var(--container-width); max-width: 95%; margin: 0 auto; }
.section-padding { padding: 60px 0; }

/* 语言切换器 */
.lang-dropdown { position: relative; cursor: pointer; color: #bbb; font-size: 12px; }
.lang-dropdown:hover .current-lang { color: var(--primary-light); }
.lang-dropdown .lang-list { display: none; position: absolute; top: 100%; right: 0; background: #fff; box-shadow: 0 4px 8px rgba(0,0,0,0.2); z-index: 9999; width: 100px; padding: 5px 0; }
.lang-dropdown:hover .lang-list { display: block; }
.lang-dropdown .lang-list li { border-bottom: 1px solid #f0f0f0; }
.lang-dropdown .lang-list li a { display: block; padding: 8px 15px; color: #333; text-align: left; }
.lang-dropdown .lang-list li a:hover { background: var(--primary-main); color: #fff; }

/* 标题样式 */
.section-title { position: relative; margin-bottom: 40px; border-bottom: 2px solid var(--border-color); display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 10px; }
.section-title h2 { font-size: 24px; color: var(--text-main); font-weight: 700; position: relative; text-transform: uppercase; margin:0; }
.section-title h2::after { content: ''; position: absolute; bottom: -12px; left: 0; width: 80px; height: 3px; background: var(--primary-main); }
.section-title .more-link { font-size: 14px; color: var(--primary-main); font-weight: 600; }

/* 按钮样式 */
.btn { display: inline-block; padding: 10px 25px; border-radius: 4px; font-weight: 600; text-transform: uppercase; cursor: pointer; transition: 0.3s; font-size: 13px; }
.btn-primary { background: var(--primary-main); color: white; border: 1px solid var(--primary-main); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary-main); border: 1px solid var(--primary-main); }
.btn-outline:hover { background: var(--primary-main); color: white; }

/* 顶部与Header */
.top-bar { background: #111; color: #bbb; padding: 8px 0; font-size: 12px; }
.top-bar .container { display: flex; justify-content: space-between; }
.top-contact i { margin-right: 5px; color: var(--primary-light); }
.top-contact span { margin-right: 20px; }

.main-header { padding: 20px 0; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }

.search-wrap { display: flex; width: 300px; border: 2px solid var(--primary-main); border-radius: 4px; overflow: hidden; }
.search-wrap input { flex: 1; border: none; padding: 0 15px; height: 36px; }
.search-wrap button { background: var(--primary-main); color: white; border: none; padding: 0 20px; cursor: pointer; }

/* 导航栏 */
.nav-bar { background: var(--primary-dark); color: white; }
.nav-bar .menu { display: flex; flex-wrap: wrap;}
.nav-bar .menu > li { position: relative; }
.nav-bar .menu > li > a { display: block; padding: 16px 25px; color: white; font-weight: 600; text-transform: uppercase; font-size: 14px; border-right: 1px solid rgba(255,255,255,0.1); }
.nav-bar .menu > li:hover > a, .nav-bar .menu > li.active > a { background: var(--primary-main); }

/* Hero Banner */
.hero-section { height: 400px; background: url('https://image.chukouplus.com/themes/simplebootx/Upload/W_97/ads/5e1fb4f093f91.jpg') center/cover; position: relative; display: flex; align-items: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,77,46,0.85) 0%, rgba(26,77,46,0.3) 100%); }
.hero-content { position: relative; z-index: 2; color: white; max-width: 600px; padding-left: 5%; }
.hero-content h1 { font-size: 42px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 16px; margin-bottom: 30px; opacity: 0.9; }

/* 产品网格 */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: white; border: 1px solid #eee; transition: 0.3s; overflow: hidden; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: var(--primary-light); }
.card-img { height: 200px; overflow: hidden; position: relative; display:flex; align-items:center; justify-content:center; background:#f4f4f4;}
.card-img img { width: 100%; height: auto; transition: 0.5s; }
.product-card:hover .card-img img { transform: scale(1.1); }
.card-body { padding: 15px; }
.card-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; height: 42px; overflow: hidden; color: var(--text-main); line-height: 1.4; }
.card-body h3 a:hover { color: var(--primary-main); }
.view-more { font-size: 12px; color: var(--primary-main); font-weight: 700; }

/* 关于我们 */
.about-section { background: url('https://image.chukouplus.com/upload/C_987/file/20240321/7b22ae7b6f82c2d4c45e49ec96b0c5fa.jpg') no-repeat center/cover fixed; padding: 80px 0; position: relative; }
.about-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.about-content { position: relative; z-index: 2; background: rgba(255,255,255,0.95); padding: 40px; max-width: 600px; margin-left: auto; border-radius: 4px; border-left: 5px solid var(--primary-main); }
.about-content h2 { color: var(--primary-dark); margin-bottom: 20px; font-size: 28px; }

/* 证书 */
.cert-grid { display: flex; justify-content: space-between; text-align: center; gap: 20px; }
.cert-item { flex: 1; padding: 20px; background: white; border: 1px solid #eee; display:flex; flex-direction:column; align-items:center; color:#333; font-weight:bold;}
.cert-item i { color: var(--primary-main); margin-bottom:10px; }

/* 侧边栏与布局 */
.main-layout { padding: 40px 0; display: flex; gap:30px; }
.sidebar { width: 260px; flex-shrink: 0; }
.content-area { flex: 1; }

.sidebar-widget { margin-bottom: 30px; border: 1px solid var(--border-color); background: #fff; }
.widget-title { background: var(--primary-main); color: white; padding: 12px 15px; font-size: 16px; font-weight: 600; }
.cat-list li { border-bottom: 1px solid #f0f0f0; }
.cat-list a { display: block; padding: 12px 15px; color: var(--text-light); font-size: 14px; }
.cat-list a:hover { color: var(--primary-main); background: #f9f9f9; padding-left: 20px; }

/* 文章详情 */
.post-body { font-size: 16px; line-height: 1.8; color: #333; }
.post-body img { max-width: 100%; height: auto; margin: 20px 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.post-body td, .post-body th { border: 1px solid #eee; padding: 10px; }

/* 分页 */
#page { margin: 40px 0; text-align: center; }
#page a, #page .page_current { display: inline-block; padding: 8px 15px; border: 1px solid #ddd; margin: 0 3px; border-radius: 2px; color: #666; }
#page a:hover, #page .page_current { background: var(--primary-main); color: white; border-color: var(--primary-main); }

/* 面包屑 */
.breadcrumbs { background: #f9f9f9; padding: 15px 0; border-bottom: 1px solid #eee; font-size: 13px; color: #666; }
.breadcrumbs a { color: var(--text-main); }
.breadcrumbs a:hover { color: var(--primary-main); }

/* 页脚 */
footer { background: #1a1a1a; color: #999; margin-top: 60px; }
.footer-top { padding: 60px 0; border-bottom: 1px solid #333; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-col h3 { color: white; font-size: 18px; margin-bottom: 25px; border-left: 3px solid var(--primary-main); padding-left: 10px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--primary-main); padding-left: 5px; }
.contact-info li { margin-bottom: 15px; }
.contact-info i { margin-right: 10px; color: var(--primary-main); }
.footer-bottom { background: #111; padding: 20px 0; text-align: center; font-size: 13px; }

@media (max-width: 768px) {
    .product-grid { grid-template-columns: 1fr 1fr; }
    .main-layout { flex-direction: column; }
    .sidebar { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-bar .menu { flex-direction: column; }
    .nav-bar .menu > li > a { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}