/* about.html 专用样式 */

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 关于内容区域 */
.about-section {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center; /* 垂直居中对齐 */
}

/* 统一图片容器 3:4 比例 */
.img-container {
    position: relative;
    width: 100%;
    padding-bottom: 133.33%; /* 3:4 比例 (4/3*100 = 133.33%) */
    overflow: hidden;
    border-radius: 12px; /* 圆角优化 */
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持比例裁剪 */
}

.about-text h2 {
    color: #1a237e;
    margin-bottom: 1rem;
    border-left: 5px solid #ff9800;
    padding-left: 15px;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

/* 成就展示 */
.achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 10px;
    transition: transform 0.3s;
}

.achievement:hover {
    transform: translateY(-5px);
    background: #e8f0fe;
}

.achievement i {
    font-size: 2rem;
    color: #1a237e;
}

.achievement h3 {
    font-size: 2rem;
    color: #1a237e;
    margin: 0;
}

.achievement p {
    margin: 5px 0 0;
    color: #666;
    font-size: 0.9rem;
}

/* 教练团队 */
.coaches-section {
    background: #f9f9f9;
    padding: 60px 0;
}

/* 教练网格布局优化 */
.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.coach-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%; /* 卡片高度统一 */
    display: flex;
    flex-direction: column;
}

.coach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.coach-info {
    padding: 25px;
    flex: 1; /* 内容区域自适应 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.coach-info h3 {
    margin: 0 0 5px;
    color: #1a237e;
}

.coach-title {
    color: #ff9800;
    font-weight: 600;
    margin-bottom: 10px;
}

.coach-bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.coach-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.coach-skills span {
    background: #e8f0fe;
    color: #1a237e;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 20px;
        margin-top: 60px;
    }
    .page-header h1 {
        font-size: 2.2rem;
    }
    .coaches-grid {
        grid-template-columns: 1fr;
    }
    .achievements {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .achievements {
        grid-template-columns: 1fr;
    }
    .page-header {
        padding: 40px 15px;
    }
    .about-section, .coaches-section {
        padding: 40px 0;
    }
}