/* 简历页面样式 */

/* 简历容器 */
.resume-container {
    max-width: 900px;
    margin: 120px auto 80px;
    padding: 30px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* 个人信息 */
.resume-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.resume-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.resume-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resume-info h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: 'Microsoft YaHei', sans-serif;
    color: #ffffff;
}

.resume-info p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-family: 'Microsoft YaHei', sans-serif;
}

.resume-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.resume-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
}

.resume-social {
    display: flex;
    gap: 15px;
}

.resume-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--primary-color);
    transition: var(--transition);
}

.resume-social a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

/* 简历下载按钮 */
.resume-download {
    text-align: center;
    margin-bottom: 40px;
}

.download-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.download-btn i {
    margin-right: 8px;
}

.download-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    color: var(--light-text);
}

/* 简历章节 */
.resume-section {
    margin-bottom: 40px;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.section-title i {
    margin-right: 10px;
    color: var(--accent-color);
}

.section-content {
    padding: 0 10px;
}

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

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-info h3 {
    font-size: 1rem;
    font-weight: 500;
}

.skill-info span {
    color: var(--accent-color);
    font-weight: 500;
}

.skill-bar {
    height: 10px;
    background-color: var(--light-bg);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 5px;
    transition: width 1s ease;
}

/* 时间线 */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: 15px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-color);
    z-index: 1;
}

.timeline-date {
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.timeline-position {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 10px;
}

/* 获奖列表 */
.awards-list {
    list-style: none;
    padding: 0;
}

.awards-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.award-year {
    min-width: 60px;
    font-weight: 500;
    color: var(--accent-color);
}

.award-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.award-info p {
    color: var(--secondary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .resume-container {
        padding: 20px;
        margin-top: 100px;
    }
    
    .resume-header {
        flex-direction: column;
        text-align: center;
    }
    
    .resume-contact {
        justify-content: center;
    }
    
    .resume-social {
        justify-content: center;
    }
    
    .skills-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .resume-container {
        padding: 15px;
    }
    
    .resume-avatar {
        width: 120px;
        height: 120px;
    }
    
    .resume-info h1 {
        font-size: 2rem;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .awards-list li {
        flex-direction: column;
        gap: 5px;
    }
} 