/* 基本重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft JhengHei", Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* 導航 */
nav {
    background: #002147;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d4af37;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0 15px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #d4af37;
}

/* 英雄視覺區 */
header {
    height: 60vh;
	background: url('bk.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    background: rgba(0, 33, 71, 0.7);
    padding: 2rem;
    border-radius: 10px;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* 標題 */
.section-title {
    text-align: center;
    margin: 40px 0;
    font-size: 2rem;
    position: relative;
    color: #002147;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: #d4af37;
    display: block;
    margin: 10px auto;
}

/* 宗旨 */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.img-placeholder {
    background: #f4f4f4;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    font-style: italic;
    color: #888;
}

/* 會員分頁 */
.bg-light { background: #f9f9f9; padding: 60px 0; }

.tabs {
    text-align: center;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 10px 25px;
    cursor: pointer;
    border: none;
    background: #ddd;
    font-size: 1rem;
    margin: 0 5px;
    transition: 0.3s;
}

.tab-btn.active {
    background: #002147;
    color: white;
}

.member-table-container {
    display: none;
}

.member-table-container.active {
    display: block;
}

.member-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-table th, .member-table td {
    padding: 15px;
    border: 1px solid #eee;
    text-align: left;
}

.member-table th {
    background: #002147;
    color: white;
}

.member-table tr:nth-child(even) {
    background: #f4f4f4;
}

/* 頁腳 */
footer {
    background: #111;
    color: #ccc;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-info h3 {
    color: #d4af37;
    margin-bottom: 15px;
}

.footer-copy {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    font-size: 0.8rem;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* 手機適配 */
@media (max-width: 768px) {
    .mission-grid { grid-template-columns: 1fr; }
    nav .container { flex-direction: column; }
    nav ul { margin-top: 15px; }
}