/* 色彩与设计变量 */
:root {
    --bg-cream: #FAF8F5;          
    --bg-white: #FFFFFF;          
    --primary-green: #22332B;     
    --accent-terracotta: #E07A5F; 
    --text-main: #2C3531;         
    --text-sub: #6E7772;          
    --border-color: #E8E3DD;      
    --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 
    color: var(--text-main); 
    background-color: var(--bg-cream); 
    line-height: 1.6; /* 略微收紧行高，适应英文排版 */
    overflow-x: hidden; 
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* 导航栏 - 磨砂玻璃质感 */
nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 18px 8%; 
    background: rgba(250, 248, 245, 0.72); 
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    position: sticky; 
    top: 0; 
    z-index: 100; 
    border-bottom: 1px solid rgba(34, 51, 43, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.logo { 
    font-size: 26px; 
    font-weight: 800; 
    letter-spacing: 1px; 
    color: var(--primary-green); 
    display: flex;
    align-items: center;
    gap: 6px;
}
.logo span { color: var(--accent-terracotta); }
.logo-tag {
    font-size: 0.7rem;
    background: rgba(34, 51, 43, 0.08);
    color: var(--primary-green);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* 快捷按钮居中 */
.nav-links { 
    display: flex; 
    gap: 35px; /* 稍微缩小间距以适应更长的英文单词 */
    align-items: center; 
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-links a { 
    font-weight: 600; 
    font-size: 0.95rem; 
    color: var(--text-main);
    transition: var(--transition); 
    position: relative; 
    padding: 4px 0; 
}
.nav-links a::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background: var(--accent-terracotta); 
    transition: var(--transition); 
}
.nav-links a:hover { color: var(--accent-terracotta); }
.nav-links a:hover::after { width: 100%; }

/* 多语言切换按钮样式 */
.nav-right-placeholder {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px; /* 与移动端菜单按钮保持间距 */
}
.lang-switch {
    position: relative;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-green);
}
.current-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(34, 51, 43, 0.06);
    border-radius: 20px;
    transition: var(--transition);
}
.current-lang:hover { background: rgba(34, 51, 43, 0.12); }
.lang-options {
    position: absolute;
    top: 130%;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 10px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 200;
}
.lang-switch:hover .lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-options a {
    display: block;
    padding: 10px 20px;
    color: var(--text-sub);
    transition: var(--transition);
}
.lang-options a:hover {
    background: var(--bg-cream);
    color: var(--accent-terracotta);
}

.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 6px; z-index: 101; }
.menu-toggle .bar { width: 25px; height: 2px; background-color: var(--primary-green); transition: var(--transition); }

/* 大屏背景 Hero 区 */
.hero { 
    min-height: 85vh; 
    padding: 0 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(34, 51, 43, 0.65), rgba(34, 51, 43, 0.85)), url('../images/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
}
.hero-text-box { max-width: 800px; }
.hero h1 { 
    font-size: 3.5rem; /* 略微缩小以适应英文标题 */
    font-weight: 800; 
    color: #fff;
    line-height: 1.2; 
    margin-bottom: 24px; 
    letter-spacing: -0.5px;
}
.hero p { 
    font-size: 1.15rem; 
    color: #E8EFEA; 
    margin-bottom: 45px; 
    font-weight: 400;
}
.hero-actions { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; }

.btn-primary { 
    padding: 16px 38px; 
    background: var(--accent-terracotta); 
    color: #fff; 
    font-weight: 700; 
    border: none; 
    cursor: pointer; 
    transition: var(--transition); 
    border-radius: 50px; 
    font-size: 1rem; 
    box-shadow: 0 10px 25px rgba(224, 122, 95, 0.25);
}
.btn-primary:hover { 
    background: #d46b50; 
    transform: translateY(-3px); 
    box-shadow: 0 15px 30px rgba(224, 122, 95, 0.35); 
}
.btn-text {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-text:hover { color: var(--accent-terracotta); padding-left: 5px; }

/* 通用标题 */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { 
    font-size: 2.2rem; 
    font-weight: 800; 
    color: var(--primary-green);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}
.section-header p { color: var(--text-sub); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* 关于公司 */
.about-section { 
    padding: 90px 8%; 
    background: var(--bg-white); 
    display: grid; 
    grid-template-columns: 1fr 1fr; /* 调整为 1:1 适应英文长度 */
    gap: 50px; 
    align-items: center; 
}
.about-img-group { display: block; }
.about-img-group img { border-radius: 12px; width: 100%; height: 420px; object-fit: cover; }
.about-content h3 { font-size: 1.8rem; font-weight: 800; color: var(--primary-green); margin-bottom: 20px; }
/* 移除 text-align: justify; 解决单词间隙过大问题 */
.about-content p { color: var(--text-sub); margin-bottom: 20px; font-size: 1.02rem; text-align: left; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 30px; border-top: 1px solid var(--border-color); padding-top: 25px; }
.stat-number { font-size: 1.6rem; font-weight: 800; color: var(--accent-terracotta); }
.stat-label { font-size: 0.85rem; color: var(--text-sub); }

/* 产品展区：3列布局 */
.products-section { padding: 100px 8%; background: var(--bg-cream); }

.product-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 35px; 
}
.product-card { 
    background: var(--bg-white); 
    border-radius: 16px; 
    padding: 20px; 
    border: 1px solid var(--border-color);
    transition: var(--transition); 
    display: flex;
    flex-direction: column;
}
.product-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.06); 
    border-color: transparent;
}

/* 强制图片比例为 1920:1280 */
.product-img-wrapper { 
    width: 100%; 
    aspect-ratio: 1920 / 1280; 
    background: #F5F2EC; 
    border-radius: 12px; 
    overflow: hidden; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin-bottom: 20px; 
    position: relative;
}
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img { transform: scale(1.06); }

.product-info h4 { font-size: 1.15rem; font-weight: 800; color: var(--primary-green); margin-bottom: 8px; }
.product-info p { color: var(--text-sub); font-size: 0.9rem; margin-bottom: 20px; flex-grow: 1; text-align: left; }

.product-meta { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-top: 1px solid #F2EFEA; 
    padding-top: 15px; 
    margin-top: auto;
}
.inquire-link { font-size: 0.88rem; font-weight: 700; color: var(--accent-terracotta); }

.more-cta { text-align: center; margin-top: 50px; }

/* 品牌核心优势 */
.why-us-section { padding: 90px 8%; background: var(--bg-white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 35px; }
.feature-card {
    padding: 35px 30px;
    background: var(--bg-cream);
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
}
.feature-card:hover {
    background: var(--primary-green);
    color: #fff;
    transform: translateY(-5px);
}
.feature-card:hover p { color: #C2CFC9; }
.feature-card:hover .feature-num { color: rgba(255,255,255,0.15); }
.feature-num {
    font-size: 3rem;
    font-weight: 900;
    color: #E8E2D9;
    line-height: 1;
    margin-bottom: 15px;
    transition: var(--transition);
}
.feature-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; }
.feature-card p { color: var(--text-sub); font-size: 0.95rem; transition: var(--transition); text-align: left; }

/* 联系我们与地图 */
.contact-section { padding: 100px 8%; background: var(--bg-cream); display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-card { background: var(--bg-white); padding: 45px; border-radius: 20px; border: 1px solid var(--border-color); }
.contact-card h3 { font-size: 1.8rem; font-weight: 800; color: var(--primary-green); margin-bottom: 10px; }
.contact-card p { color: var(--text-sub); margin-bottom: 30px; font-size: 0.95rem; }
.contact-info-list { margin-bottom: 30px; }
.info-row { margin-bottom: 20px; }
.info-label { font-size: 0.8rem; text-transform: uppercase; font-weight: 700; color: var(--accent-terracotta); letter-spacing: 0.5px; }
.info-val { font-size: 1.05rem; font-weight: 700; color: var(--primary-green); margin-top: 2px; word-break: break-word; }

.btn-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--primary-green);
    color: #fff;
    font-weight: 700;
    border-radius: 30px;
    transition: var(--transition);
}
.btn-email:hover {
    background: var(--accent-terracotta);
    transform: translateY(-2px);
}

.map-frame { width: 100%; height: 100%; min-height: 420px; border-radius: 20px; border: none; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* 页脚 */
footer { background: var(--primary-green); color: #E8EFEA; padding: 70px 8% 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 50px; margin-bottom: 50px; }
.footer-brand h4 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 15px; }
.footer-brand p { color: #A3B5AC; font-size: 0.92rem; line-height: 1.8; }
.footer-col h5 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #A3B5AC; font-size: 0.92rem; transition: var(--transition); }
.footer-col a:hover { color: var(--accent-terracotta); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; font-size: 0.85rem; color: #7B8F86; }

/* 响应式媒体查询 */
@media (max-width: 1024px) {
    .about-section, .contact-section { grid-template-columns: 1fr; gap: 40px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); } 
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .hero h1 { font-size: 3rem; }
}
@media (max-width: 768px) {
    nav { padding: 15px 5%; }
    .menu-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        transform: none;
        width: 100%;
        background-color: var(--bg-cream);
        flex-direction: column;
        align-items: center;
        padding: 0;
        border-bottom: 1px solid var(--border-color);
        max-height: 0; /* 默认折叠 */
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    /* 解决菜单显示不全的问题：加高 max-height */
    .nav-links.active { max-height: 400px; padding-bottom: 15px; }
    .nav-links a { width: 100%; text-align: center; padding: 14px 0; border-bottom: 1px solid var(--border-color); }
    
    .hero { min-height: 70vh; padding: 40px 5%; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .stat-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; } 
}