/* CV页面专用样式 - 低调朴素风格 */

/* CV页面布局 */
.cv-section {
    padding: 40px 0;
    background: #ffffff;
}

.cv-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
}

/* 左侧个人信息侧边栏 */
.cv-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.cv-profile {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
}

.profile-image {
    text-align: center;
    margin-bottom: 20px;
}

.profile-image img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.cv-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: #111827;
    text-align: center;
    margin-bottom: 8px;
}

.cv-title {
    font-size: 1rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 500;
}

.cv-details {
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 0.9rem;
    color: #111827;
    font-weight: 500;
}

.cv-contact {
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.contact-icon {
    font-size: 1rem;
    color: #6b7280;
}

.contact-value {
    font-size: 0.9rem;
    color: #111827;
    font-weight: 500;
}

/* 右侧详细内容 */
.cv-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cv-block {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
}

.block-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

/* 个人优势 */
.advantage-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
    text-align: justify;
}

/* 技术栈 - 简洁设计 */
.tech-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.tech-category {
    padding: 0;
    background: none;
    border: none;
}

.tech-title {
    font-size: 0.95rem;
    color: #111827;
    margin-bottom: 15px;
    font-weight: 600;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

/* 工作经历 */
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.experience-item {
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #d1d5db;
}

.experience-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.company-name {
    font-size: 1rem;
    color: #111827;
    font-weight: 600;
    flex: 1;
    min-width: 200px;
}

.position {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

.duration {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

.experience-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 15px;
}

.achievements h4 {
    font-size: 0.9rem;
    color: #111827;
    margin-bottom: 10px;
    font-weight: 600;
}

.achievements ul {
    list-style: none;
    padding-left: 0;
}

.achievements li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #6b7280;
}

.achievements li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #6b7280;
    font-weight: bold;
}

/* 教育背景 */
.education-item {
    text-align: center;
    padding: 20px;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.school-name {
    font-size: 1rem;
    color: #111827;
    margin-bottom: 10px;
    font-weight: 600;
}

.degree {
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 10px;
    font-weight: 500;
}

.achievement {
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
}

/* 资格证书 */
.certificates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.certificate {
    background: #f3f4f6;
    color: #374151;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

/* 专业技能 */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-category {
    background: #f9fafb;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.skill-category h3 {
    font-size: 0.9rem;
    color: #111827;
    margin-bottom: 12px;
    font-weight: 600;
}

.skill-category p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #6b7280;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cv-section .container {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .cv-sidebar {
        position: static;
        order: 2;
    }
    
    .cv-content {
        order: 1;
    }
    
    .cv-profile {
        padding: 20px;
    }
    
    .profile-image img {
        width: 120px;
        height: 120px;
    }
    
    .cv-name {
        font-size: 1.5rem;
    }
    
    .cv-title {
        font-size: 0.9rem;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .company-name {
        min-width: auto;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .cv-block {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .cv-section {
        padding: 20px 0;
    }
    
    .cv-section .container {
        padding: 0 15px;
        gap: 20px;
    }
    
    .cv-block {
        padding: 15px;
    }
    
    .block-title {
        font-size: 1.1rem;
    }
    
    .tech-category,
    .experience-item,
    .skill-category {
        padding: 15px;
    }
    
    .detail-item,
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .certificate {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
} 