﻿body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", system-ui, sans-serif;
    background-color: #fafafa;
}

/* 全站主色 */
:root {
    --primary-color: #f8a700;
    --primary-dark: #f18a00;
    --text-dark: #333333;
}

header {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand-img {
    height: 38px;
    width: auto;
}

.navbar-brand span.logo-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    margin-right: 6px;
}

.hero {
    position: relative;
    height: 100vh; /* Hero 佔滿整個螢幕高度 */
    padding-top: 60vh; /* 預留 Header 的高度 */
    overflow: hidden;
}

/* 影片背景 */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 讓畫面不會被拉扯 */
    z-index: -1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* 滿版、無灰邊 */
    /*background-image: url("../img/BANNER-CLIFF_640.webp");*/
    background-size: cover;
    /* 在這裡調整圖片主體位置 ↓↓↓ */
    background-position: center center;
    /* 可改：
       top center
       center right
       center left
       40% center（精準控制）
       50% 30%（x%, y%）等 */

    background-repeat: no-repeat;
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    /*background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.15));*/
    z-index: -1;
}

.hero-title-main {
    font-size: clamp(2.2rem, 3vw + 1rem, 3rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: white;
}

.hero-title-sub {
    color: white;
    font-size: clamp(2.2rem, 3vw + 1rem, 3rem);
    margin-bottom: 1.5rem;
    letter-spacing: 0.12em;
}

/* 搜尋卡片外框 */
.hero-search-block {
    max-width: 780px;
    margin: 1.8rem auto 0;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* 橘色標題條 */
.hero-search-title {
    background: #f5f5f5;
    color: #F4A022;
    text-align: center;
    padding: 0.55rem 0;
    font-weight: 700;
    letter-spacing: 0.22em;
    font-size: 1rem;
}

/* 下方白色表單區 */
.hero-search-body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.2rem 1.3rem;
}

/* 輸入框 */
.hero-input {
    flex: 1;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 0 12px;
    font-size: 0.95rem;
    background: #fff;
}

/* 搜尋按鈕 */
.hero-search-btn {
    background: #F4A022;
    border: none;
    height: 42px;
    padding: 0 24px;
    border-radius: 10px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

    .hero-search-btn:hover {
        background: #d88c1c;
    }


/* 手機版（小於 576px） */
@media (max-width: 576px) {
    .hero {
        /*padding-top: 100px;*/ /* 避免 header 壓到字 */
        text-align: center;
    }

    .hero-title-sub {
        font-size: 1.6rem !important; /* 主標縮小 */
        font-size: 0.9rem; /* 副標縮小 */
        letter-spacing: 0.08em;
    }

    .hero-title-main {
        font-size: 1.6rem !important; /* 主標縮小 */
        line-height: 1.2;
        letter-spacing: 0.08em;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .hero-search-body {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .hero-input,
    .hero-search-btn {
        width: 100%;
    }

    .hero-search-title {
        font-size: 0.9rem;
        letter-spacing: 0.17em;
        background: #f5f5f5;
        color: #F4A022;
    }
}

/* ================================
   優點區塊 Style
================================ */
.features-section {
    padding: 4rem 0;
}

.features-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.features-list {
    margin-top: 1rem;
}

.features-item {
    align-items: flex-start;
    gap: 1rem;
}

.features-icon {
    width: 48px; /* 圖片大小 */
    height: auto;
    flex-shrink: 0;
    margin-right: 2rem;
}

.features-item-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.features-item-desc {
    color: #9f9f9f;
    font-size: 0.95rem;
    line-height: 1.45;
}

/* 手機版 RWD */
@media (max-width: 576px) {
    .features-title {
        font-size: 1.5rem;
    }

    .features-item {
        flex-direction: row;
        gap: 0.8rem;
    }

    .features-icon {
        width: 40px;
    }

    .features-item-title {
        font-size: 1rem;
    }

    .features-item-desc {
        font-size: 0.9rem;
    }
}


/* 限時優惠區塊 */
.promo-section {
    padding: 3rem 0 5rem 0;
    background-color: #f6f6f6;
}

.promo-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

/* Swiper */
.promo-swiper {
    width: 100%;
    max-width: 1320px; /* 固定寬度像你的範例 */
    margin: 0 auto;
}

.promo-slide {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.promo-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* 浮動文字 */
.promo-text {
    position: absolute;
    right: 30px;
    top: 25%;
    transform: translateY(-30%);
    text-align: right;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.promo-tag {
    background: rgba(255, 255, 255, 0.85);
    color: #000;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.promo-date {
    background: rgba(214, 68, 68, 0.9);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.promo-price-title {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.promo-price {
    display: inline-block;
    font-size: 2.6rem;
    font-weight: 800;
    color: #F3A424;
}

.promo-price-sub {
    font-size: 1.2rem;
    color: #fff;
}

/* Swiper arrows */
/* 自訂左右箭頭圖片 */
.promo-swiper .swiper-button-prev,
.promo-swiper .swiper-button-next {
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent !important; /* 隱藏原本的箭頭 */
    background-color: rgba(128, 128, 128, 0.5);
}

/* 左箭頭 */
.promo-swiper .swiper-button-prev {
    background-image: url("../img/arrow-left.png");
    left: 0;
}

/* 右箭頭 */
.promo-swiper .swiper-button-next {
    background-image: url("../img/arrow-right.png");
    right: 0;
}

    /* hover 效果 */
    .promo-swiper .swiper-button-prev:hover,
    .promo-swiper .swiper-button-next:hover {
        transform: scale(1.1);
        filter: brightness(1.15);
    }

/* 手機版箭頭縮小 */
@media (max-width: 576px) {
    .promo-swiper .swiper-button-prev,
    .promo-swiper .swiper-button-next {
        width: 40px;
        height: 40px;
    }
}


/* 附件 / 加價配件區塊 */
.addon-section {
    padding: 3rem 0;
    position: relative; /* 讓右上圖示可絕對定位 */
}

/* 整區右上角小圖示 */
.addon-global-icon {
    position: absolute;
    top: 0;
    right: 20px;
    width: 48px; /* 圖示大小可調整 */
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 10;
}

.addon-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
}

/* 卡片外框 */
.addon-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.addon-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

/* 底部漸層（深色） */
.addon-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.05));
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

/* 左下角橘色文字 */
.addon-more {
    color: #F28A18; /* 橘色 */
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}

    .addon-more:hover {
        color: #ff9c32;
    }

/* 評價區塊 */
/* 整體外框灰底 */
.div-review-card {
    display: flex;
    justify-content: space-around;
}

.review-section {
    padding: 0 0;
    background: #f4f4f4;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    max-width: 1320px;
    margin: auto;
}

/* 讓灰背景內容區塊置中且最大寬度 1320px */
.review-container {
    width: 100%;
    max-width: 1320px; /* ★★★ 你指定的最大寬度 */
    padding: 2rem; /* 左右留白 */
    margin: 0 auto;
}

/* 標題 */
.review-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0em;
}

.review-subtitle {
    color: #777;
    margin-top: 0.4rem;
}

/* 卡片 */
.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    height: 100%;
    min-height: 240px; /* ★★★ 控制卡片最小高度（你可調整） */
    display: flex;
    flex-direction: column;
    width: 320px;
}

/* 名字 */
.review-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: -0.1rem;
}

/* 顧客資訊 */
.review-meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.8rem;
}

/* 文字內容 */
.review-text {
    color: #555;
    font-size: 1.3rem;
    line-height: 1.45;
    margin-bottom: 1rem;
    flex: 1; /* ★★★ 自動填滿高度 */
}

/* 星星 */
.review-stars {
    color: #F28A18;
    font-size: 1.7rem;
    font-weight: bold;
}

/* 查看更多 */
.review-more {
    color: #F28A18;
    font-weight: 700;
    text-decoration: none;
}

    .review-more:hover {
        color: #ff9c32;
    }

/*熱門營地區塊*/
h2.section-title {
    font-weight: 900;
    display: flex;
    justify-content: center;
}

.destination-card img {
    height: 180px;
    object-fit: cover;
}

.destination-card .card-title {
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}


@@media (max-width: 767.98px) {
    .hero {
        min-height: 440px;
    }

    .hero-search {
        border-radius: 18px;
    }

        .hero-search .input-group {
            flex-direction: column;
            align-items: stretch;
        }

        .hero-search button {
            width: 100%;
            margin-top: 0.4rem;
        }
}
