/* 关于页面样式 */

.about-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    direction: rtl;
}

.about-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.about-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.about-intro {
    text-align: center;
    margin: 40px 0;
}

.about-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f0f0f0;
    margin: 0 auto 20px;
    display: block;
}

.about-summary {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
}

.about-body {
    margin-top: 30px;
}

.about-section {
    margin: 30px 0;
}

.about-section h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.about-section h3:after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 50px;
    height: 2px;
    background: #007bff;
}

.about-section p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.about-section ul {
    padding-left: 25px;
    margin: 15px 0;
}

.about-section li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #666;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.skill-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: #007bff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.skill-item:hover .skill-name {
    color: white;
}

.skill-name {
    font-weight: 600;
    color: #333;
    display: block;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9f4ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 18px;
}

.contact-text {
    color: #555;
    font-size: 15px;
}

.contact-text a {
    color: #007bff;
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-content {
        padding: 25px 20px;
    }
    
    .about-title {
        font-size: 28px;
    }
    
    .about-avatar {
        width: 120px;
        height: 120px;
    }
    
    .skills-list {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}