/* 关于我页面主体样式 */
.about-container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 2rem;
}

/* 侧边个人信息卡片 */
.profile-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: sticky;
    top: 3rem;
    height: fit-content;
}

.profile-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid white;
    margin: 0 auto 1rem;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1rem;
    opacity: 0.9;
}

.profile-body {
    padding: 1.5rem;
}

.profile-info {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #555;
}

.info-item i {
    color: #3498db;
    width: 20px;
    margin-right: 1rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(52, 152, 219, 0.3);
}

/* 主内容区域 */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #f0f0f0;
    position: relative;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: #3498db;
}

/* 关于我简介 */
.intro-text {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* 技能模块 */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.skill-item {
    margin-bottom: 1rem;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 4px;
    width: 0;
    transition: width 1s ease;
}

/* 经历模块 */
.timeline {
    position: relative;
    margin-top: 1rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #f0f0f0;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3498db;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #e3f2fd;
}

.timeline-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-title {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    color: #555;
    line-height: 1.7;
}

/* 兴趣爱好 */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.hobby-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hobby-item:hover {
    background: #e3f2fd;
    transform: translateY(-3px);
}

.hobby-item i {
    font-size: 1.8rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.hobby-name {
    color: #555;
    font-weight: 500;
}

/* 页脚（与原页面一致） */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .profile-card {
        position: static;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .content-card {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.4rem;
    }

    .hobbies-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}