﻿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-container {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

.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;
    }

.hero-date-group {
    display: flex;
    flex-direction: column;
    gap: 4px; /* 標題與 input 的間距 */
    flex: 1; /* 兩個欄位平均分配寬度 */
    cursor: pointer;
}

.hero-date-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding-left: 4px;
    cursor: pointer;
}



/* 手機版（小於 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-input {
        height: 48px;
        font-size: 1rem;
    }

    .hero-search-title {
        font-size: 0.9rem;
        letter-spacing: 0.17em;
        background: #f5f5f5;
        color: #F4A022;
    }

    div.hero-container {
        top: 60% !important;
    }
}

/* ================================
   優點區塊 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;
    border-radius: 20px;
}

.promo-slide {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

/* 針對電腦版維持原本的 320px 高度 */
@media (min-width: 769px) {
    .promo-img {
        height: 320px;
    }
}

.promo-img {
    width: 100%;
    height: auto; /* 修正：讓高度隨比例自動縮放，避免手機版變形 */
    min-height: 200px; /* 給予最小高度避免載入前塌陷 */
    object-fit: cover;
    display: block;
}

/* 浮動文字 */
.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;
}

.H-B-Title_4 img {
    width: 3.5rem;
}

@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;
        }

    .H-B-Title_4 img {
        width: 2rem;
    }
}

/* 只有 iOS (iPhone/iPad) 會讀取這段 CSS */
@supports (-webkit-touch-callout: none) {
    /* 修正 iOS flex 排版被擠壓的問題 */
    .hero-search-body {
        align-items: stretch !important;
    }
    /* 修正 iOS 日期輸入框的寬度與原生外觀 */
    .hero-date-group {
        width: 100% !important;
        flex: none !important; /* 禁止 iOS 自動計算高度 */
    }

    .hero-input {
        /* 移除 iOS 預設的輸入框圓角與陰影 */
        -webkit-appearance: none;
        appearance: none;
        border-radius: 10px; /* 強制設定你想要的圓角 */
        background-color: #fff; /* 防止 iOS 變成透明或灰色 */
    }
    /* 修正 iOS 按鈕可能變圓形的問題 */
    .hero-search-btn {
        -webkit-appearance: none;
        border-radius: 10px;
    }

    @media (max-width: 576px) {
        .hero-input {
            height: 48px;
            font-size: 1rem;
            padding: 1rem;
            /* 這裡可以加個背景色測試是否生效，例如 background: red; */
        }
    }
}

/* 新限時專案卡片樣式 */
.promo-new-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

    .promo-new-card:hover {
        transform: translateY(-5px);
    }

.promo-new-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.promo-new-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.promo-new-title {
    color: #E67E22;
    font-size: 1.4rem;
    margin: 0 2rem 0.2rem 2rem;
    font-family: 'SourceHanSansTWHK-Medium';
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.promo-new-title_2 {
    color: #E67E22;
    font-size: 1.4rem;
    margin: 0 2rem 1.2rem 2rem;
    font-family: 'SourceHanSansTWHK-Medium';
    display: flex;
    justify-content: space-between;
    font-weight: 100;
}

    .promo-new-title_2 span {
        font-size: 1.1rem;
        color: #edbb5a;
        font-weight: 500;
    }

.promo-new-title_3 {
    border-bottom: 2px solid #E67E22;
    width: 3rem;
    margin: 0 2rem 1.2rem 2rem;
}

.promo-new-info {
    list-style: none;
    padding: 0;
    margin: 0 2rem 1.2rem 2rem;
    flex-grow: 1;
    font-weight: bold;
}

    .promo-new-info li {
        font-size: 0.95rem;
        color: #555;
        margin-bottom: 0.6rem;
        line-height: 1.5;
        display: flex;
    }

        .promo-new-info li strong {
            color: #6e6e6e;
            white-space: nowrap;
            margin-right: 5px;
        }

.promo-new-info-li3 {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.6rem;
    line-height: 1.5;
    display: flex !important;
    align-items: flex-end;
}
    .promo-new-info-li3 li strong {
        color: #6e6e6e;
        white-space: nowrap;
        margin-right: 5px;
    }

.price-highlight {
    color: #d9534f; /* 紅色價格 */
    font-weight: 800;
    font-size: 1.2rem;
}

.promo-new-btn {
    display: inline-block;
    background: #E67E22;
    color: #fff;
    padding: 6px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
}

    .promo-new-btn:hover {
        background: #d35400;
        color: #fff;
    }

/* 手機版調整 */
@media (max-width: 768px) {
    .promo-new-img {
        height: 200px;
    }
}
