/* 1. 全域重設與變數 */
:root {
    --primary-color: #4A7C59;    /* 植物綠：代表永續與友善環境 */
    --secondary-color: #8B5A2B;  /* 木質棕：代表溫暖與家的安全感 */
    --bg-color: #FDFBF7;         /* 米白色：溫柔、舒適的背景色 */
    --text-color: #3E3A36;       /* 深炭灰：比純黑更柔和、適合閱讀 */
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth; /* 讓點擊導覽列跳轉時有平滑滾動的效果 */
    font-family: "Helvetica Neue", Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
}

body {
    padding-top: 70px; /* 留出空間給固定在頂部的導覽列 */
}

/* 2. 導覽列設計 */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

header .logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

/* 3. 主視覺區 (Hero Section) */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('https://images.unsplash.com/photo-1513694203232-719a280e022f?q=80&w=1200') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #3b6347;
    transform: translateY(-2px);
}

/* 4. 通用區塊排版 */
section {
    padding: 80px 10%;
}

section h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0 auto;
}

/* 5. 區塊特有排版 */
/* 核心理念 Grid */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.concept-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-top: 4px solid var(--primary-color);
}

.concept-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 核心好處清單 */
.benefit-list {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.benefit-list ul {
    list-style-type: none;
}

.benefit-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* 招募對象排版 */
.target-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.target-groups div {
    background-color: #EBF2EE; /* 淡綠色底，突出招募對象 */
    padding: 20px;
    border-radius: 8px;
}

/* 6. 表單設計 */
form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

form input, form select, form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1CFCB;
    border-radius: 6px;
    background-color: #FAFAFA;
    font-size: 1rem;
    transition: border 0.3s;
}

form input:focus, form select:focus, form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

form button {
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background-color: #6F4722;
}

/* 7. 頁尾 */
footer {
    background-color: var(--text-color);
    color: #D1CFCB;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 10px;
}

/* 8. 響應式斷點 (手機版優化) */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    header nav ul {
        margin-top: 10px;
    }
    header nav ul li {
        margin: 0 10px;
    }
    body {
        padding-top: 110px;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    section {
        padding: 60px 5%;
    }
}