/* 工作经历详情页样式 */
.experience-detail {
    padding-top: 40px;
}

.detail-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.detail-header {
    display: flex;
    align-items: center;
    padding: 30px;
    background-color: var(--light-color);
    border-bottom: 1px solid #eee;
}

.detail-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-right: 25px;
    flex-shrink: 0;
}

.detail-intro h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.detail-period {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
}

.detail-content {
    padding: 30px;
}

.detail-content h3 {
    margin: 25px 0 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.detail-content h3:first-child {
    margin-top: 0;
}

.detail-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

/* 列表样式 */
.detail-list {
    list-style: none;
    margin: 20px 0;
}

.detail-list li {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.list-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
    padding-top: 2px;
}

.list-text {
    flex: 1;
}

/* 卡片样式 */
.detail-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.detail-card {
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.detail-card h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Card Link Styles */
.card-link {
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.detail-card:hover .card-link {
    transform: translateX(5px);
}

.card-link i {
    transition: transform 0.3s ease;
}

.detail-card:hover .card-link i {
    transform: translateX(3px);
}

/* 统计数据样式 */
.detail-stats {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-title {
    color: var(--text-color);
    font-size: 1rem;
}

/* 引用样式 */
.detail-quote {
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

.detail-quote p {
    margin: 0;
}

/* 页脚样式 */
.detail-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.back-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    transition: var(--transition);
}

.back-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-btn i {
    margin-right: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .detail-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .detail-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .detail-content {
        padding: 20px;
    }
    
    .detail-intro h2 {
        font-size: 1.5rem;
    }
    
    .detail-content h3 {
        font-size: 1.2rem;
    }
}

/* Project Showcase Styles */
.project-showcase {
    margin: 2rem 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.showcase-item {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.showcase-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-overlay h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.showcase-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-item img {
        height: 200px;
    }
}

/* Course Showcase Styles */
.course-showcase {
    margin: 2rem 0;
}

.course-showcase .showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.course-showcase .showcase-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-showcase .showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.course-showcase .showcase-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.course-showcase .showcase-item:hover img {
    transform: scale(1.05);
}

.course-showcase .showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.course-showcase .showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.course-showcase .showcase-overlay h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.course-showcase .showcase-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .course-showcase .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .course-showcase .showcase-item img {
        height: 250px;
    }
} 