/* ============================================================
   coaches.css — 教練團隊頁面專屬樣式
   依賴：main.css
   ============================================================ */

/* ============================================================
   Coach Intro Section
   ============================================================ */
.coach-intro {
    padding: 100px 20px;
    background: #fff;
}

.coach-intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.coach-intro-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.coach-intro-content h2 span { color: var(--secondary-color); }

.coach-intro-content p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.coach-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.coach-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.coach-feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.coach-feature-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.coach-intro-image {
    position: relative;
}

.coach-intro-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.coach-intro-image::before {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 100%; height: 100%;
    border: 5px solid var(--secondary-color);
    border-radius: 20px;
    z-index: -1;
}

.trophy-badge {
    position: absolute;
    bottom: -25px; left: -25px;
    background: var(--gradient-1);
    color: #fff;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(26, 95, 122, 0.3);
}

.trophy-badge i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

/* ============================================================
   Coaches Team Grid
   ============================================================ */
.coaches-team {
    padding: 100px 20px;
    background: var(--light-color);
}

.coaches-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.coach-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
}

.coach-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.coach-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 5px;
    background: var(--gradient-2);
}

.coach-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

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

.coach-image .overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.coach-image .position {
    display: inline-block;
    background: var(--gradient-2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.coach-info { padding: 25px; }

.coach-info h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.coach-info .title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    display: block;
}

.coach-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.coach-qualifications {
    list-style: none;
    margin-bottom: 20px;
}

.coach-qualifications li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.coach-qualifications li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.coach-social { display: flex; gap: 10px; }

.coach-social a {
    width: 38px; height: 38px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.coach-social a:hover {
    background: var(--gradient-1);
    color: #fff;
    transform: translateY(-3px);
}

/* ============================================================
   Coach Awards（卡片內獎項）
   ============================================================ */
.coach-awards {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.coach-awards h4 {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.coach-awards ul { list-style: none; padding: 0; margin: 0; }

.coach-awards ul li {
    font-size: 0.85rem;
    color: #666;
    padding: 3px 0 3px 15px;
    position: relative;
}

.coach-awards ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* ============================================================
   Teaching Philosophy
   ============================================================ */
.teaching-philosophy {
    padding: 100px 20px;
    background: #fff;
}

.philosophy-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.philosophy-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--light-color);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 0;
    background: var(--gradient-1);
    transition: height 0.4s ease;
    z-index: 0;
}

.philosophy-card:hover::before { height: 100%; }
.philosophy-card:hover { transform: translateY(-10px); }
.philosophy-card:hover * { color: #fff !important; position: relative; z-index: 1; }

.philosophy-card .icon {
    width: 80px; height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.philosophy-card:hover .icon { background: rgba(255,255,255,0.2); }

.philosophy-card .icon i { font-size: 2rem; color: #fff; }

.philosophy-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.philosophy-card p { color: #666; font-size: 0.95rem; }

/* ============================================================
   Awards Section（教練頁版）
   ============================================================ */
.awards-section {
    padding: 100px 20px;
    background: var(--gradient-1);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.awards-section::before {
    content: '🏆';
    position: absolute;
    font-size: 400px;
    opacity: 0.05;
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
}

.awards-section .section-title h2 { color: #fff; }
.awards-section .section-title h2::after { background: var(--accent-color); }
.awards-section .section-title p { color: rgba(255,255,255,0.9); }

.awards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.award-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.award-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-10px);
}

.award-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.award-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.award-card p { opacity: 0.9; font-size: 0.95rem; }

/* ============================================================
   CTA Section（教練頁版）
   ============================================================ */
.cta-section {
    padding: 100px 20px;
    background: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .coaches-grid { grid-template-columns: repeat(2, 1fr); }
    .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
    .awards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .coach-intro-container { grid-template-columns: 1fr; gap: 60px; }
    .coach-intro-image { order: -1; }
}

@media (max-width: 768px) {
    .coaches-grid { grid-template-columns: 1fr; }
    .philosophy-grid { grid-template-columns: 1fr; }
    .awards-grid { grid-template-columns: 1fr; }
    .coach-features { grid-template-columns: 1fr; }
    .trophy-badge { position: relative; bottom: auto; left: auto; margin-top: 20px; }
    .coach-intro-content h2 { font-size: 1.8rem; }
}
