/* 技能特长页面样式 */
.skills-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

/* 技能分类导航 */
.skills-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.skills-nav button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    background-color: #f0f0f0;
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skills-nav button:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.skills-nav button.active {
    background-color: #00a8ff;
    color: #fff;
}

/* 技能展示网格 */
.skills-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.skill-category h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #00a8ff;
    padding-bottom: 0.5rem;
}

.skill-items {
    display: grid;
    gap: 1.5rem;
}

.skill-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.skill-header h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin: 0;
}

.skill-level {
    color: #00a8ff;
    font-weight: bold;
}

.skill-bar {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.skill-progress {
    height: 100%;
    background-color: #00a8ff;
    border-radius: 4px;
    transition: width 1s ease;
}

.skill-details {
    color: #666;
    font-size: 0.9rem;
}

.skill-details p {
    margin: 0.3rem 0;
}

/* 技能提升计划 */
.skills-plan {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.skills-plan h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.plan-item:hover {
    transform: translateY(-5px);
}

.plan-item h3 {
    color: #00a8ff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.plan-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-item li {
    color: #666;
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.plan-item li::before {
    content: "•";
    color: #00a8ff;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* 动画效果 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-category:nth-child(1) { animation-delay: 0.1s; }
.skill-category:nth-child(2) { animation-delay: 0.2s; }
.skill-category:nth-child(3) { animation-delay: 0.3s; }

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .skills-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .skills-nav button {
        width: 100%;
    }

    .skill-items {
        grid-template-columns: 1fr;
    }

    .plan-grid {
        grid-template-columns: 1fr;
    }

    .skill-header h3 {
        font-size: 1.1rem;
    }

    .skills-plan h2 {
        font-size: 1.5rem;
    }
}

/* 技能图标 */
.skill-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
}

/* 技能标签 */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-tag {
    background-color: #e8f4ff;
    color: #0066cc;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* 悬停效果 */
.skill-item:hover .skill-progress {
    background-color: #0088cc;
} 