 /* 全局樣式 */
:root {
    --primary-color: #4D8061; /* 竹葉綠 */
    --light-color: #F2F2F2; /* 淺灰色 */
    --dark-color: #333333; /* 深灰色 */
    --light-text: #666666;
    --accent-color: #D4AF37; /* 金色點綴 */
}
body {
    background-color: var(--light-color);
    color: var(--dark-color);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans TC', sans-serif;
}
/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 頁面標題 */
.page-title {
    text-align: center;
    margin: 30px 0;
    position: relative;
 }
 
 
 .page-title h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 600;
 }
 
 
 .page-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto;
 }
 
 
 .subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--light-text);
 }
 

/* 創辦人區塊 */
.founder-section {
    margin-bottom: 60px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.founder-title {
    color: #2e7d32;
    font-size: 1.8rem;
    border-bottom: 2px solid #78b182;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.founder-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.founder-image {
    flex: 0 0 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.founder-image img {
    width: 100%;
    height: auto;
    display: block;
}

.founder-bio {
    flex: 1;
    min-width: 300px;
}

.founder-bio h3 {
    color: #2e7d32;
    margin-top: 0;
    font-size: 1.5rem;
}

.founder-bio p {
    margin-bottom: 15px;
}

/* 教師團隊區塊 */
.team-section {
    margin-bottom: 60px;
}

.team-title {
    color: #2e7d32;
    font-size: 1.8rem;
    border-bottom: 2px solid #78b182;
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.teacher-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.teacher-image {
    height: 280px;
    overflow: hidden;
}

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

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

.teacher-info {
    padding: 20px;
}

.teacher-info h3 {
    color: #2e7d32;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.teacher-specialty {
    font-weight: bold;
    color: #555;
    margin-bottom: 15px;
    font-size: 1rem;
}

.teacher-bio {
    font-size: 0.95rem;
    color: #666;
}

/* 教師詳細介紹區塊 */
.teacher-details {
    margin-top: 50px;
}

.detail-title {
    color: #2e7d32;
    font-size: 1.6rem;
    border-bottom: 2px solid #78b182;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.detail-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.detail-card h3 {
    color: #2e7d32;
    margin-top: 0;
    font-size: 1.4rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.detail-card h4 {
    color: #555;
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.detail-card p {
    margin-bottom: 15px;
}

.detail-card ul {
    padding-left: 20px;
}

.detail-card ul li {
    margin-bottom: 5px;
}

/* 响應式設計 */
@media (max-width: 768px) {
    .founder-content {
        flex-direction: column;
    }
    
    .founder-image {
        flex: 0 0 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    

    
    .founder-title,
    .team-title,
    .detail-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {

    
    .founder-section,
    .detail-card {
        padding: 20px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}