﻿@charset "UTF-8";

/* =====================
   Logo 換成 kiko-logo.svg
   ===================== */

.logo {
    background-image: url(kiko-logo.svg) !important;
    background-size: contain !important;
    min-width: 120px !important;
    padding: 40px 0 !important;
    border-bottom: none !important;
}

/* =====================
   桌機版 Header 透明浮在主圖上
   ===================== */

header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 20 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}



.banner-section {
    position: relative !important;
}

/* =====================
   Banner 高度調整
   ===================== */

.banner_box {
    height: 660px !important;
    overflow: hidden !important;
}

.banner {
    top: 0 !important;             /* header 已移出，從頂端開始即可 */
    height: 660px !important;
    background-position: center 40% !important;
}

.top_img {
    display: none !important;      /* 隱藏海草裝飾，避免撐開空間 */
}

.headline {
    top: 320px !important;
}

/* =====================
   隱藏 Google Translate 工具列
   ===================== */

.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

body {
    top: 0 !important;     /* Google Translate 會把 body 往下推，強制歸零 */
}

.skiptranslate {
    display: none !important;
}

/* =====================
   語言選單 / 地球 icon
   ===================== */

.lang-toggle {
    display: none;
}

.language a {
    color: #fff;
    text-decoration: none;
    border-bottom: none;
    font-size: 0.7em;
    font-weight: 500;
}

.language a:hover {
    color: #cceeff;
    border-bottom: none;
}

/* =====================
   頁籤導覽列 Tab Nav
   ===================== */

.section-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 2px solid #e8f0fe;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.sec-nav-link {
    display: inline-block;
    color: #444;
    font-size: 1em;
    font-weight: 600;
    padding: 14px 28px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    letter-spacing: 0.08em;
    transition: color 0.2s, border-color 0.2s;
    font-family: inherit;
}

.sec-nav-link:hover,
.sec-nav-link.active {
    color: #1a73e8;
    border-bottom: 3px solid #1a73e8;
}

.nav-sep {
    color: #ccc;
    font-size: 1.1em;
    pointer-events: none;
}

/* 語言選單連結 */
.language a {
    color: #fff;
    text-decoration: none;
    border-bottom: none;
    font-size: 0.7em;
    font-weight: 500;
}

.language a:hover {
    color: #cceeff;
    border-bottom: none;
}

/* =====================
   頁籤面板系統
   ===================== */

.tab-panels-wrap {
    background: #fff;
    min-height: 60vh;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 關於我們頁籤的版型 */
.about-tab-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    max-width: 1200px;
    padding: 60px 30px;
}

.about-tab-inner .about_img {
    width: 45%;
    margin: 0 2em 0 0;
    text-align: right;
}

.about-tab-inner .about_con {
    width: 50%;
    margin: 0;
}

/* =====================
   共用 Section 樣式
   ===================== */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px 60px;
}

.section-heading {
    font-size: 2.2em;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 0.5em;
    padding-bottom: 0.4em;
    border-bottom: 2px solid #1a73e8;
    letter-spacing: 0.1em;
    text-align: center;
}

.region-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #555;
    margin: 2em 0 1em 0;
    padding: 0;
    letter-spacing: 0.08em;
    border: none;
}

/* =====================
   篩選標籤 Filter Tabs
   ===================== */

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 4px;
    margin: 1.2em 0 0.5em 0;
    padding: 12px 16px;
    background: #f5f7fa;
    border-radius: 8px;
    justify-content: center;
}

.filter-btn {
    white-space: nowrap;
}

.tab-sep {
    color: #bbb;
    padding: 0 2px;
}

.filter-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    font-size: 0.95em;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.05em;
    font-family: inherit;
}

.filter-btn:hover {
    background: #e8f0fe;
    color: #1a73e8;
}

.filter-btn.active {
    background: #1a73e8;
    color: #fff;
}

/* =====================
   合作飯店
   ===================== */

#tab-hotels {
    background: #fff;
}

.hotel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 1em;
}

.hotel-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(25% - 15px);
    min-width: 140px;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    padding: 20px 16px 14px;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}

.hotel-card:hover {
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.15);
    transform: translateY(-2px);
    border-color: #1a73e8;
}

.hotel-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.hotel-logo-box {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #bbb;
    border-radius: 6px;
    font-size: 0.8em;
    color: #888;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.4;
}

.hotel-name {
    font-size: 0.88em;
    color: #555;
    text-align: center;
    margin: 0 0 2px;
    line-height: 1.4;
}

.hotel-name-en {
    font-size: 0.75em;
    color: #999;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* =====================
   交通接駁
   ===================== */

#tab-transportation {
    background: #fff;
}

.bus-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 1em;
    justify-content: center;
}

.bus-card {
    width: 65%;
    min-width: 320px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #dde3ec;
    transition: box-shadow 0.2s;
}

.bus-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.bus-company-tag {
    background: #1a3a5c;
    color: #fff;
    font-size: 0.95em;
    font-weight: 600;
    padding: 10px 16px;
    letter-spacing: 0.05em;
}

.bus-vehicles {
    display: flex;
    gap: 6px;
    padding: 10px;
    background: #edf0f5;
}

.bus-vehicle {
    flex: 1;
    text-align: center;
}

.bus-vehicle img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    margin: 0;
}

.bus-vehicle-placeholder {
    width: 100%;
    height: 160px;
    background: #dde3ec;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #aaa;
    font-size: 0.8em;
}

.bus-vehicle-seats {
    font-size: 0.78em;
    color: #555;
    font-weight: 600;
    margin: 4px 0 0;
    line-height: 1.2;
}

.bus-info {
    padding: 14px 16px;
}

.bus-seats {
    font-size: 1em;
    font-weight: 600;
    color: #1a3a5c;
    margin: 0 0 6px 0;
}

.bus-tags {
    font-size: 0.88em;
    color: #666;
    margin: 0 0 10px 0;
}

.bus-link {
    display: inline-block;
    font-size: 0.88em;
    color: #1a73e8;
    text-decoration: none;
    border-bottom: 1px dotted #1a73e8;
}

/* =====================
   經典行程
   ===================== */

#tab-itineraries {
    background: #fff;
}

.table-wrap {
    overflow-x: auto;
    margin-top: 1.5em;
}

.itinerary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.itinerary-table thead {
    background: #1a3a5c;
    color: #fff;
}

.itinerary-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.5;
    white-space: nowrap;
}

.th-en {
    font-size: 0.78em;
    font-weight: 400;
    opacity: 0.75;
}

.itinerary-table tbody tr {
    border-bottom: 1px solid #e5e9f0;
    transition: background 0.15s;
}

.itinerary-table tbody tr:hover {
    background: #f0f5ff;
}

.itinerary-table td {
    padding: 12px 16px;
    color: #444;
    vertical-align: middle;
    line-height: 1.6;
}

.region-cell {
    font-weight: 600;
    color: #1a3a5c;
    white-space: nowrap;
}

.preview-cell {
    width: 100px;
}

.itinerary-preview {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
    margin: 0;
}

.download-cell {
    white-space: nowrap;
}

.dl-btn {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.82em;
    font-weight: 600;
    text-decoration: none;
    margin-right: 6px;
    border: none;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.dl-btn.pdf {
    background: #43a047;
    color: #fff;
}

.dl-btn.word {
    background: #1976d2;
    color: #fff;
}

.dl-btn:hover {
    opacity: 0.85;
    border-bottom: none;
}

.dl-disabled {
    opacity: 0.35;
    cursor: default;
}

.dl-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.dl-btn.vn {
    background: #00897b;
    color: #fff;
}

.dl-btn.zh {
    background: #1565c0;
    color: #fff;
}

/* =====================
   關於我們
   ===================== */

#tab-about {
    background: #f5f7fa;
}

.about-highlights {
    display: flex;
    gap: 20px;
    margin-top: 2em;
    flex-wrap: wrap;
}

.highlight-item {
    flex: 1;
    min-width: 140px;
    background: #fff;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    border: 1px solid #e5e9f0;
}

.highlight-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.highlight-icon img {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.highlight-title {
    font-size: 1em;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1.5;
    border: none;
    padding: 0;
}

.highlight-item p {
    font-size: 0.88em;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* =====================
   Footer
   ===================== */

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.footer-logo {
    opacity: 0.6;
    max-height: 50px;
    width: auto;
    margin-bottom: 12px;
}

.footer-contact-row {
    display: block;
    margin: 12px 0;
}

.contact-icon-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    margin: 0 6px;
    letter-spacing: 0.05em;
    border: none;
}

.line-btn {
    background: #06c755;
    color: #fff;
}

.whatsapp-btn {
    background: #25d366;
    color: #fff;
}

.contact-icon-btn:hover {
    opacity: 0.85;
    border-bottom: none;
}

/* =====================
   RWD 手機版
   ===================== */

@media screen and (max-width: 900px) {

    .section-nav {
        padding: 0;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    /* 手機 header 透明浮在主圖上方 */
    header {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 20 !important;
        background: transparent !important;
    }

    .banner-section {
        position: relative !important;
    }

    /* 手機 header：logo 置中，語言區塊絕對定位右側 */
    .logo_menu_bar {
        position: relative !important;
        justify-content: center !important;
        padding-top: 16px !important;
        padding-bottom: 12px !important;
    }

    .language_menu_bar {
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: auto !important;
        min-width: auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    /* 手機 logo 置中 */
    .logo {
        min-width: unset !important;
        width: 130px !important;
        padding: 14px 0 !important;
        background-size: contain !important;
    }

    /* 手機語言下拉：預設隱藏 */
    .language {
        display: none;
        position: absolute;
        top: 40px;
        right: 8px;
        background: rgba(15, 25, 45, 0.75);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 8px;
        padding: 4px 2px;
        flex-direction: column;
        gap: 0;
        z-index: 999;              /* 高於 banner headline 的 z-index:3 */
        min-width: 100px;
    }

    .language.lang-open {
        display: flex !important;
    }

    .language li {
        margin: 0;
        text-align: center;
    }

    .language a {
        display: block;
        padding: 5px 12px !important;
        font-size: 0.76em !important;
        color: #fff;
        border-radius: 4px;
        line-height: 1.4 !important;
    }

    .language a:hover {
        background: rgba(255,255,255,0.15);
    }

    /* 地球 icon 按鈕（靠右） */
    .lang-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.18);
        border: 1.5px solid rgba(255,255,255,0.55);
        border-radius: 50%;
        width: 32px;
        height: 32px;
        cursor: pointer;
        margin-right: 12px;
        padding: 5px;
        color: #fff;
        flex-shrink: 0;
    }

    .lang-toggle img {
        width: 22px;
        height: 22px;
        display: block;
    }

    .banner_box {
        height: 420px !important;
        overflow: hidden !important;
    }

    .banner {
        top: 0 !important;
        height: 420px !important;
        background-position: center 40% !important;
    }

    .top_img {
        display: none !important;
    }

    .headline {
        top: 200px !important;
        background-size: 60% !important;
    }

    .sec-nav-link {
        font-size: 0.88em;
        padding: 12px 16px;
        white-space: nowrap;
    }

    .nav-sep {
        display: none;
    }

    .section-container {
        padding: 30px 16px 40px;
    }

    .section-heading {
        font-size: 1.6em;
        text-align: center;
}

    .hotel-card {
        width: calc(50% - 10px);
    }

    .bus-card {
        width: 100%;
    }

    .bus-vehicle img,
    .bus-vehicle-placeholder {
        height: 110px;
    }

    .filter-tabs {
        gap: 4px;
        padding: 10px 12px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
}

    .filter-btn {
        font-size: 0.85em;
        padding: 5px 10px;
        white-space: nowrap;
    }

    .about-highlights {
        flex-direction: column;
    }

    .highlight-item {
        min-width: unset;
    }

    .about-tab-inner {
        flex-direction: column;
        padding: 30px 16px 40px;
    }

    .about-tab-inner .about_img,
    .about-tab-inner .about_con {
        width: 100%;
        margin: 0;
    }

    .itinerary-table th,
    .itinerary-table td {
        padding: 10px 10px;
        font-size: 0.88em;
    }

    /* 手機版隱藏大型裝飾背景圖，避免版面被壓縮 */
    .banner-section::after,
    #tab-transportation::before,
    #tab-itineraries::before,
    footer::after {
        display: none !important;
    }

    #tab-hotels,
    #tab-transportation,
    #tab-about {
        background-image: none !important;
    }
}

/* =====================
   裝飾背景圖
   ===================== */

/* seaweed01 → Banner 左下浮出 */
.banner-section {
    overflow: hidden;
}

.banner-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -30px;
    width: 340px;
    height: 340px;
    background: url(img_bg_seaweed01.png) no-repeat left bottom;
    background-size: contain;
    pointer-events: none;
    z-index: 6;
    opacity: 0.9;
}

/* seaweed02 → 合作飯店 右側裝飾 */
#tab-hotels {
    background-image: url(img_bg_seaweed02.png) !important;
    background-repeat: no-repeat !important;
    background-position: right 130% !important;
    background-size: 32% !important;
}

/* seaweed03 → 交通接駁 左側裝飾 */
#tab-transportation {
    position: relative;
    overflow: hidden;
}

#tab-transportation::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: 320px;
    background: url(img_bg_seaweed03.png) no-repeat left center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

#tab-transportation .section-container {
    position: relative;
    z-index: 1;
}

/* map → 經典行程 右側淡底圖 */
#tab-itineraries {
    position: relative;
    overflow: hidden;
}

#tab-itineraries::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background: url(img_bg_map.png) no-repeat right center;
    background-size: 85%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.07;
}

#tab-itineraries .section-container {
    position: relative;
    z-index: 1;
}

/* seaweed04 → 關於我們 右下角裝飾 */
#tab-about {
    background-image: url(img_bg_seaweed04.png) !important;
    background-repeat: no-repeat !important;
    background-position: 112% 108% !important;
    background-size: 32% !important;
}

/* seaweed05 → Footer 右側裝飾 */
footer {
    position: relative;
    height: auto !important;       /* 原始 height:250px 固定高度改為自動 */
    padding: 40px 1.5em !important;
}

footer::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 220px;
    height: 220px;
    background: url(img_bg_seaweed05.png) no-repeat right bottom;
    background-size: contain;
    pointer-events: none;
    opacity: 0.45;
}

/* =====================
   Banner 輪播
   ===================== */

.banner_box {
    position: relative !important;
}

.banner-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 40%;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: background 0.3s;
}

.banner-dot.active {
    background: #fff;
}
.lang-btn {
    cursor: pointer;
}
