
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body {
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

a:hover {
    color: #0078d7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    color: #0078d7;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #0078d7;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 轮播图样式 */
.slider {
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    height: 500px;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主要内容区域 */
.main-content {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: #0078d7;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

/* 公司介绍 */
.about-section {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.about-image {
    flex: 1;
    padding-right: 30px;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0078d7;
}

.about-content p {
    margin-bottom: 15px;
    text-align: justify;
}

/* 服务范围 */
.services-section {
    margin-bottom: 50px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0078d7;
}

.service-card p {
    color: #666;
}

/* 公司案例 */
.cases-section {
    margin-bottom: 50px;
}

.case-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.case-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 250px;
}

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.case-item:hover .case-overlay {
    transform: translateY(0);
}

.case-overlay h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.case-overlay p {
    font-size: 14px;
}

/* 新闻资讯 */
.news-section {
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #0078d7;
    font-weight: 500;
}

/* 联系我们 */
.contact-section {
    margin-bottom: 50px;
}

.contact-container {
    display: flex;
    gap: 30px;
}

.contact-info {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0078d7;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 20px;
    color: #0078d7;
    margin-right: 15px;
    min-width: 25px;
}

.info-item div {
    flex: 1;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0078d7;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0078d7;
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: #0078d7;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0062b0;
}

/* 加入我们 */
.join-section {
    margin-bottom: 50px;
}

.job-listings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.job-card {
    background-color: #fff;
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.job-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0078d7;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.job-detail {
    background-color: #f0f8ff;
    color: #0078d7;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.job-description {
    margin-bottom: 20px;
}

.job-description h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.job-description ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.job-description ul li {
    margin-bottom: 5px;
}

.apply-button {
    display: inline-block;
    background-color: #0078d7;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.apply-button:hover {
    background-color: #0062b0;
}

/* 公司文化 */
.culture-section {
    margin-bottom: 50px;
}

.culture-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.culture-card {
    display: flex;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.culture-image {
    flex: 1;
    min-height: 250px;
}

.culture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.culture-content {
    flex: 1;
    padding: 30px;
}

.culture-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0078d7;
}

.culture-content p {
    color: #666;
    margin-bottom: 15px;
}

/* 底部样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #0078d7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #bbb;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #bbb;
    font-size: 14px;
}

.footer-bottom a {
    color: #bbb;
}

.footer-bottom a:hover {
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
    }

    .nav-menu {
        margin-top: 20px;
    }

    .about-section {
        flex-direction: column;
    }

    .about-image {
        padding-right: 0;
        padding-bottom: 30px;
    }

    .service-cards,
    .case-gallery,
    .news-grid,
    .contact-container,
    .job-listings,
    .culture-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .slider {
        height: 300px;
    }

    .service-cards,
    .case-gallery,
    .news-grid,
    .contact-container,
    .job-listings,
    .culture-cards {
        grid-template-columns: 1fr;
    }

    .culture-card {
        flex-direction: column;
    }

    .culture-image {
        min-height: 200px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
}
