/* 关于本人页面样式 - 个人简历风格 */

/* 主内容区 */
.main-content {
    background-color: #f8f9fa;
    min-height: calc(100vh - 200px);
}

/* 个人简介头部 */
.profile-header {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.profile-header h1 {
    color: #2c3e50;
    font-weight: 700;
}

.profile-header .lead {
    color: #6c757d;
    font-size: 1.1rem;
}

.profile-header .text-primary {
    font-weight: 500;
    font-size: 1rem;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #007bff !important;
    transform: translateY(-2px);
}

/* 简历板块 */
.resume-section {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.resume-section:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.section-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.3rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e9ecef;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 1rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #007bff;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #007bff;
}

.timeline-content {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.timeline-content:hover {
    border-left-color: #007bff;
    transform: translateX(5px);
}

.timeline-title {
    color: #2c3e50;
    font-weight: 600;
}

.timeline-date {
    font-size: 0.9rem;
}

.timeline-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 资质和证书 */
.qualification-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qualification-item {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.qualification-item:hover {
    border-left-color: #007bff;
    transform: translateX(5px);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.skill-item {
    transition: all 0.3s ease;
    text-align: center;
    border-left: 3px solid transparent;
}

.skill-item:hover {
    border-left-color: #007bff;
    transform: translateY(-2px);
}

/* 技术栈 */
.tech-stack {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.tech-category {
    margin-bottom: 1rem;
}

.tech-category h3 {
    color: #495057;
    font-weight: 600;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .profile-header {
        padding: 1.5rem;
    }
    
    .profile-header h1 {
        font-size: 1.8rem;
    }
    
    .resume-section {
        padding: 1rem;
    }
    
    .timeline::before {
        left: 0.5rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links a {
        margin-bottom: 0.5rem;
    }
}