/* 课程展示部分样式 */
.course-showcase {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

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

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

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

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

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

.course-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #E1251B;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.course-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.course-desc {
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.course-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.feature-icon {
    color: #E1251B;
}

/* 教师团队样式 */
.teacher-team {
    padding: 4rem 0;
}

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

.teacher-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.teacher-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.teacher-title {
    color: #E1251B;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.teacher-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 课程安排样式 */
.course-schedule {
    padding: 4rem 0;
    background: #f8f9fa;
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.schedule-tab {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.schedule-tab.active {
    background: #E1251B;
    color: white;
}

.schedule-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.schedule-table th {
    color: #2c3e50;
    font-weight: 600;
}

.schedule-table td {
    color: #666;
}

/* 学员风采样式 */
.student-showcase {
    padding: 4rem 0;
}

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

.showcase-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.showcase-image {
    width: 100%;
    height: 100%;
}

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

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

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.showcase-overlay h3 {
    margin-bottom: 0.5rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .course-features {
        grid-template-columns: 1fr;
    }
    
    .schedule-tabs {
        flex-wrap: wrap;
    }
    
    .schedule-tab {
        width: calc(50% - 0.5rem);
        text-align: center;
    }
    
    .schedule-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .course-card,
    .teacher-card {
        margin: 0 1rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
} 