/* ============================================
   页面头部样式
   ============================================ */

.page-header {
    position: relative;
    height: 300px;
    margin-top: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&h=300&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.7) 0%, rgba(30, 64, 128, 0.7) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    animation: fadeInDown 0.8s ease;
}

.page-header h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 18px;
    letter-spacing: 2px;
    opacity: 0.95;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   通用部分样式
   ============================================ */

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    animation: fadeIn 0.8s ease;
}

.section-line-center {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0 0%, #3498db 100%);
    margin: 0 auto 40px;
    border-radius: 2px;
}

.section-line {
    width: 40px;
    height: 3px;
    background: #2c5aa0;
    margin-bottom: 20px;
    border-radius: 2px;
}

/* ============================================
   关于我们页面
   ============================================ */

.about-detail {
    padding: 60px 0;
    background: #fff;
}

.about-detail-content {
    margin-top: 40px;
}

.about-detail-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
}

.about-detail-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.about-detail-text p:first-letter {
    margin-left: 2em;
}

/* 企业文化部分 */

.culture-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.culture-item {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease;
}

.culture-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.culture-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2c5aa0 0%, #3498db 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    transition: all 0.3s ease;
}

.culture-item:hover .culture-icon {
    transform: scale(1.1) rotate(5deg);
}

.culture-item h3 {
    font-size: 20px;
    color: #2c5aa0;
    margin-bottom: 15px;
    font-weight: bold;
}

.culture-item p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 时间线部分 */

.timeline-section {
    padding: 60px 0;
    background: white;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2c5aa0 0%, #3498db 50%, #2c5aa0 100%);
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    width: calc(50% - 30px);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    width: calc(50% - 30px);
    text-align: left;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: white;
    border: 4px solid #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #2c5aa0;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-date {
    background: #2c5aa0;
    color: white;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    font-size: 20px;
    color: #2c5aa0;
    margin-bottom: 10px;
    font-weight: bold;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* 团队部分 */

.team-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #2c5aa0 0%, #3498db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

.member-title {
    font-size: 14px;
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 10px;
}

.member-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}

/* ============================================
   产品与服务页面
   ============================================ */

.services-detail {
    padding: 60px 0;
    background: white;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-detail-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease;
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-detail-icon {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
}

.service-detail-card:nth-child(2) .service-detail-icon {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.service-detail-card:nth-child(3) .service-detail-icon {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.service-detail-content {
    padding: 30px;
}

.service-detail-content h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.service-detail-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-features li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #666;
    font-size: 14px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
    font-size: 16px;
}

/* ============================================
   项目案例页面
   ============================================ */

.projects-detail {
    padding: 60px 0;
    background: #f9f9f9;
}

.projects-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-detail-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease;
}

.project-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-detail-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
    position: relative;
    overflow: hidden;
}

.project-detail-card:nth-child(2) .project-detail-image {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.project-detail-card:nth-child(3) .project-detail-image {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.project-detail-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0) url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22100%22 height=%22100%22%3E%3Cpath d=%22M0 0 L100 100 M100 0 L0 100%22 stroke=%22rgba(255,255,255,0.1)%22 stroke-width=%221%22/%3E%3C/svg%3E');
    opacity: 0.3;
}

.project-detail-content {
    padding: 25px;
}

.project-detail-tag {
    display: inline-block;
    background: #2c5aa0;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

.project-detail-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.project-detail-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-client {
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: #999;
}

/* ============================================
   招贤纳士页面
   ============================================ */

.careers-intro {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.careers-intro-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.benefits-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.benefit-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2c5aa0 0%, #3498db 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.benefit-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.benefit-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 职位列表 */

.jobs-section {
    padding: 60px 0;
    background: white;
}

.jobs-list {
    max-width: 900px;
    margin: 40px auto;
}

.job-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.job-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #2c5aa0;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.job-title {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    flex: 1;
}

.job-salary {
    background: #2c5aa0;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.job-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.job-tag {
    background: #f0f0f0;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.job-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   合作咨询页面
   ============================================ */

.contact-form-section {
    padding: 60px 0;
    background: white;
}

.contact-form-container {
    max-width: 700px;
    margin: 40px auto;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 8px rgba(44, 90, 160, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.faq-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.faq-grid {
    max-width: 900px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.faq-question {
    font-size: 16px;
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.faq-question::before {
    content: 'Q';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #2c5aa0;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
    font-size: 12px;
    margin-right: 10px;
    flex-shrink: 0;
}

.faq-answer {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    padding-left: 34px;
}

/* ============================================
   响应式设计
   ============================================ */

@media (max-width: 768px) {
    .page-header {
        height: 200px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
        text-align: left;
    }
    
    .timeline-date {
        left: 20px;
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .job-salary {
        align-self: flex-start;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }
    
    .culture-grid,
    .team-grid,
    .services-detail-grid,
    .projects-detail-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 20px;
    }
}

/* ============================================
   动画效果
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
