/* 修改基础配色为活力蓝色系列 */
:root {
    /* 主色调：活力蓝 */
    --primary-color: #2196F3;      
    /* 次要色调：天空蓝 */
    --secondary-color: #64B5F6;    
    /* 强调色：深蓝色 */
    --accent-color: #1976D2;       
    /* 背景色：清新米白 */
    --bg-color: #FAFBFC;          
    /* 文字颜色：深灰蓝 */
    --text-color: #2C3E50;        
    /* 浅色调：淡蓝色 */
    --light-blue: rgba(232, 240, 253, 0.8);  
    /* 深色调：海军蓝 */
    --dark-blue: #1565C0;         
    
    /* 渐变色变量 */
    --gradient-start: #2196F3;
    --gradient-middle: #64B5F6;
    --gradient-end: #90CAF9;
    
    /* 阴影变量 */
    --shadow-sm: 0 2px 8px rgba(33, 150, 243, 0.1);
    --shadow-md: 0 5px 15px rgba(33, 150, 243, 0.15);
    --shadow-lg: 0 8px 25px rgba(33, 150, 243, 0.2);
}

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

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-brand {
    position: absolute;
    left: 2rem;
    text-align: center;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 0;
    color: var(--primary-color);
}

.nav-brand p {
    font-size: 0.8rem;
    color: var(--text-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 4px;
}

/* 保留下划线动画 */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

/* 文字颜色和位移动画 */
.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* 激活状态样式 */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* 添加进入动画 */
.nav-links li {
    opacity: 0;
    transform: translateY(-20px);
    animation: navItemFadeIn 0.5s ease forwards;
}

/* 为每个导航项设置不同的延迟 */
.nav-links li:nth-child(1) { animation-delay: 0.1s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.3s; }
.nav-links li:nth-child(4) { animation-delay: 0.4s; }
.nav-links li:nth-child(5) { animation-delay: 0.5s; }

@keyframes navItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 添加点击波纹效果 */
.nav-links a:active::before {
    background: var(--primary-color);
    opacity: 0.2;
    transition: 0s;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links a::before {
        display: none;
    }

    .nav-links a::after {
        bottom: -2px;
    }

    .nav-links a:hover {
        transform: translateX(5px);
    }
}

/* 首页主要内容区域 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: all 1.5s ease;
    animation: softZoom 20s infinite alternate;
    z-index: 0;
}

@keyframes softZoom {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* 调整遮罩层，确保文字清晰可见 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,    /* 顶部稍微透明 */
        rgba(0, 0, 0, 0.2) 50%,   /* 中间更透明 */
        rgba(0, 0, 0, 0.4) 100%   /* 底部稍微暗一些，让文字更清晰 */
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-content h1 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-content p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 1s;
}

/* 优化背景图片显示 */
.hero:hover .hero-bg {
    transform: scale(1.1); /* 减小悬停时的缩放幅度 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
}

/* 添加文字出现动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页面标题样式 */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

/* 内容卡片样式 */
.content-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95),
        rgba(232, 240, 253, 0.95)
    );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(33, 150, 243, 0.1);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    margin: 2rem 0;
    transition: transform 0.3s ease;
    border-radius: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-play-state: paused;
}

.content-card.visible {
    animation-play-state: running;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 图片画廊样式 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: white;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 页脚样式 */
footer {
    background: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
    color: var(--text-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* 动画效果 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 特色区域 */
.featured-section {
    padding: 5rem 0;
    background: #fff;
}

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

.featured-item {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-10px);
}

.featured-item i {
    font-size: 2.5rem;
    color: #3949ab;
    margin-bottom: 1rem;
}

/* 页面过渡动画 */
.page-transition {
    animation: pageTransition 0.5s ease;
}

@keyframes pageTransition {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        padding: 1rem;
        background: white;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        width: 100%;
        margin-top: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

.header {
    text-align: center;
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-bottom: 25px;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #1a237e;
}

.subtitle {
    color: #546e7a;
    font-size: 1.2em;
    margin-top: 15px;
}

section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
}

h2 {
    color: #1a237e;
    margin-bottom: 30px;
    font-size: 1.8em;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-blue), var(--primary-color));
    border-radius: 2px;
}

.skills-grid, .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.skill-item, .project-item {
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.skill-item:hover, .project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 191, 165, 0.15);
}

.skill-item h3, .project-item h3 {
    color: #3949ab;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.contact-info {
    text-align: center;
}

.contact-info p {
    margin: 15px 0;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info p:hover {
    color: #3949ab;
    transform: scale(1.02);
}

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

.container > * {
    animation: fadeIn 0.8s ease-out forwards;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    section {
        padding: 25px;
    }
    
    .skills-grid, .project-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .profile-img {
        width: 150px;
        height: 150px;
    }
}

/* 关于我部分的照片展示 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.photo-gallery {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.gallery-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

/* 获奖经历页面特定样式优化 */
.achievement-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
    position: relative;
    overflow: hidden;
    padding: 180px 0 100px;
}

.achievement-header h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease;
}

.achievement-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

/* 时间线样式优化 */
.timeline {
    position: relative;
    padding: 4rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(
        to bottom,
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color)
    );
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.3);
}

.timeline-item {
    margin-bottom: 5rem;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid white;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 0 5px rgba(33, 150, 243, 0.2);
    background: var(--accent-color);
}

.timeline-content {
    width: calc(50% - 50px);
    padding: 0 2.5rem;
    position: relative;
}

.timeline-date {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.3s;
}

/* 奖项卡片样式优化 */
.achievement-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.achievement-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.achievement-card.highlight {
    background: linear-gradient(135deg, #fff 0%, var(--light-blue) 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
}

.achievement-card.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.achievement-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.achievement-card:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
}

.achievement-card h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-weight: 600;
}

.achievement-card .award-level {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0.8rem 0;
    font-size: 1.1rem;
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 20px;
}

.achievement-details {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.achievement-details p {
    margin: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 动画效果优化 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.timeline-item:nth-child(1) { animation-delay: 0.3s; }
.timeline-item:nth-child(2) { animation-delay: 0.6s; }
.timeline-item:nth-child(3) { animation-delay: 0.9s; }

/* 响应式布局优化 */
@media (max-width: 992px) {
    .achievement-header {
        padding: 150px 0 80px;
    }

    .achievement-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .timeline::before {
        left: 40px;
    }

    .timeline-dot {
        left: 40px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        padding: 0 1.5rem;
    }

    .timeline-date {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .achievement-card {
        padding: 1.5rem;
    }

    .achievement-card i {
        font-size: 2rem;
    }

    .achievement-header h1 {
        font-size: 2.2rem;
    }

    .achievement-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .achievement-card {
        padding: 1.2rem;
    }

    .achievement-card h3 {
        font-size: 1.1rem;
    }

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

    .achievement-header {
        padding: 120px 0 60px;
    }
}

/* 兴趣爱好样式 */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.interest-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.interest-item:hover {
    transform: translateY(-5px);
}

.interest-item i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.interest-item h3 {
    color: #1a237e;
    margin-bottom: 10px;
}

.interest-item p {
    color: #546e7a;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievement-item {
        padding: 15px;
    }
    
    .achievement-item i {
        font-size: 1.5em;
    }
    
    .interest-item {
        padding: 20px;
    }
}

/* 项目展示页面样式 */
.project-header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: white;
    padding: 100px 0 50px;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(46, 196, 182, 0.95),
        rgba(38, 166, 154, 0.95)
    );
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay a {
    color: white;
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-overlay a:hover {
    background: white;
    color: #1a237e;
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
}

.project-tags {
    margin: 10px 0;
}

.project-tags span {
    background: linear-gradient(
        45deg,
        rgba(224, 242, 241, 0.8),
        rgba(128, 203, 196, 0.2)
    );
    border: 1px solid rgba(46, 196, 182, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    margin-right: 5px;
}

.project-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
}

/* 添加更多动画效果 */
@keyframes slideIn {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.project-card {
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* 添加渐变背景 */
.page-wrapper {
    background: linear-gradient(
        60deg,
        rgba(46, 196, 182, 0.03) 0%,
        rgba(128, 203, 196, 0.05) 50%,
        rgba(38, 166, 154, 0.03) 100%
    );
    min-height: 100vh;
}

/* 修改按钮和交互元素 */
.cta-button {
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color)
    );
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(
        45deg,
        var(--dark-blue),
        var(--primary-color)
    );
}

/* 修改滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* 添加悬停时的光晕效果 */
.skill-item:hover::after,
.project-card:hover::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        rgba(46, 196, 182, 0.2),
        rgba(128, 203, 196, 0.2)
    );
    border-radius: inherit;
    z-index: -1;
    animation: glowPulse 1.5s infinite alternate;
}

@keyframes glowPulse {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 0.8;
    }
}

/* 修改标签样式 */
.project-tags span {
    background: linear-gradient(
        45deg,
        rgba(224, 242, 241, 0.8),
        rgba(128, 203, 196, 0.2)
    );
    border: 1px solid rgba(46, 196, 182, 0.2);
}

/* 添加文字渐变效果 */
.hero-content h1 {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--gradient-start),
        var(--gradient-end)
    );
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s forwards;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    border: 3px solid var(--light-blue);
}

.timeline-content {
    width: calc(50% - 50px);
    padding: 20px;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-date {
    font-size: 0.9em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* 相册样式 */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.filter-btn.active::after,
.filter-btn:hover::after {
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.5s forwards;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8),
        transparent
    );
    padding: 20px;
    color: white;
    transition: bottom 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-dot {
        left: 30px;
    }

    .gallery-filter {
        flex-wrap: wrap;
    }

    .filter-btn {
        font-size: 0.9em;
        padding: 6px 15px;
    }
}

/* 新增动画 */
@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 添加页面切换动画 */
.page-transition {
    animation: pageTransition 0.5s ease-out;
}

@keyframes pageTransition {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundShift {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 0.8;
    }
}

/* 添加卡片悬停特效 */
.gallery-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        var(--gradient-start),
        var(--gradient-end)
    );
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* 基本信息页面样式 */
.about-section {
    padding: 2rem 0;
}

.profile-card {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95),
        rgba(232, 240, 253, 0.95)
    );
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.profile-image {
    width: 200px;
    height: 260px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 4px solid white;
    position: relative;
    overflow: hidden;
}

/* 添加悬停效果 */
.profile-image:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.profile-info {
    flex: 1;
}

.profile-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-list {
    margin-top: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 教育背景样式 */
.education-section {
    margin: 2rem 0;
}

.education-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-top: 1rem;
}

.education-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* 技能条样式 */
.skill-level {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    margin-top: 0.5rem;
}

.skill-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 1s ease;
}

/* 兴趣爱好样式 */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.interest-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.interest-item:hover {
    transform: translateY(-5px);
}

.interest-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

    .profile-image {
        width: 180px;
        height: 234px;
        margin-bottom: 1.5rem;
    }

    .info-item {
        justify-content: center;
    }
}

/* 修改技能证书样式 */
.certificate-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.certificate-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.certificate-item h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.certificate-item p {
    color: #666;
    font-size: 0.9rem;
}

/* 添加证书卡片悬停效果 */
.certificate-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--primary-color),
        var(--secondary-color)
    );
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.certificate-item:hover::before {
    transform: scaleX(1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .certificate-item {
        padding: 1.5rem;
    }
}

/* 添加鼠标悬停光效 */
.hero-content h1:hover {
    animation: glowText 1.5s infinite alternate;
}

@keyframes glowText {
    from {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    to {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(255, 255, 255, 0.5);
    }
}

/* 滚动提示动画 */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeInBounce 1s forwards 1.5s, bounce 2s infinite 2.5s;
}

@keyframes fadeInBounce {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -10px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}

.award-link {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.award-link:hover {
    color: var(--primary-color);
}

.award-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.award-link:hover::after {
    width: 100%;
}

/* 添加外部链接图标 */
.award-link::before {
    content: '\f35d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8em;
    margin-left: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.award-link:hover::before {
    opacity: 1;
}

.chat-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px; /* 如果需要，可以移除或调整 */
    color: var(--primary-color); /* 如果需要，可以移除 */
    transition: all 0.3s ease; /* 如果需要，可以移除 */
    width: 40px;  {{! 添加图片宽度 }}
    height: 40px; {{! 添加图片高度 }}
    border-radius: 50%; {{! 添加圆形边框 }}
} 