/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&display=swap');

:root {
    --midnight: #040b2a;
    --sky: #0ea5e9;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: var(--midnight);
    color: #f8fafc;
    scroll-behavior: smooth;
}

.glass {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
    font-weight: 900;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--sky);
    border-radius: 2px;
}

.nav-link {
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 600;
    color: #94a3b8;
}

.nav-link:hover {
    color: var(--sky);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.4);
    background: rgba(30, 41, 59, 0.5);
}

/* --- 手機選單專用樣式 --- */



/* style.css */

/* 1. 初始狀態：徹底隱藏，不佔空間，不擋點擊 */
#mobile-menu {
    display: none !important;      /* 關鍵：沒開啟時完全消失 */
    position: fixed !important;
    inset: 0 !important;
    background-color: #040b2a !important; /* 強制純深藍色，100% 不透明 */
    z-index: 9999 !important;     /* 確保在所有內容最前方 */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

/* 2. 當有 active 類別時，強制顯示 */
#mobile-menu.active {
    display: flex !important;     
}

/* 3. 手機連結樣式 */
.mobile-link {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: white !important;
    text-decoration: none !important;
}
