/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: #b01f24;
    color: white;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.bookmark {
    font-size: 14px;
    cursor: pointer;
}

/* 横幅 */
.banner {
    position: relative;
    height: 400px;
    background-image: url('山景图.jpeg');
    background-size: cover;
    background-position: center;
}

.banner-product {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 280px;
    background-image: url('product.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.banner-logo {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
}



/* 页脚 */
.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
}

.footer p {
    margin-bottom: 5px;
}

/* 子页面标题 */
.page-header {
    background-color: #b01f24;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 28px;
    font-weight: normal;
}

/* 页面内容 */
.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    font-size: 20px;
    color: #b01f24;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.content-block p {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* 新闻列表页 */
.news-list-page {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.news-date {
    width: 100px;
    color: #999;
    font-size: 14px;
    flex-shrink: 0;
}

.news-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.news-content h3 a {
    color: #333;
    text-decoration: none;
}

.news-content h3 a:hover {
    color: #b01f24;
}

.news-content p {
    font-size: 14px;
    color: #666;
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: #f9f9f9;
    padding: 20px;
    text-align: center;
}

.product-image {
    width: 100%;
    height: 150px;
    background-color: #e0e0e0;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
}

.product-card h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.product-card p {
    font-size: 13px;
    color: #666;
}

/* 职位列表 */
.job-list {
    margin-top: 15px;
}

.job-item {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 3px solid #b01f24;
}

.job-item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.job-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* 福利列表 */
.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.benefits-list li {
    font-size: 14px;
    color: #333;
    padding: 10px;
    background: #f9f9f9;
    text-align: center;
}

/* 联系信息 */
.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    padding: 20px;
    background: #f9f9f9;
    margin-bottom: 15px;
    border-left: 3px solid #b01f24;
}

.contact-item h3 {
    font-size: 16px;
    color: #b01f24;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 14px;
    color: #333;
}

/* 联系表单 */
.contact-form {
    background: #f9f9f9;
    padding: 30px;
}

.contact-form h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #b01f24;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #8a1a1d;
}

/* 文章详情 */
.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.article-meta {
    font-size: 13px;
    color: #999;
}

.article-body {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 15px;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.back-btn {
    display: inline-block;
    background-color: #b01f24;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu li {
        margin: 0 10px;
    }

    .banner {
        height: 300px;
    }

    .banner-logo {
        left: 20px;
        width: 250px;
    }

    .banner-product {
        right: 20px;
        width: 280px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 250px;
    }

    .banner-logo {
        left: 15px;
        width: 200px;
    }

    .banner-product {
        right: 15px;
        width: 220px;
        height: 160px;
    }

    .nav-menu li {
        margin: 0 8px;
    }

    .nav-menu a {
        font-size: 12px;
    }
}