:root {
    --white: #ffffff;
    --ultra-light-pink: #fffafa; /* 極淺粉，幾乎接近白 */
    --soft-pink: #fff0f3;       /* 輔助淺粉 */
    --accent-pink: #ffb7c5;     /* 主要強調粉色 */
    --text-dark: #2d3436;
    --text-gray: #636e72;
    --border-light: #f1f2f6;
    --shadow: 0 15px 35px rgba(0,0,0,0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    padding-top: 80px; 
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Banner 樣式 */
.main-banner {
    position: relative;
    height: 80vh; /* 高度佔螢幕的 80% */
    min-height: 500px;
    overflow: hidden;
    background-color: #eee;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 確保圖片不變形填滿 */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
}

.banner-content {
    max-width: 600px;
}

.banner-tag {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-pink);
    border-bottom: 2px solid var(--accent-pink);
    padding-bottom: 5px;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin: 20px 0;
    line-height: 1.2;
}

.banner-content h1 .thin {
    font-weight: 300;
}

.banner-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 35px;
}

/* 按鈕樣式 */
.btn {
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
    display: inline-block;
}

.btn-main {
    background-color: var(--text-dark);
    color: var(--white);
}

.btn-main:hover {
    background-color: var(--accent-pink);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--text-dark);
    margin-left: 20px;
}

.btn-link:hover {
    color: var(--accent-pink);
}

/* 功能導覽卡片 */
.quick-nav {
    padding: 80px 0;
    background-color: var(--white);
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -140px; /* 讓卡片往上浮在 Banner 邊緣 */
    position: relative;
    z-index: 10;
}

.nav-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--accent-pink);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.nav-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.nav-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* RWD */
@media (max-width: 768px) {
    .nav-grid { grid-template-columns: 1fr; margin-top: 20px; }
    .banner-content h1 { font-size: 2.5rem; }
    .banner-overlay { background: rgba(255,255,255,0.85); }
}
/* --- Header 核心樣式 --- */
.main-header {
    position: fixed; /* 固定在頂部 */
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85); /* 半透明白 */
    backdrop-filter: blur(15px); /* 磨砂玻璃效果 */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 183, 197, 0.2); /* 極淺粉色邊框 */
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* 導覽列高度 */
    padding: 0 24px;
}

/* Logo 樣式 */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo img {
    height: 45px; /* 根據 Logo 比例調整 */
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.univ-name {
    font-size: 0.85rem;
    color: var(--text-gray);
    letter-spacing: 1px;
}

.committee-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* 選單樣式 */
.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

/* 滑過時的粉色線條動畫 */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-pink);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: var(--accent-pink);
}

.nav-item:hover::after {
    width: 100%;
}

.icon-sm {
    font-size: 0.7rem;
    margin-left: 4px;
    vertical-align: middle;
}

/* 手機版 Toggle (暫時隱藏，若要做 RWD 再開啟) */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* 針對 Banner 版本，如果希望 Banner 穿透 Header 效果：
   可以將 body 的 padding-top 去掉，並讓 Banner 的高度包含 Header。
*/