/* --- 新闻列表通用样式 (自适应所有主题) --- */
.section-news { padding: 80px 0; background: var(--bg-darker); }
.news-list-home { max-width: 800px; margin: 0 auto; }

.news-item-link {
    display: block;
    text-decoration: none;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    padding: 20px 15px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.news-item-link:hover {
    background: rgba(128, 128, 128, 0.05); /* 悬浮时出现淡淡的背景 */
    padding-left: 25px; /* 悬浮时文字向右缩进一点点 */
}

.news-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-item-content h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: normal;
    margin: 0;
    transition: color 0.3s;
}

.news-item-content span {
    color: var(--text-gray);
    font-size: 0.85rem;
    white-space: nowrap;
}

.news-item-link:hover .news-item-content h3 {
    color: var(--gold); /* 悬浮时标题变主题色 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .section-news { padding: 50px 0; }
    .news-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .news-item-content h3 { font-size: 1rem; }
}/* =========================================
   立瑞陶瓷 - 暗黑中式风格 (全局)
   ========================================= */
:root {
    --bg-dark: #1a1a1a;
    --bg-darker: #111111;
    --gold: #c9a96e;
    --text-light: #e0e0e0;
    --text-gray: #999999;
    --nav-bg: #2a2a2a;
    --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
    --font-brush: "Ma Shan Zheng", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-serif); background: var(--bg-darker); color: var(--text-light); line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; display: block; }

/* =========================================
   顶部 Header & Logo
   ========================================= */
.site-header { background: var(--bg-dark); position: relative; z-index: 100; }
.header-top { text-align: center; padding: 30px 0; border-bottom: 1px solid #222; }
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; outline: none; }
.logo-cn { font-size: 2.5rem; color: #fff; letter-spacing: 12px; margin-left: 12px; font-weight: normal; line-height: 1.2; }
.logo-en { font-size: 0.75rem; color: var(--gold); letter-spacing: 8px; margin-top: 8px; margin-left: 8px; text-transform: uppercase; }
.logo::after { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); margin: 15px auto 0; opacity: 0.6; }

/* =========================================
   导航栏 (包含动态询价车)
   ========================================= */
.main-nav { 
    background: var(--nav-bg); 
    position: relative; 
    z-index: 99; 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 54px;
}
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; padding: 15px 20px; cursor: pointer; }

.nav-inner { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 40px; 
    height: 100%;
}
.nav-item { color: #ddd; text-decoration: none; font-size: 1.05rem; transition: color 0.3s; letter-spacing: 1px; }
.nav-item:hover, .nav-item.active { color: var(--gold); }

/* 右侧悬浮的询价车按钮 */
#headerCartBtn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    padding: 6px 18px;
    border: 1px solid var(--gold);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(201, 169, 110, 0.05);
}
#headerCartBtn:hover {
    background: var(--gold);
    color: #111 !important;
}
#headerCartCount {
    background: #ff4d4f; color: #fff; padding: 2px 8px; border-radius: 10px; 
    font-size: 0.75rem; margin-left: 5px; font-family: sans-serif;
}

/* =========================================
   首屏 Banner
   ========================================= */
.hero-section { position: relative; height: 60vh; min-height: 400px; overflow: hidden; }
.hero-bg { width: 100%; height: 100%; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.2)); }
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; }
.vertical-title { writing-mode: vertical-rl; text-orientation: upright; }
.vertical-title h2 { font-family: var(--font-brush); font-size: 4rem; color: var(--gold); letter-spacing: 12px; font-weight: normal; }
.vertical-title h3 { font-size: 1.5rem; color: #fff; letter-spacing: 5px; margin-top: 20px; }
.hero-desc { text-align: right; padding-right: 20px; }
.hero-desc p { color: var(--text-gray); font-size: 0.9rem; letter-spacing: 3px; margin-bottom: 10px; }

/* =========================================
   公共标题 & 子页面 Banner
   ========================================= */
.section-title-wrap { text-align: center; margin-bottom: 45px; }
.brush-bg { 
    display: inline-block; font-size: 1.8rem; color: #fff; font-weight: normal; letter-spacing: 5px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="60"><rect width="200" height="60" fill="%23222" rx="30"/></svg>') no-repeat center;
    background-size: 100% 100%; padding: 12px 60px; 
}
.page-banner { padding: 70px 0 50px; text-align: center; background: #151515; border-bottom: 1px solid #222; }

/* =========================================
   首页介绍区域
   ========================================= */
.section-about { padding: 80px 0; background: #f8f8f8; color: #333; }
.about-content { display: flex; gap: 50px; align-items: center; }
.about-img { flex: 1; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.about-text { flex: 1.2; }
.about-text p { margin-bottom: 18px; text-indent: 2em; text-align: justify; font-size: 0.95rem; color: #555; line-height: 2; }
.read-more { display:inline-block; margin-top:15px; color:#c9a96e; text-decoration:none; border-bottom:1px solid #c9a96e; padding-bottom: 2px; transition: 0.3s; }
.read-more:hover { color: #1a1a1a; border-color: #1a1a1a; }

/* =========================================
   产品列表 & 卡片
   ========================================= */
.section-products { padding: 80px 0; background: var(--bg-darker); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; }
.product-card { background: var(--bg-dark); border: 1px solid #333; border-radius: 8px; transition: all 0.4s; text-align: center; padding: 15px; text-decoration: none; display: block; position: relative; }
.product-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.product-card .img-wrap { overflow: hidden; margin-bottom: 15px; border-radius: 4px; }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.5s; }
.product-card:hover img { transform: scale(1.08); }
.product-card h3 { color: #fff; font-size: 1.1rem; font-weight: normal; }
.btn-more { display: inline-block; padding: 12px 40px; border: 1px solid var(--gold); color: var(--gold); text-decoration: none; transition: 0.3s; letter-spacing: 2px; }
.btn-more:hover { background: var(--gold); color: #111; }

/* =========================================
   表单 & 询价区
   ========================================= */
.section-inquiry { padding: 80px 0; background: var(--bg-dark); }
.inquiry-form { max-width: 600px; margin: 0 auto; }
.form-group { display: flex; gap: 15px; margin-bottom: 15px; }
.inquiry-form input, .inquiry-form textarea {
    width: 100%; padding: 14px 15px; background: rgba(255,255,255,0.03);
    border: 1px solid #333; color: #fff; font-family: inherit; outline: none; transition: 0.3s;
    border-radius: 4px;
}
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--gold); background: rgba(255,255,255,0.06); }
.inquiry-form textarea { margin-bottom: 15px; resize: vertical; }
.submit-btn {
    width: 100%; padding: 16px; background: var(--gold); color: #111;
    border: none; font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: 0.3s; letter-spacing: 2px;
    border-radius: 4px;
}
.submit-btn:hover { opacity: 0.85; }
.form-msg { text-align: center; margin-top: 15px; font-size: 0.9rem; }

/* =========================================
   底部 Footer
   ========================================= */
.site-footer { background: #2a0d0d; color: #888; text-align: center; padding: 40px 0; font-size: 0.85rem; line-height: 2; border-top: 1px solid #3a1010; }
.footer-info p { margin-bottom: 10px; }
.footer-copyright { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #3a1010; }
.footer-copyright a { color: #888; text-decoration: none; transition: 0.3s; }
.footer-copyright a:hover { color: var(--gold); }

/* =========================================
   移动端响应式适配 (<= 768px)
   ========================================= */
@media (max-width: 768px) {
    /* Header & Logo */
    .header-top { padding: 20px 0; }
    .logo-cn { font-size: 2rem; letter-spacing: 8px; margin-left: 8px; }
    .logo-en { font-size: 0.65rem; letter-spacing: 5px; margin-left: 5px; }
    .logo::after { margin-top: 10px; width: 30px; }

    /* 导航 (移动端变为汉堡菜单) */
    .main-nav { flex-direction: column; height: auto; align-items: stretch; }
    .mobile-menu-btn { display: block; width: 100%; text-align: left; }
    
    .nav-inner { 
        display: none; 
        flex-direction: column; 
        gap: 0; 
        padding: 0; 
        height: auto;
        background: #222;
    }
    .nav-inner.show { display: flex; }
    .nav-item { padding: 15px; border-top: 1px solid #444; text-align: center; width: 100%; }
    
    /* 移动端询价车 (改到菜单最下方) */
    #headerCartBtn {
        position: static;
        transform: none;
        margin: 15px auto;
        display: inline-block;
        width: fit-content;
    }

    /* Banner */
    .hero-section { height: 50vh; min-height: 300px; }
    .hero-content { flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px; }
    .vertical-title { writing-mode: horizontal-tb; text-align: left; margin-bottom: 20px; }
    .vertical-title h2 { font-size: 2.5rem; letter-spacing: 5px; margin-bottom: 5px; }
    .vertical-title h3 { font-size: 1.2rem; }
    .hero-desc { text-align: left; padding-right: 0; }
    .hero-desc p { font-size: 0.8rem; }

    /* 标题 & 区域 */
    .brush-bg { font-size: 1.4rem; padding: 10px 40px; }
    .page-banner { padding: 40px 0 30px; }
    .about-content { flex-direction: column; gap: 30px; }
    .section-about { padding: 50px 0; }
    
    /* 产品双列 */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card { padding: 10px; }
    .product-card h3 { font-size: 0.9rem; }
    .section-products { padding: 50px 0; }

    /* 表单 */
    .form-group { flex-direction: column; gap: 15px; }
    .section-inquiry { padding: 50px 0; }
    /* 右侧悬浮的询价车按钮 */
#headerCartBtn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 18px;
    border: 1px solid var(--gold);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(201, 169, 110, 0.05);
}
#headerCartBtn:hover {
    background: var(--gold);
    color: #111 !important;
}
#headerCartCount {
    background: #ff4d4f; color: #fff; padding: 2px 8px; border-radius: 10px; 
    font-size: 0.75rem; margin-left: 5px; font-family: sans-serif;
}

/* 手机端适配 */
@media (max-width: 768px) {
    #headerCartBtn {
        position: static;
        transform: none;
        margin: 15px auto;
        display: inline-block;
        width: fit-content;
    }
}
/* --- 新闻列表通用样式 (自适应所有主题) --- */
.section-news { padding: 80px 0; background: var(--bg-darker); }
.news-list-home { max-width: 800px; margin: 0 auto; }

.news-item-link {
    display: block;
    text-decoration: none;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    padding: 20px 15px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.news-item-link:hover {
    background: rgba(128, 128, 128, 0.05); /* 悬浮时出现淡淡的背景 */
    padding-left: 25px; /* 悬浮时文字向右缩进一点点 */
}

.news-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-item-content h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: normal;
    margin: 0;
    transition: color 0.3s;
}

.news-item-content span {
    color: var(--text-gray);
    font-size: 0.85rem;
    white-space: nowrap;
}

.news-item-link:hover .news-item-content h3 {
    color: var(--gold); /* 悬浮时标题变主题色 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .section-news { padding: 50px 0; }
    .news-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .news-item-content h3 { font-size: 1rem; }
}