/* 全局设置 & 颜色定义 (提取了Logo中的红色) */
:root {
    --primary-red: #E60012; /* 基于您Logo的品牌红 */
    --dark-bg: #2C2C2C;
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
}

/* 导航栏 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--dark-bg);
}

.logo-highlight {
    color: var(--primary-red);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-red);
}

/* 按钮通用样式 */
.btn-primary, .btn-primary-small {
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-primary-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-primary {
    padding: 15px 30px;
    font-size: 16px;
}

.btn-primary:hover, .btn-primary-small:hover {
    background-color: #cc0010;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 13px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-bg);
}

/* 英雄横幅区域 (Hero) */
.hero {
    /* 这里暂时用深灰底色代替背景图，您可以换成车间大图 */
    background-color: var(--dark-bg); 
    background-image: url('https://via.placeholder.com/1920x600/1A1A1A/333333?text=Factory+Background+Image');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #DDDDDD;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 核心优势区域 */
.features {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-card h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
}

/* 产品区域 */
.products-showcase {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: var(--dark-bg);
}

/* 底部区域 */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info, .footer-contact {
    flex: 1;
    min-width: 300px;
}

.footer-info h4, .footer-contact h4 {
    color: var(--primary-red);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-contact a {
    color: #AAAAAA;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333333;
    padding-top: 20px;
    color: #777777;
    font-size: 14px;
}
/* --- 产品详情页 & 联系页 补充样式 --- */

/* 产品详情列表 */
.product-specs { margin-top: 15px; list-style: none; padding: 0; }
.product-specs li { margin-bottom: 8px; font-size: 15px; color: var(--text-light); border-bottom: 1px dashed #eee; padding-bottom: 5px; }
.product-specs li strong { color: var(--dark-bg); margin-right: 5px; }

/* 联系页布局 */
.contact-section { padding: 80px 0; }
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 50px; }
.contact-form-container { flex: 1; min-width: 300px; background: var(--bg-light); padding: 40px; border-radius: 8px; }
.contact-info-container { flex: 1; min-width: 300px; }

/* 表单样式 */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark-bg); }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary-red); outline: none; }
.submit-btn { background: var(--primary-red); color: white; padding: 15px 30px; border: none; font-size: 16px; font-weight: bold; border-radius: 4px; cursor: pointer; width: 100%; transition: background 0.3s; }
.submit-btn:hover { background: #cc0010; }

/* 全球地址卡片 */
.address-card { background: var(--white); border-left: 4px solid var(--primary-red); padding: 20px; margin-bottom: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.address-card h4 { font-size: 18px; margin-bottom: 10px; color: var(--dark-bg); }
.address-card p { font-size: 15px; color: var(--text-light); line-height: 1.5; }