:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #1a1a1a;
}

/* 全局樣式 */
body {
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
    line-height: 1.6;
    padding-top: 76px; /* 為固定導航欄留出空間 */
}

/* 導航欄樣式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-height: 40px;
}

/* Hero 區塊樣式 */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* 卡片樣式 */
.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* 課程和活動卡片 */
.course-card, .event-card {
    height: 100%;
}

.card-body {
    padding: 1.5rem;
}

/* 導師卡片 */
.instructor-card img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto;
}

/* 區塊標題 */
.section-title {
    font-weight: bold;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* 按鈕樣式 */
.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* 頁尾樣式 */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: white;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.footer p {
    color: rgba(255,255,255,0.8);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* 響應式調整 */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .card-img-top {
        height: 180px;
    }
}

/* 動畫效果 */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
} 