/* ===== 全局重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; }
body { background-color: #f8f9fa; color: #333; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
a { text-decoration: none; }

/* ===== 导航栏 ===== */
.header { background-color: #F0F7FF; padding: 15px 0; box-shadow: 0 2px 10px rgba(52,62,175,0.1); position: sticky; top: 0; z-index: 100; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-height: 50px; width: auto; }
.desktop-nav { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; }
.nav-links a { color: #000; text-decoration: none; margin-left: 25px; font-weight: 500; transition: color 0.3s; display: inline-flex; align-items: center; }
.nav-links a i { margin-right: 8px; color: #188484; }
.nav-links a:hover { color: #188484; }
.desktop-search-container { position: relative; margin-left: 25px; }
.desktop-search-input { width: 220px; padding: 10px 45px 10px 15px; border: 1px solid #ddd; border-radius: 8px; background: white; font-size: 14px; transition: 0.3s; }
.desktop-search-input:focus { outline: none; border-color: #188484; width: 280px; box-shadow: 0 0 0 2px rgba(5,187,89,0.1); }
.desktop-search-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #188484; cursor: pointer; font-size: 16px; }
.lang-switcher { display: flex; align-items: center; margin-left: 20px; }
.lang-btn { background: none; border: none; color: #666; cursor: pointer; font-size: 14px; padding: 4px 8px; font-weight: 500; }
.lang-btn.active { color: #188484; font-weight: 700; }
.lang-divider { color: #ddd; margin: 0 4px; }

/* 移动端控制 */
.mobile-nav-controls { display: none; align-items: center; }
.mobile-search-toggle, .mobile-menu-toggle { background: none; border: none; color: #343EAF; font-size: 20px; cursor: pointer; padding: 5px; }
.mobile-nav { display: none; background: #F0F7FF; position: absolute; top: 100%; left: 0; right: 0; padding: 15px; flex-direction: column; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.mobile-nav.active { display: flex; }
.mobile-nav a { color: #343EAF; padding: 12px 15px; border-bottom: 1px solid rgba(52,62,175,0.1); display: flex; align-items: center; }
.mobile-nav a i { margin-right: 10px; width: 20px; color: #188484; }
.mobile-search-container { display: none; padding: 15px; background: #F0F7FF; border-top: 1px solid rgba(52,62,175,0.1); }
.mobile-search-container.active { display: block; }
.mobile-search-form { display: flex; width: 100%; }
.mobile-search-input { flex: 1; padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px 0 0 8px; font-size: 16px; }
.mobile-search-submit { padding: 12px 20px; border: none; border-radius: 0 8px 8px 0; background: #188484; color: white; font-weight: 500; cursor: pointer; }
@media (max-width: 768px) { .desktop-nav { display: none; } .mobile-nav-controls { display: flex; } }

/* ===== 轮播图 ===== */
.banner-section { margin-bottom: 40px; width: 100%; overflow: hidden; }
.swiper { width: 100%; height: 500px; overflow: hidden; }
.swiper-slide { position: relative; }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-content { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: white; padding: 40px; z-index: 2; }
.banner-title { font-size: 36px; margin-bottom: 10px; font-weight: 700; }
.banner-subtitle { font-size: 18px; opacity: 0.9; max-width: 600px; }
.swiper-pagination-bullet { background: white; opacity: 0.5; width: 12px; height: 12px; }
.swiper-pagination-bullet-active { background: #188484; opacity: 1; }
.swiper-button-next, .swiper-button-prev { display: none !important; }
@media (max-width: 768px) { .swiper { height: 350px; } .banner-title { font-size: 26px; } }

/* ===== 标题 ===== */
.section-title { font-size: 28px; color: #343EAF; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #e9ecef; display: flex; align-items: center; justify-content: space-between; }
.section-title i { margin-right: 10px; color: #188484; }
.section-more { font-size: 16px; color: #188484; font-weight: 500; display: flex; align-items: center; }
.section-more:hover { color: #04a84d; }

/* ===== 产品网格 ===== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
@media (max-width: 992px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
.product-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.08); border: 1px solid #dee2e6; transition: 0.3s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(5,187,89,0.15); border-color: #188484; }
.product-image { width: 100%; height: 200px; background: #f8f9fa; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-info { padding: 15px; flex-grow: 1; }
.product-name { font-size: 16px; color: #343EAF; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
@media (max-width: 768px) { .product-image { height: 160px; } .product-name { font-size: 14px; } }

/* ===== 新闻网格 ===== */
.news-section { margin-bottom: 60px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
@media (max-width: 992px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); border: 1px solid #dee2e6; transition: 0.3s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(5,187,89,0.12); border-color: #188484; }
.news-image { width: 100%; height: 180px; background: #f8f9fa; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-image img { transform: scale(1.05); }
.news-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.news-title { font-size: 18px; color: #343EAF; margin-bottom: 12px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 50px; }
.news-intro { color: #666; line-height: 1.6; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; height: 68px; flex-grow: 1; }
.news-meta { display: flex; justify-content: space-between; color: #888; font-size: 13px; padding-top: 12px; border-top: 1px solid #e9ecef; margin-top: auto; }
.news-date i { margin-right: 5px; color: #188484; }

/* ===== 页脚 ===== */
.footer { background: #FFFFFF; padding: 40px 0 20px; border-top: 1px solid #e9ecef; margin-top: 0; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 30px; }
.footer-section { flex: 1; min-width: 250px; margin-bottom: 20px; padding-right: 20px; }
.footer-section h3 { font-size: 18px; margin-bottom: 18px; color: #343EAF; padding-bottom: 10px; border-bottom: 2px solid #188484; display: flex; align-items: center; }
.footer-section h3 i { margin-right: 10px; color: #188484; }
.company-intro p, .category-list a, .quick-links a, .contact-info p { color: #666; font-size: 14px; line-height: 1.7; margin-bottom: 10px; display: flex; align-items: center; }
.category-list a i, .quick-links a i, .contact-info p i { margin-right: 10px; width: 16px; color: #188484; }
.category-list a:hover, .quick-links a:hover { color: #188484; }
.category-list a.more-categories { color: #188484; font-weight: 500; margin-top: 8px; }
.copyright { text-align: center; padding-top: 20px; margin-top: 20px; border-top: 1px solid #e9ecef; color: #888; font-size: 13px; }
.copyright i { margin-right: 5px; color: #188484; }
@media (max-width: 768px) { .footer-content { flex-direction: column; } .footer-section { min-width: 100%; } }