:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --background-color: #f5f6fa;
    --card-background: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

header {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav a:hover {
    background: rgba(255,255,255,0.1);
}

section {
    padding: 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#hero {
    text-align: center;
    padding: 8rem 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
                url('images/vincent.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.5;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#hero h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.social-links {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    width: 80px;
}

.social-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link:hover i {
    background: white;
    color: var(--secondary-color);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
    transform: scale(1.1);
}

.social-link:hover span {
    color: var(--secondary-color);
    opacity: 1;
    transform: scale(1.05);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.project-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.education-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    section {
        padding: 2rem 1rem;
    }
} 

/* 添加淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* 添加渐变背景 */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* 更新导航栏样式 */
header {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav a {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav a:hover {
    background: rgba(255,255,255,0.1);
} 

.project-description {
    margin: 1rem 0;
    color: #666;
    line-height: 1.6;
}

.project-features {
    list-style: none;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.project-features li {
    position: relative;
    margin-bottom: 0.5rem;
    color: #555;
}

.project-features li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.project-link i {
    font-size: 1.1rem;
} 

/* 成就部分的样式 */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.achievement-icon {
    margin-bottom: 1.5rem;
    background: var(--secondary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
}

.achievement-icon i {
    font-size: 1.5rem;
}

.achievement-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.achievement-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.achievement-year {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.achievement-content p:last-child {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: auto;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-card {
        padding: 1.25rem;
    }
} 

/* Programming Experience 部分样式 */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.experience-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.experience-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.experience-card h3 i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    background: rgba(52, 152, 219, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
}

.experience-list {
    list-style: none;
    padding-left: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.experience-list > li {
    margin-bottom: 1.2rem;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.experience-list ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 0.8rem;
    margin-bottom: 1rem;
}

.experience-list ul li {
    position: relative;
    margin-bottom: 0.8rem;
    color: #666;
    font-size: 0.95rem;
}

.experience-list ul li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
}

.experience-card:hover h3 i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .experience-card {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .experience-card h3 {
        font-size: 1.3rem;
    }
} 

/* 响应式调整 */
@media (max-width: 480px) {
    .social-links {
        gap: 2rem;
    }

    .social-link {
        width: 70px;
    }

    .social-link i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .social-link span {
        font-size: 0.8rem;
    }
} 

/* 添加教育部分的新样式 */
.education-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.education-content {
    flex: 1;
}

.institution-logo {
    flex-shrink: 0;
    margin-left: 2rem;
    width: 100px;  /* 调整logo大小 */
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.institution-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.institution-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .education-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .institution-logo {
        margin-left: 0;
        margin-top: 1rem;
        width: 80px;
        height: 80px;
    }

    .education-content {
        width: 100%;
    }
} 