/* 关于我部分样式 */
.about {
    padding: 6rem 0;
    background: var(--background-color);
    position: relative;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-header {
    margin-bottom: 2.5rem;
    text-align: left;
}

.about-header .greeting {
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.about-header .name {
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    padding-left: 0.2rem;
}

.about-header .wave {
    font-size: 2.8rem;
    animation: wave 2s infinite;
    transform-origin: 70% 70%;
    display: inline-block;
}

.about-meta {
    margin-top: 1.5rem;
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 500;
    padding-left: 0.2rem;
}

.salary-counter {
    display: inline-block;
    min-width: 4ch;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 3rem;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    padding: 0 0.2rem;
    margin-bottom: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
}

.about-section {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-image {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    flex: 1;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.education-section {
    margin-top: 2rem;
}

.education-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.education-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.degree-type {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--background-color);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 8px;
}

.degree-info {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.education-year {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
        margin-bottom: 2rem;
    }

    .about-header .greeting {
        justify-content: center;
        font-size: 2.2rem;
    }

    .about-meta {
        font-size: 1rem;
    }

    .about-description {
        font-size: 0.95rem;
    }

    .education-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .degree-type {
        margin-right: 0;
        margin-bottom: 0.8rem;
    }
}
