/**
 * 加賀旅遊 - 地區包車頁共用樣式
 * 適用頁面：hokkaido.php / okinawa.php / kyushu.php / kansai.php / tokyo.php
 * （原本 5 頁各自內嵌同一份 <style>，僅 Hero 背景圖不同，統一抽到此檔避免重複）
 * 各頁需自行在 <head> 補上 #hero-section 的 background-image 覆寫。
 */

        html { scroll-behavior: smooth; scroll-padding-top: 100px; }
        body { font-family: var(--font-sans); background-color: var(--color-bg); color: var(--color-text); padding-top: 85px; }
        h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); color: var(--color-text); }

        /* --- Hero Section --- */
        #hero-section {
            height: 100vh;
            min-height: 700px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background-size: cover;
            background-position: center;
        }
        #hero-section h1, #hero-section p { color: #FFFFFF; }
        #hero-section .display-3 { text-shadow: 2px 2px 8px rgba(0,0,0,0.6); font-size: 2.8rem; line-height: 1.4; max-width: 900px; margin: 0 auto 1.5rem; }
        #hero-section .hero-tagline { font-size: 1.6rem; font-weight: 500; letter-spacing: 0.1em; margin-bottom: 1rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.5); }
        #hero-section .hero-subtitle { font-size: 1.1rem; line-height: 1.8; max-width: 700px; margin: 0 auto 1.5rem; opacity: 0.95; }
        .hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 1.5rem; }
        .hero-badge { background: rgba(180,140,54,0.9); color: #fff; padding: 8px 18px; border-radius: 30px; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.05em; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s ease; }
        .hero-badge:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
        .btn-golden { background-color: var(--color-primary); border-color: var(--color-primary); color: white; padding: 12px 30px; font-weight: bold; letter-spacing: 1px; transition: all 0.3s ease; }
        .btn-golden:hover { background-color: var(--color-primary-dark); border-color: var(--color-primary-dark); color: white; transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

        /* --- 比較表 --- */
        .comparison-section { background-color: #ffffff; padding: 3rem 0; }
        .comparison-card { max-width: 1100px; margin: 0 auto; background-color: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); padding: 2rem; }
        .comparison-title { font-family: var(--font-serif); font-size: 1.6rem; text-align: center; margin-bottom: 1.5rem; }
        .comparison-table-wrapper { overflow-x: auto; }
        .comparison-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
        .comparison-table th, .comparison-table td { padding: 0.75rem 1rem; border-bottom: 1px solid #e9ecef; vertical-align: top; }
        .comparison-table th { background-color: #f8f9fa; font-weight: 700; white-space: nowrap; }
        .comparison-table td:first-child { font-weight: 600; white-space: nowrap; width: 18%; }
        .comparison-table td:nth-child(2) { color: #c0392b; }
        .comparison-table td:nth-child(3) { color: #0c7a43; }

        /* --- 影片展示 --- */
        .video-showcase-section { padding: 4rem 0; background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%); }
        .video-showcase-section .section-header { text-align: center; margin-bottom: 2.5rem; }
        .video-showcase-section .section-header h2 { color: #fff; font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 0.75rem; }
        .video-showcase-section .section-header p { color: rgba(255,255,255,0.7); font-size: 1rem; }
        .video-container { max-width: 900px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.4); background: #000; }

        /* --- 限時優惠 --- */
        .promo-banner-section { padding: 3.5rem 0; background: linear-gradient(135deg, #B48C36 0%, #D4A84B 50%, #C99B3E 100%); }

        /* --- 包車方案卡片 --- */
        .pricing-card { border-radius: 12px; transition: all 0.3s ease; }
        .pricing-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important; }
        @media (min-width: 992px) { .border-start-lg { border-left: 1px solid #e9ecef; } }

        /* --- 景點介紹 --- */
        #attraction-section { padding: 5rem 0; background: white; }
        .attraction-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3rem; padding: 2rem; border-radius: 12px; transition: all 0.3s ease; }
        .attraction-row:hover { background: var(--color-bg); transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
        .attraction-row--reversed .attraction-image { order: 2; }
        .attraction-row--reversed .attraction-content { order: 1; }
        .attraction-image { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.15); transition: all 0.3s ease; }
        .attraction-image img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.3s ease; }
        .attraction-image:hover img { transform: scale(1.05); }
        .attraction-content .tagline { display: inline-block; background: var(--color-primary); color: white; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 500; margin-bottom: 1rem; }
        .attraction-content h4 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
        .attraction-content h4 a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
        .attraction-content h4 a:hover { color: var(--color-primary); }
        .attraction-content p { line-height: 1.8; color: #555; margin: 0; }

        /* --- 客戶評價 --- */
        .customer-reviews-section { background-color: #FFFFFF; padding-top: 5rem; padding-bottom: 5rem; }
        .review-card { background-color: var(--color-bg); border-radius: 10px; padding: 2rem; border: 1px solid #e9ecef; height: 100%; display: flex; flex-direction: column; transition: all 0.3s ease; }
        .review-card:hover { transform: translateY(-5px); box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.07); }
        .review-header { display: flex; align-items: center; margin-bottom: 1.5rem; }
        .review-name { font-family: var(--font-sans); font-weight: 700; font-size: 1.1rem; margin: 0; }
        .review-stars { color: #FFC107; margin-left: 1rem; }
        .review-text { flex-grow: 1; margin-bottom: 1.5rem; }
        .review-trip { font-size: 0.85rem; font-weight: 500; color: var(--color-primary); margin-top: auto; }
        .customer-reviews-swiper { padding-bottom: 3rem; }
        .customer-reviews-swiper .swiper-pagination-bullet { background-color: var(--color-text); opacity: 0.5; }
        .customer-reviews-swiper .swiper-pagination-bullet-active { background-color: var(--color-primary); opacity: 1; }

        /* --- FAQ --- */
        .faq-section { padding-top: 5rem; padding-bottom: 5rem; background-color: #FFFFFF; }
        .faq-section h3.main-question { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; }
        .comparison-table-faq { border: 1px solid #dee2e6; border-radius: 8px; overflow: hidden; }
        .comp-table-header { display: flex; border-bottom: 1px solid #dee2e6; }
        .comp-table-row { display: flex; }
        .comp-table-row + .comp-table-row { border-top: 1px solid #dee2e6; }
        .faq-section .comp-table-row:nth-of-type(odd) { background-color: var(--color-bg); }
        .faq-section .comp-table-row:nth-of-type(even) { background-color: #ffffff; }
        .comp-table-category-spacer { flex: 0 0 120px; border-right: 1px solid #dee2e6; }
        .comp-table-header .comp-table-cell { flex: 1; padding: 1rem; font-weight: 700; font-size: 1.1rem; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
        .comp-table-header .comp-table-cell.green { border-right: 1px solid #dee2e6; }
        .comp-table-header .plate-image { height: 60px; width: auto; max-width: 90%; margin-top: 0.5rem; }
        .comp-table-header .green { color: #155724; background-color: #d4edda; }
        .comp-table-header .white { color: #721c24; background-color: #f8d7da; }
        .comp-table-category { flex: 0 0 120px; padding: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; text-align: center; border-right: 1px solid #dee2e6; font-family: var(--font-sans); }
        .comp-table-cell { flex: 1; padding: 1rem; }
        .comp-table-cell.green { border-right: 1px solid #dee2e6; }
        .comp-table-cell p { margin: 0; font-size: 0.95rem; line-height: 1.7; }
        .faq-accordion-container { margin-top: 2rem; }
        .faq-section details { border: 1px solid #e9ecef; border-radius: 8px; margin-bottom: 15px; overflow: hidden; background-color: #fff; transition: border-color 0.3s; }
        .faq-section details:hover { border-color: #ccc; }
        .faq-section summary { padding: 1rem 1.5rem; font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; position: relative; font-family: var(--font-sans); color: var(--color-text); transition: background-color 0.2s ease; }
        .faq-section summary::-webkit-details-marker { display: none; }
        .faq-section summary::after { content: '+'; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); font-size: 1.5em; font-weight: 400; color: var(--color-primary); transition: transform 0.3s ease; }
        .faq-section details[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
        .faq-section details[open] > summary { color: var(--color-primary); background-color: var(--color-bg); }
        .faq-section .answer { padding: 0 1.5rem 1.5rem 1.5rem; line-height: 1.8; border-top: 1px solid #e9ecef; margin: 1rem 1.5rem 0; padding-top: 1.5rem; }
        .faq-section .answer ul { padding-left: 20px; margin-top: 10px; margin-bottom: 10px; }
        .faq-section .answer li { margin-bottom: 8px; }
        .faq-section .answer strong { color: #343a40; font-weight: 700; }
        .faq-section .answer .highlight { color: #c82333; font-weight: bold; }

        /* --- 懸浮按鈕 --- */
        .floating-action-buttons { position: fixed; bottom: 90px; right: 25px; z-index: 999; display: none; flex-direction: column; gap: 10px; }
        .floating-action-buttons.show { display: flex; }
        .fab-btn { width: 50px; height: 50px; border-radius: 50%; color: white; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,0.15); transition: all 0.3s ease; }
        .fab-btn:hover { transform: translateY(-3px); color: white; }
        .fab-btn.line { background-color: #06C755; }
        .fab-btn.line:hover { background-color: #05a546; }
        .back-to-top-btn { position: fixed; bottom: 25px; right: 25px; display: none; width: 50px; height: 50px; border-radius: 50%; background-color: #B48C36; color: white; text-align: center; font-size: 1.2rem; line-height: 50px; z-index: 999; transition: all 0.4s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.15); text-decoration: none; }
        .back-to-top-btn:hover { background-color: #D8AB4E; transform: translateY(-3px); }
        .back-to-top-btn.show { display: block; }

        /* --- Sticky Footer --- */
        .sticky-footer { position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; padding: 15px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 9999; text-align: center; display: none; }
        .btn-quote { background: linear-gradient(45deg, #B48C36, #D8AB4E); color: white; font-weight: bold; font-size: 1.1rem; padding: 12px 30px; border-radius: 50px; width: 100%; max-width: 400px; display: inline-block; transition: all 0.3s; text-decoration: none; box-shadow: 0 4px 15px rgba(180,140,54,0.4); }
        .btn-quote:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(180,140,54,0.6); color: white; }

        /* --- 響應式 --- */
        @media (max-width: 991.98px) {
            .attraction-row, .attraction-row--reversed { grid-template-columns: 1fr; gap: 2rem; }
            .attraction-row--reversed .attraction-image, .attraction-row--reversed .attraction-content { order: unset; }
        }
        @media (max-width: 767.98px) {
            #hero-section { min-height: 600px; padding: 2rem 1rem; }
            #hero-section .display-3 { font-size: 1.8rem; }
            #hero-section .hero-tagline { font-size: 1.2rem; }
            .sticky-footer { display: block; }
            body { padding-bottom: 80px; }
            .back-to-top-btn { bottom: 90px; }
            .floating-action-buttons { bottom: 140px; right: 20px; }
            .comp-table-category-spacer { flex: 0 0 45px; }
            .comp-table-category { flex: 0 0 45px; font-size: 0.9rem; writing-mode: vertical-lr; text-orientation: mixed; letter-spacing: 0.2em; }
            .comp-table-cell, .comp-table-category { padding: 0.75rem; }
            .comp-table-cell p { font-size: 0.9rem; }
            .faq-section summary { font-size: 1rem; padding: 0.8rem 1rem; }
            .faq-section summary::after { right: 15px; }
            .faq-section .answer { margin-left: 1rem; margin-right: 1rem; padding: 1rem 0 0.5rem 0; }
        }
