/* nongguo.com.cn 全站样式 */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; max-width: 1200px; margin: 0 auto; padding: 20px; line-height: 1.6; color: #333; }
header { border-bottom: 3px solid #2e7d32; padding-bottom: 20px; margin-bottom: 30px; display: flex; justify-content: space-between; align-items: center; }
nav a { margin-right: 20px; color: #2e7d32; text-decoration: none; }
nav a:hover { text-decoration: underline; }
h1, h2, h3 { color: #2e7d32; }

/* 首页样式 */
.hero { background: linear-gradient(135deg, #e8f5e9, #fff); padding: 50px; border-radius: 15px; margin: 30px 0; text-align: center; }
.hero h1 { font-size: 2.5em; margin-bottom: 20px; }
.hero p { font-size: 1.2em; color: #555; }
.section { margin: 40px 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin-top: 20px; }
.product-card { border: 1px solid #ddd; padding: 25px; border-radius: 10px; background: #f9f9f9; transition: transform 0.2s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.product-card h3 { margin-top: 0; color: #2e7d32; }
.product-card a { color: #2e7d32; text-decoration: none; }
.btn { background: #2e7d32; color: white; padding: 12px 25px; text-decoration: none; border-radius: 5px; display: inline-block; margin-top: 10px; }
.btn:hover { background: #1b5e20; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 40px 0; }
.feature { text-align: center; padding: 20px; }
.feature-icon { font-size: 3em; margin-bottom: 10px; }

/* 列表页样式 */
.post-list { margin-top: 30px; }
.post-item { background: #f9f9f9; padding: 20px; margin-bottom: 20px; border-radius: 8px; }
.post-item h3 { margin-top: 0; color: #2e7d32; }
.post-item h3 a { color: #2e7d32; text-decoration: none; }
.post-item h3 a:hover { text-decoration: underline; }
.post-item p { color: #555; }
.post-meta { color: #666; font-size: 14px; margin-top: 10px; }

/* 文章页样式 */
.article-meta { color: #888; font-size: 14px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.content { background: #f9f9f9; padding: 30px; border-radius: 10px; }
.content h1 { color: #2e7d32; font-size: 1.8em; }

/* 通用样式 */
a { color: #2e7d32; text-decoration: none; }
a:hover { text-decoration: underline; }
footer { margin-top: 50px; padding-top: 30px; border-top: 1px solid #ddd; text-align: center; color: #666; font-size: 14px; }

/* 悬浮客服 */
.wechat-float { position: fixed; bottom: 20px; right: 20px; background: #fff; padding: 15px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); z-index: 9999; border: 2px solid #2e7d32; max-width: 200px; text-align: center; }
.wechat-float p { margin: 0 0 8px; font-size: 14px; color: #333; }
.wechat-btn { display: inline-block; background: #2e7d32; color: white; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-size: 14px; margin-top: 5px; }
.tel-btn { display: inline-block; background: #1976d2; color: white; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-size: 14px; margin-top: 5px; }
.contact-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* 响应式 */
@media (max-width: 768px) {
  .hero { padding: 30px; }
  .hero h1 { font-size: 1.8em; }
  .features { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  header { flex-direction: column; gap: 10px; }
  nav a { margin-right: 10px; margin-bottom: 5px; display: inline-block; }
}