/* 行程頁樣式（由 SSR 頁引用）*/
:root{--teal:#0d9488;--teal-light:#14b8a6;--teal-dark:#0f766e;--stone:#1c1917;--stone-mid:#292524;--cream:#fafaf9;--text-light:#d6d3d1;}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{background:var(--stone);color:var(--cream);font-family:'Noto Sans TC',sans-serif;}

/* NAV */
#navbar{position:fixed;top:0;left:0;right:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:1rem 2.5rem;background:rgba(15,23,42,0.93);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,0.06);}
.nav-logo{display:flex;align-items:center;gap:0.6rem;text-decoration:none;}
.nav-logo-text{font-family:'Noto Serif TC',serif;font-size:1.1rem;font-weight:700;color:white;}
.nav-right{display:flex;gap:1rem;align-items:center;}
.nav-back{color:var(--teal-light);text-decoration:none;font-size:0.85rem;font-weight:700;display:flex;align-items:center;gap:0.3rem;}
.btn-book-nav{background:var(--teal);color:white;padding:0.5rem 1.25rem;border-radius:30px;font-weight:700;font-size:0.85rem;border:none;cursor:pointer;font-family:inherit;transition:background 0.2s;}
.btn-book-nav:hover{background:var(--teal-light);}
/* Lang switcher */
.lang-switcher{display:flex;align-items:center;border:1px solid rgba(255,255,255,0.25);border-radius:20px;overflow:hidden;}
.lang-btn{background:transparent;border:none;color:rgba(255,255,255,0.65);font-size:0.72rem;font-weight:700;padding:0.28rem 0.6rem;cursor:pointer;font-family:inherit;transition:all 0.2s;letter-spacing:0.05em;}
.lang-btn.active{background:rgba(255,255,255,0.18);color:white;}
@media(max-width:600px){
  #navbar{padding:0.85rem 1rem;}
  .nav-logo-text{font-size:0.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:32vw;}
  .nav-back{font-size:0.78rem;}
  .btn-book-nav{padding:0.42rem 0.85rem;font-size:0.78rem;white-space:nowrap;}
  .lang-btn{padding:0.22rem 0.48rem;font-size:0.68rem;}
}
@media(max-width:360px){
  .nav-logo-text{display:none;}
}

/* HERO */
.trip-hero{height:72vh;min-height:420px;position:relative;display:flex;align-items:flex-end;overflow:hidden;padding-top:56px;}
.trip-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;will-change:transform;}
.trip-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0.1) 0%,rgba(0,0,0,0.38) 45%,rgba(15,23,42,1) 100%);}
.trip-hero-content{position:relative;z-index:2;padding:2.5rem 2rem;max-width:860px;width:100%;}
.trip-eyebrow{font-family:'Bebas Neue',sans-serif;letter-spacing:0.3em;font-size:0.82rem;color:var(--teal-light);margin-bottom:0.6rem;}
.trip-hero-title{font-family:'Noto Serif TC',serif;font-size:clamp(2rem,5.5vw,4rem);font-weight:900;line-height:1.1;color:white;}
.trip-hero-sub{font-size:0.95rem;color:rgba(255,255,255,0.7);margin-top:0.65rem;}
.trip-hero-badges{display:flex;gap:0.6rem;flex-wrap:wrap;margin-top:1.25rem;}
.badge-pill{background:rgba(255,255,255,0.12);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.18);color:white;padding:0.35rem 0.9rem;border-radius:30px;font-size:0.75rem;font-weight:500;}
.badge-pill.teal{background:rgba(13,148,136,0.3);border-color:var(--teal-light);color:var(--teal-light);}

/* CAROUSEL */
.carousel-section{background:var(--stone-mid);padding:1.1rem 0;}
.carousel-track{display:flex;gap:0.7rem;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 1.5rem;scrollbar-width:none;}
.carousel-track::-webkit-scrollbar{display:none;}
.carousel-track img{height:160px;width:auto;flex-shrink:0;border-radius:0.65rem;object-fit:cover;scroll-snap-align:start;cursor:pointer;transition:opacity 0.2s;}
.carousel-track img:hover{opacity:0.82;}

/* LIGHTBOX */
.lightbox{display:none;position:fixed;inset:0;z-index:300;background:rgba(0,0,0,0.93);align-items:center;justify-content:center;}
.lightbox.open{display:flex;}
.lightbox img{max-width:90vw;max-height:88vh;border-radius:0.75rem;object-fit:contain;}
.lb-close{position:absolute;top:1.25rem;right:1.5rem;color:white;font-size:2rem;cursor:pointer;background:none;border:none;}
.lb-prev,.lb-next{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,0.1);border:none;color:white;font-size:1.6rem;width:2.75rem;height:2.75rem;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.lb-prev{left:1rem;}.lb-next{right:1rem;}

/* MAIN LAYOUT */
.trip-main{display:flex;gap:2rem;max-width:1060px;margin:0 auto;padding:3.5rem 1.5rem;flex-wrap:wrap;}
.trip-content{flex:1;min-width:280px;}
.trip-sidebar{width:300px;flex-shrink:0;}
@media(max-width:860px){.trip-sidebar{width:100%;}}

/* CONTENT BLOCKS */
.schedule-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:0;}
.schedule-item{display:flex;gap:1rem;padding:0.75rem 0;border-bottom:1px solid rgba(255,255,255,0.06);}
.schedule-item:last-child{border-bottom:none;}
.schedule-time{font-family:'Bebas Neue',sans-serif;letter-spacing:0.05em;color:var(--teal-light);font-size:0.9rem;min-width:130px;flex-shrink:0;padding-top:0.05rem;}
.schedule-desc{font-size:0.88rem;color:var(--text-light);line-height:1.6;}
.content-block{margin-bottom:2.5rem;}
.content-block h2{font-family:'Noto Serif TC',serif;font-size:1.25rem;font-weight:700;color:white;margin-bottom:0.9rem;padding-bottom:0.5rem;border-bottom:1px solid rgba(255,255,255,0.08);}
.trip-long-desc{font-size:0.9rem;color:var(--text-light);line-height:1.9;white-space:pre-line;}
.highlight-item{display:flex;align-items:center;gap:0.65rem;font-size:0.88rem;color:var(--text-light);margin-bottom:0.5rem;}
.highlight-dot{width:7px;height:7px;border-radius:50%;background:var(--teal-light);flex-shrink:0;}
.includes-grid{display:grid;grid-template-columns:1fr 1fr;gap:0.5rem;}
.include-item{display:flex;align-items:center;gap:0.5rem;font-size:0.83rem;color:var(--text-light);}
.include-check{color:var(--teal-light);font-weight:700;}

/* SIDEBAR */
.sidebar-card{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:1.25rem;overflow:hidden;position:sticky;top:5.5rem;}
.sidebar-price-bar{background:var(--teal-dark);padding:1.4rem;text-align:center;}
.sidebar-price-label{font-size:0.72rem;color:rgba(255,255,255,0.7);letter-spacing:0.1em;margin-bottom:0.25rem;}
.sidebar-price-amount{font-family:'Noto Serif TC',serif;font-size:2.3rem;font-weight:900;color:white;}
.sidebar-price-per{font-size:0.75rem;color:rgba(255,255,255,0.6);}
.sidebar-details{padding:1.4rem;}
.detail-row{display:flex;justify-content:space-between;align-items:center;padding:0.55rem 0;border-bottom:1px solid rgba(255,255,255,0.06);font-size:0.84rem;}
.detail-row:last-child{border-bottom:none;}
.detail-label{color:#a8a29e;}.detail-value{color:white;font-weight:500;}
.sidebar-book-btn{display:block;margin:0 1.4rem 1rem;padding:1rem;background:var(--teal);color:white;text-align:center;border-radius:0.875rem;font-size:1rem;font-weight:700;cursor:pointer;border:none;font-family:inherit;transition:background 0.2s;width:calc(100% - 2.8rem);}
.sidebar-book-btn:hover{background:var(--teal-light);}
.sidebar-note{padding:0 1.4rem 1.4rem;font-size:0.75rem;color:#57534e;text-align:center;line-height:1.6;}

/* OTHER TRIPS */
.other-trips{background:var(--stone-mid);padding:4.5rem 0;}
.other-inner{max-width:1060px;margin:0 auto;padding:0 1.5rem;}
.other-tag{font-family:'Bebas Neue',sans-serif;letter-spacing:0.3em;font-size:0.75rem;color:var(--teal-light);margin-bottom:0.4rem;}
.other-h2{font-family:'Noto Serif TC',serif;font-size:1.65rem;font-weight:900;color:white;margin-bottom:1.75rem;}
.other-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem;}
@media(max-width:700px){.other-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:440px){.other-grid{grid-template-columns:1fr;}}
.other-card{border-radius:1rem;overflow:hidden;text-decoration:none;color:inherit;display:block;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);transition:transform 0.25s;}
.other-card:hover{transform:translateY(-4px);}
.other-card-img{height:140px;overflow:hidden;}
.other-card-img img{width:100%;height:100%;object-fit:cover;transition:transform 0.4s;}
.other-card:hover img{transform:scale(1.06);}
.other-card-body{padding:0.9rem;}
.other-card-name{font-family:'Noto Serif TC',serif;font-size:0.95rem;font-weight:700;margin-bottom:0.25rem;}
.other-card-price{font-size:0.82rem;color:var(--teal-light);font-weight:600;}

footer{background:var(--stone);border-top:1px solid rgba(255,255,255,0.06);padding:1.75rem;text-align:center;font-size:0.78rem;color:#57534e;}
.reveal{opacity:0;transform:translateY(22px);transition:opacity 0.6s,transform 0.6s;}
.reveal.visible{opacity:1;transform:none;}
.schedule-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:0;}
.schedule-item{display:flex;gap:1rem;padding:0.75rem 0;border-bottom:1px solid rgba(255,255,255,0.06);}
.schedule-item:last-child{border-bottom:none;}
.schedule-time{font-family:'Bebas Neue',sans-serif;letter-spacing:0.05em;color:var(--teal-light);font-size:0.9rem;min-width:130px;flex-shrink:0;padding-top:0.05rem;}
.schedule-desc{font-size:0.88rem;color:var(--text-light);line-height:1.6;}

.lang-switcher a.lang-btn{text-decoration:none;display:inline-block;}
.nav-logo-img{width:40px;height:40px;object-fit:cover;border-radius:50%;display:block;}


/* 行程頁側欄：獨家路線橫幅 */
.sidebar-exclusive{margin:0;padding:0.8rem 1.4rem;background:rgba(13,148,136,0.16);border-bottom:1px solid rgba(20,184,166,0.3);color:#99f6e4;font-size:0.78rem;font-weight:700;line-height:1.6;}
