/* 綠行選品 — 共用樣式｜Elevare 風格 */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
    /* 主色：改為 Elevare 的奶油底 + 深橄欖綠 */
    --esg-forest:   #1a2e1a;   /* 深森林綠（更深、更沉穩） */
    --esg-sage:     #4a7c59;   /* 中調鼠尾草綠 */
    --esg-mist:     #f5f0e8;   /* 溫暖奶油白（取代薄荷綠） */

    /* 新增 Elevare 風格變數 */
    --cream:        #faf7f2;   /* 頁面底色 */
    --cream-dark:   #f0ebe0;   /* 次要底色 / footer */
    --gold:         #b8985a;   /* 金色點綴 */
    --text-dark:    #1a1a1a;
    --text-muted:   #6b6b6b;
    --border:       #e0d9cc;

    --radius-sm:    4px;
    --radius-md:    8px;
    --radius-lg:    16px;

    --font-serif:   'Cormorant Garamond', Georgia, serif;
    --font-sans:    'Jost', 'Helvetica Neue', Arial, sans-serif;

    --shadow-card:  0 2px 16px rgba(26, 46, 26, 0.08);
    --shadow-hover: 0 8px 32px rgba(26, 46, 26, 0.14);

    --transition:   0.25s ease;
}

/* ── 基礎版面 ── */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--cream);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-weight: 300;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1;
}

/* ── 導覽列品牌 ── */
.navbar {
    background-color: var(--cream) !important;
    border-bottom: 1px solid var(--border);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    color: var(--esg-forest) !important;
}

/* ── Hero 圖片覆蓋區 ── */
.image-overlay {
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden;
}

.image-overlay img {
    width: 100%;
    height: auto;
    opacity: 0.88;
    margin-bottom: 0;
    object-fit: cover;
    max-height: 480px;
    display: block;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(26, 46, 26, 0.62);
    backdrop-filter: blur(2px);
    padding: 2rem 2.5rem;
    border-radius: var(--radius-lg);
    max-width: min(88%, 600px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.overlay-text h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    letter-spacing: 0.02em;
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.overlay-text h2 em {
    font-style: italic;
    color: #d4c49a; /* 金色調斜體 — Elevare 招牌 */
}

.overlay-text p {
    margin-bottom: 1.25rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.03em;
}

/* Elevare 風格的 CTA 按鈕 */
.overlay-text .btn-cta {
    display: inline-block;
    padding: 0.6rem 1.75rem;
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: background var(--transition), color var(--transition);
}

.overlay-text .btn-cta:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

/* ── 通用區塊 ── */
.new-section img {
    margin-bottom: 20px;
    border-radius: var(--radius-md);
}

.section-heading {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--esg-forest);
    letter-spacing: 0.02em;
}

.section-heading em {
    font-style: italic;
    color: var(--gold);
}

/* ── 積分徽章 → Elevare 質感標籤 ── */
.points-badge {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

/* ── 頁尾 ── */
.site-footer {
    background: var(--cream-dark);
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}
/* ── Hero 覆蓋區 RWD ── */
@media (max-width: 768px) {
    .image-overlay img {
        max-height: 380px;
        min-height: 280px;
    }

    .overlay-text {
        width: 88%;
        max-width: 88%;
        padding: 1rem 1.2rem;
        border-radius: var(--radius-md);
        box-sizing: border-box;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .overlay-text h2 {
        font-size: clamp(1.1rem, 5.5vw, 1.6rem);
        margin-bottom: 0.4rem;
        line-height: 1.4;
        white-space: normal;
        word-break: keep-all;
    }

    .overlay-text p {
        font-size: clamp(0.78rem, 3.2vw, 0.9rem);
        margin-bottom: 0.75rem;
        line-height: 1.6;
        white-space: normal;
        word-break: keep-all;
    }

    .overlay-text .btn-cta {
        font-size: 0.7rem;
        padding: 0.45rem 1.1rem;
    }
}

@media (max-width: 480px) {
    .image-overlay img {
        max-height: 320px;
        min-height: 240px;
    }

    .overlay-text {
        width: 92%;
        max-width: 92%;
        padding: 0.9rem 1rem;
    }

    .overlay-text h2 {
        font-size: clamp(1rem, 5vw, 1.3rem);
    }

    .overlay-text p {
        font-size: clamp(0.75rem, 3vw, 0.85rem);
    }
}