/* 全局基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 顶部信息条 */
.top-bar {
    background-color: #222;
    color: #bbb;
    font-size: 13px;
    padding: 8px 0;
}

/* 导航栏 */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo h2 {
    color: #0056b3; 
}
.logo h2 span {
    background: #0056b3;
    color: #fff;
    padding: 2px 6px;
    font-size: 14px;
    margin-left: 5px;
    border-radius: 3px;
}
.nav-links ul {
    display: flex;
}
.nav-links li {
    margin-left: 30px;
}
.nav-links a {
    font-weight: bold;
    color: #555;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #0056b3;
}

/* 首页 Banner */
.hero-banner {
    background: linear-gradient(rgba(0,40,90,0.7), rgba(0,40,90,0.7)), url('https://picsum.photos/1920/600') no-repeat center center/cover;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.hero-content h1 {
    font-size: 38px;
    margin-bottom: 15px;
}
.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}
.btn {
    display: inline-block;
    background-color: #ff6a00; 
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}
.btn:hover {
    background-color: #e05d00;
}

/* 通用布局与组件 */
.section {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 10px;
}
.page-title-bar {
    background-color: #00285a;
    color: #fff;
    text-align: center;
    padding: 50px 0;
}
.page-title-bar h1 { margin-bottom: 10px; }

/* 网格系统 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

/* 卡片 */
.card {
    background: #fff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
    transition: transform 0.3s, border-color 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    border-color: #0056b3;
}
.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}
.card h3 { margin-bottom: 10px; color:#222; }
.card p { color:#666; font-size:14px; }

/* 生产线列表 */
.line-item {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.line-item h3 { margin: 15px 0 10px 0; color:#0056b3; }
.line-item p { color:#555; font-size: 14px; }

/* 表格样式 */
.cap-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.cap-table th, .cap-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}
.cap-table th {
    background-color: #f4f7f6;
    color: #222;
}

/* 联系方式页面样式 */
.contact-info p {
    margin-bottom: 12px;
    font-size: 16px;
}

/* 页脚 */
.main-footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 40px 0 20px 0;
    margin-top: 60px;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-grid h3 {
    color: #fff;
    margin-bottom: 15px;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #888;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .flex-between { flex-direction: column; text-align: center; }
    .nav-links ul { margin-top: 15px; }
    .nav-links li { margin: 0 10px; }
    .grid-2 { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 26px; }
}