/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 1.8rem;
    color: #007bff;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #007bff;
    background-color: #f0f7ff;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/bg.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-primary {
    background-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* 页面标题样式 */
.page-header {
    background-color: #f0f7ff;
    padding: 100px 0 40px;
    text-align: center;
    margin-top: 70px;
    border-bottom: 1px solid #e9ecef;
}

.page-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
}

/* 通用区域样式 */
section {
    padding: 60px 0;
}

section h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

section h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007bff;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 关于我们简介样式 */
.about-brief {
    background-color: #ffffff;
}

.about-brief p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* 服务样式 */
.services {
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: #ffffff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-item i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

.service-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

/* 新闻样式 */
.news {
    background-color: #ffffff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.news-item .date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.news-item p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 快速导航样式 */
.quick-nav {
    background-color: #f0f7ff;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 30px 20px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.quick-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #007bff;
}

.quick-nav-item i {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* 页脚样式 */
.footer {
    background-color: #343a40;
    color: #ffffff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: left;
}

.footer-info h3::after {
    display: none;
}

.footer-info p {
    margin-bottom: 10px;
    color: #adb5bd;
    line-height: 1.8;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #007bff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.9rem;
}

/* 公司简介样式 */
.company-profile {
    background-color: #ffffff;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.profile-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.profile-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 企业文化样式 */
.culture {
    background-color: #f8f9fa;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.culture-item {
    text-align: center;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.culture-item i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 20px;
}

.culture-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.culture-item p {
    color: #666;
    line-height: 1.6;
}

/* 资质荣誉样式 */
.certifications {
    background-color: #ffffff;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cert-item {
    text-align: center;
}

.cert-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.cert-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cert-item p {
    color: #333;
    font-weight: 500;
}

/* 发展历程样式 */
.timeline {
    background-color: #f8f9fa;
}

.timeline-items {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #007bff;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-date {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background-color: #007bff;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    z-index: 1;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-content:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* 产品分类样式 */
.product-categories {
    background-color: #ffffff;
}

.categories-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.category-btn {
    padding: 10px 20px;
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
}

/* 产品列表样式 */
.products {
    background-color: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-item {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: #007bff;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.product-info h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 20px;
}

/* 联系信息样式 */
.contact-info {
    background-color: #ffffff;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background-color: #f0f7ff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
}

.contact-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-content p {
    color: #666;
    margin-bottom: 5px;
}

/* 联系表单和地图样式 */
.contact-main {
    background-color: #f8f9fa;
}

.contact-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form h3,
.contact-map h3 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-form h3::after,
.contact-map h3::after {
    display: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-container {
    width: 100%;
    height: 400px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-align: center;
    padding: 20px;
}

.qrcode-section {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qrcode-section h4 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.qrcode-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.qrcode-item p {
    color: #666;
    font-size: 0.9rem;
}

/* 招聘理念样式 */
.recruitment-philosophy {
    background-color: #ffffff;
}

.philosophy-content {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
}

.philosophy-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.philosophy-list {
    list-style: none;
    text-align: left;
    margin-top: 30px;
}

.philosophy-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.philosophy-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: #28a745;
    font-size: 1.2rem;
}

/* 招聘岗位样式 */
.job-openings {
    background-color: #f8f9fa;
}

.jobs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.job-item {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.job-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.job-header {
    background-color: #f0f7ff;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.job-header h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #333;
}

.job-department {
    color: #666;
    font-size: 0.9rem;
}

.job-info {
    padding: 25px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.job-meta span {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.job-meta i {
    margin-right: 8px;
    color: #007bff;
}

.job-details h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    margin-top: 25px;
    color: #333;
}

.job-details h5:first-child {
    margin-top: 0;
}

.job-details ul {
    list-style: disc;
    margin-left: 20px;
    color: #666;
    line-height: 1.8;
}

.job-details li {
    margin-bottom: 10px;
}

.job-apply {
    margin-top: 30px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu li a {
        display: block;
        padding: 15px;
        border-radius: 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .timeline-items::before {
        left: 30px;
    }
    
    .timeline-date {
        left: 30px;
        transform: translateX(0);
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
    
    .contact-main-content {
        grid-template-columns: 1fr;
    }
    
    .qrcode-container {
        flex-direction: column;
        align-items: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    section h3 {
        font-size: 1.5rem;
    }
    
    .page-header {
        padding: 80px 0 30px;
    }
    
    .page-header h2 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-info h3 {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .categories-grid {
        gap: 10px;
    }
    
    .category-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}