/* 好印象贸易 - 前台模板样式 */
/* 参考沈阳同行风格，蓝色系 */

/* 全局 */
body { font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif; color: #333; }
a { color: #1a5a9c; text-decoration: none; }
a:hover { color: #0d3d66; }

/* 顶部导航 */
.top-nav {
    background: linear-gradient(135deg, #1a5a9c 0%, #0d3d66 100%);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.top-nav .navbar-brand { color: #fff !important; font-size: 20px; font-weight: bold; }
.top-nav .nav-link { color: rgba(255,255,255,0.9) !important; padding: 12px 18px !important; font-size: 15px; }
.top-nav .nav-link:hover, .top-nav .nav-item.active .nav-link { color: #fff !important; background: rgba(255,255,255,0.1); border-radius: 4px; }
.top-nav .phone-text { color: #ffd700; font-size: 18px; font-weight: bold; }
.navbar-placeholder { height: 70px; }

/* Banner轮播 */
.banner-section { margin: 0; padding: 0; }
.banner-section img { width: 100%; height: auto; max-height: 500px; object-fit: cover; }

/* 通用标题 */
.section-wrap { padding: 50px 0; }
.section-wrap:nth-child(even) { background: #f8f9fa; }
.section-title-wrap { text-align: center; margin-bottom: 35px; }
.section-title-wrap h2 { font-size: 28px; color: #1a5a9c; margin-bottom: 10px; position: relative; display: inline-block; }
.section-title-wrap h2::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: #1a5a9c; border-radius: 2px; }
.section-title-wrap p { color: #888; font-size: 14px; margin-top: 15px; }
.section-more { color: #1a5a9c; font-size: 14px; }
.section-more:hover { color: #0d3d66; }

/* 关于我们 */
.about-text { font-size: 15px; line-height: 1.8; color: #555; text-indent: 2em; }

/* 产品卡片 */
.product-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: all 0.3s; height: 100%; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.product-card img { width: 100%; height: 220px; object-fit: cover; }
.product-card .card-body { padding: 15px; text-align: center; }
.product-card .card-title { font-size: 15px; margin-bottom: 8px; }
.product-card .card-title a { color: #333; }
.product-card .card-title a:hover { color: #1a5a9c; }
.product-card .card-model { font-size: 12px; color: #999; margin-bottom: 8px; }
.product-card .btn-detail { font-size: 13px; color: #1a5a9c; border: 1px solid #1a5a9c; padding: 4px 16px; border-radius: 20px; }
.product-card .btn-detail:hover { background: #1a5a9c; color: #fff; }

/* 产品分类导航 */
.product-nav-item { display: inline-block; padding: 8px 20px; margin: 3px; border: 1px solid #1a5a9c; color: #1a5a9c; border-radius: 20px; font-size: 14px; transition: all 0.3s; }
.product-nav-item:hover, .product-nav-item.active { background: #1a5a9c; color: #fff; }

/* 优势卡片 */
.adv-card { text-align: center; padding: 30px 20px; }
.adv-icon { width: 70px; height: 70px; margin: 0 auto 15px; background: linear-gradient(135deg, #1a5a9c, #0d3d66); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.adv-icon i { color: #fff; font-size: 28px; }
.adv-card h5 { font-size: 17px; color: #333; margin-bottom: 10px; }
.adv-card p { font-size: 13px; color: #777; line-height: 1.6; }

/* 新闻列表 */
.news-item { padding: 15px 0; border-bottom: 1px dashed #e0e0e0; }
.news-item:last-child { border-bottom: none; }
.news-date { color: #1a5a9c; font-size: 14px; font-weight: bold; }
.news-title { font-size: 15px; color: #333; }
.news-title:hover { color: #1a5a9c; }
.news-desc { font-size: 13px; color: #888; line-height: 1.5; margin-top: 5px; }

/* 页脚 */
.site-footer { background: #1a2a3a; color: #ccc; padding: 40px 0 20px; }
.site-footer h5 { color: #fff; font-size: 16px; margin-bottom: 15px; }
.site-footer a { color: #ccc; }
.site-footer a:hover { color: #ffd700; }
.footer-contact li { padding: 5px 0; font-size: 14px; }
.footer-contact .fa { color: #ffd700; width: 20px; }
.footer-bottom { border-top: 1px solid #2a3a4a; margin-top: 30px; padding-top: 15px; text-align: center; font-size: 13px; color: #777; }
.wechat-img { max-width: 120px; }

/* 产品详情页 */
.product-detail-img { width: 100%; border-radius: 8px; }
.product-info-table { width: 100%; }
.product-info-table td { padding: 8px 12px; border-bottom: 1px solid #eee; }
.product-info-table td:first-child { color: #999; width: 100px; }

/* 响应式 */
@media (max-width: 768px) {
    .top-nav .navbar-brand { font-size: 16px; }
    .phone-text { font-size: 14px !important; }
    .section-wrap { padding: 30px 0; }
    .section-title-wrap h2 { font-size: 22px; }
    .product-card img { height: 160px; }
    .banner-section img { max-height: 250px; }
}
