/* 图标颜色 */
:root {
    /* 核心任务 */
    --card-survey: #2c7be5;
    --card-promotion: #00d97e;
    --card-development: #f6c343;
    /* 实践成果 */
    --card-research: #e74c3c;
    --card-painting: #9b59b6;
}

.color-survey { color: var(--card-survey); }
.color-promotion { color: var(--card-promotion); }
.color-development { color: var(--card-development); }
.color-research { color: var(--card-research); }
.color-painting { color: var(--card-painting); }

.content-container {
    padding: 0 6rem !important;
    padding-top: 80px !important;
}

/* 卡片样式 */
.team-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background: white;
    border: none;
    margin-bottom: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-header {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.team-header:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.team-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
}

.team-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.team-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* 卡片主体 */
.team-body {
    padding: 2rem;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 1.5rem 0 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.stat-number:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 3px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--secondary);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* 信息部分 */
.info-section {
    background: linear-gradient(120deg, #e5fafa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-left: 4px solid var(--primary);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-title {
    font-size: 1.6rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), #1a6ca6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.info-content {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    margin-left: 6rem;
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.team-badge {
    background: linear-gradient(135deg, var(--primary), #1a6ca6);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 实践任务板块 */
.section-header {
    margin-bottom: 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.header-line {
    height: 2px;
    background: var(--primary);
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2.2rem;
    font-weight: 700;
}

.section-sub {
    color: var(--secondary);
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

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

.task-card {
    text-align: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: #ffffff;
}

.task-content-title {
    font-size: 1.5rem;
    color: var(--card-primary);
}

.task-en {
    display: block;
    color: var(--card-secondary);
    font-size: 0.7rem;
    letter-spacing: 0.3rem;
    margin-bottom: 1rem;
}

.task-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/* 实践成果板块 */
.achievement-item {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    margin-bottom: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.achievement-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.achievement-type-container {
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

.achievement-type {
    width: 10rem;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 0.3rem;
    text-align: center;
}

.achievement-en {
    font-size: 1rem;
    font-weight: 500;
    margin-left: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.achievement-count {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    margin-left: auto;
}

.achievement-desc {
    color: #555;
    line-height: 1.7;
    margin: 0;
    white-space: pre-wrap;
    font-size: 1rem;
}

/* 行程卡片容器 */
.trip-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.trip-card {
    display: flex;
    flex-direction: column;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.image-container {
    height: 200px;
    overflow: hidden;
}

.trip-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.trip-content-container {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.trip-title {
    height: 50px;
    font-size: 1.25rem;
    color: #2c3e50;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 最多显示2行 */
    -webkit-box-orient: vertical;
}

.trip-description {
    flex: 1;
    color: #7f8c8d;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2rem;
}

.trip-time {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: #95a5a6;
    font-size: 0.9em;
}

.trip-time i {
    margin-right: 0.5rem;
}

/* 悬停效果 */
.trip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.trip-card:hover .trip-image {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .team-name {
        font-size: 1.8rem;
    }

    .info-section {
        grid-template-columns: 1fr; /* 移动端单列 */
        gap: 1rem;
    }
    
    .stats-container {
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .badge-container {
        flex-direction: column;
        align-items: center;
    }

    .trip-card {
        flex-direction: column;
    }
    
    .image-container {
        flex: 0 0 200px;
        width: 100%;
    }
}