/* 重置样式和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-cid {
    background-color: #d32f2f;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 18px;
}

.logo-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #d32f2f;
}

.nav-search {
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-search:hover {
    color: #d32f2f;
}

/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 横幅区域 */
.hero-banner {
    margin: 20px 0;
}

.banner-placeholder {
    width: 100%;
    height: 200px;
    background-color: #f5f5f5;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    border-radius: 8px;
}

/* 1小时教学创新说区域 */
.innovation-talks {
    margin: 40px 0;
}

.talks-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.talk-item {
    text-align: center;
}

.talk-date {
    font-size: 18px;
    font-weight: 700;
    color: #d32f2f;
    margin-bottom: 5px;
}

.talk-time {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.talk-thumbnail {
    width: 100%;
    height: 120px;
    background-color: #f0f0f0;
    border-radius: 8px;
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
}

.talk-thumbnail.coming-soon .play-overlay {
    background-color: rgba(211, 47, 47, 0.8);
}

.talk-thumbnail.replay .play-overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.play-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.play-text {
    font-size: 12px;
}

.talk-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.talk-subtitle {
    font-size: 12px;
    color: #666;
}

/* 往期活动和简介区域 */
.activities-intro {
    margin: 60px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.activities-section {
    background-color: #fafafa;
    padding: 30px;
    border-radius: 8px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    color: #333;
}

.view-all {
    color: #d32f2f;
    text-decoration: none;
    font-size: 14px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-item {
    padding: 15px;
    background-color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.activity-item.active {
    background-color: #d32f2f;
    color: white;
}

.activity-item:hover:not(.active) {
    background-color: #f5f5f5;
}

.activity-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.activity-item.active .activity-date {
    color: rgba(255, 255, 255, 0.8);
}

.intro-section {
    background-color: white;
}

.intro-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    max-width: 100%;
}

.intro-image {
    flex-shrink: 0;
}

.image-placeholder {
    width: 300px;
    height: 200px;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    border-radius: 8px;
}

.intro-text h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.intro-text p {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #666;
}

.learn-more-btn {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #b71c1c;
}

/* 统计数据区域 */
.stats-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin: 40px 0;
}

/*.stats-container {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    gap: 80px;*/
/*}*/

.stats-container {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #d32f2f;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

/* 组织与人员区域 */
.organization-section {
    margin: 60px 0;
    padding: 40px 0;
}

.org-container {
    text-align: center;
}

.org-container h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.org-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.member-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-info {
    margin-bottom: 20px;
}

.member-dot {
    width: 8px;
    height: 8px;
    background-color: #d32f2f;
    border-radius: 50%;
    margin: 0 auto 10px;
}

.member-name {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.member-org {
    font-size: 14px;
    color: #666;
}

.member-photo {
    width: 200px;
    height: 240px;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    border-radius: 8px;
}

.view-more-members {
    color: #d32f2f;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.view-more-members:hover {
    color: #b71c1c;
}

/* 加入我们区域 */
.join-us-section {
    margin: 60px 0;
    background-color: #f8f9fa;
    padding: 40px 0;
}

.join-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.join-content {
    flex: 1;
    margin-left:30px;
}

.join-content h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.join-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.join-buttons {
    display: flex;
    gap: 20px;
}

.join-btn {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.join-btn:hover {
    background-color: #b71c1c;
}

.join-banner {
    flex: 1;
    margin-right: 20px;
}

.join-banner .banner-placeholder {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    border-radius: 8px;
}



/* 响应式设计 */
@media (max-width: 1024px) {
    .talks-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .activities-intro {
        gap: 30px;
    }
    
    .intro-content {
        flex-direction: column;
    }
    
    .image-placeholder {
        width: 100%;
        max-width: 400px;
    }
    
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .join-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav-menu {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .talks-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .join-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .talks-container {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 10px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 14px;
    }
}
