/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/************************************************************************************
RESET
*************************************************************************************/
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td, figure, mark{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    
}
body {line-height: 1; -webkit-text-size-adjust: none;}
ol, ul { list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,q:before, q:after {content: ''; content: none;}
:focus {outline: 0;}
ins {text-decoration: none;}
del {text-decoration: line-through;}
table {
   /* border-collapse: collapse;*/
    border-spacing: 0;
}
a img {border: none;}
.clean { clear:both;}
a {color: #292929; text-decoration: none; blr:expression(this.onFocus=this.blur()); outline: none; /* for Firefox */hlbr:expression(this.onFocus=this.blur()); /* for IE */}
a:hover {text-decoration:none;}
a:focus{ -moz-outline-style: none;}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', 'Noto Sans TC', sans-serif;
}

header {
  margin-top: 40px;
}

.pattern-bar {
  height: 40px;
  background: url("../images/totem.webp") center repeat-x;
  background-size: auto 100%;
}



.kv {
  width: 100%;
  max-width: 1920px;
  height: 840px; 
  margin: 0 auto;
  background: url("../images/main-pic.webp") center top no-repeat;
  background-size: auto 840px;
  position: relative;
  overflow: hidden;
}

.title-wrap {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 115;
}

.main-title {
  width: 632px;
  aspect-ratio: 632 / 313;
  background: url("../images/main-title.webp") center top no-repeat;
  background-size: contain;
  text-indent: 101%;
  overflow: hidden;
  white-space: nowrap;
}

h1 {
  text-indent: 101%;
  overflow: hidden;
  white-space: nowrap;
}



/* =========================
   Menu
========================= */

.nav {
  position: relative;
  z-index: 120;
  margin-top: -100px;
  margin-bottom: 0;
}

/* sticky 狀態 */
#block_menu.sticky {
  position: fixed;
  top: 40px;
  left: 50%;
  z-index: 999;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 32px));
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .08));
}

/* menu 外框 */
#block_menu {
  width: min(1080px, calc(100% - 32px));
  height: 88px;
  margin: 0 auto;
  background: url("../images/menu-bg.webp") center center no-repeat;
  background-size: 100% 100%;
  transition: filter .25s ease;
}

/* ul */
#block_menu .menu-list {
  height: 100%;
  margin: 0;
  padding: 0 58px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* li */
#block_menu .menu-item {
  position: relative;
}

/* 淡淡分隔線：讓四個選項更有區塊感 */
#block_menu .menu-item + .menu-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 50%;
  width: 1px;
  height: 28px;
  transform: translateY(-50%);
  background: rgba(255, 170, 60, .22);
}

/* a 基本狀態 */
#block_menu .menu-item a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 186px;
  height: 50px;
  border-radius: 999px;
  color: #2f2a20;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  transition:
    transform .25s ease,
    color .25s ease,
    filter .25s ease;
}

/* icon */
#block_menu .menu-item a::before {
  content: "";
  display: block;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#block_menu .menu-item-1 a::before {
  background-image: url("../images/menu-icon1.webp");
}

#block_menu .menu-item-2 a::before {
  background-image: url("../images/menu-icon2.webp");
}

#block_menu .menu-item-3 a::before {
  background-image: url("../images/menu-icon3.webp");
}

#block_menu .menu-item-4 a::before {
  background-image: url("../images/menu-icon4.webp");
}

/* hover：只做輕微上移，不加底，避免跟 active 混淆 */
#block_menu .menu-item a:hover {
  color: #111;
  transform: translateY(-2px);
  filter: brightness(1.04);
}

/* active 才顯示底圖 */
#block_menu .menu-item-1 a.active,
#block_menu .menu-item-1.active a {
  background-image: url("../images/label-green.webp");
}

#block_menu .menu-item-2 a.active,
#block_menu .menu-item-2.active a {
  background-image: url("../images/label-blue.webp");
}

#block_menu .menu-item-3 a.active,
#block_menu .menu-item-3.active a {
  background-image: url("../images/label-yellow.webp");
}

#block_menu .menu-item-4 a.active,
#block_menu .menu-item-4.active a {
  background-image: url("../images/label-purple.webp");
}

/* active 狀態再稍微浮一點，讓目前區塊更明確 */
#block_menu .menu-item a.active,
#block_menu .menu-item.active a {
  transform: translateY(-1px);
  font-weight: 600;
}

/* sticky 時稍微收斂一點，像進入導覽模式 */
#block_menu.sticky {
  height: 78px;
}

#block_menu.sticky .menu-list {
  padding: 0 58px;
}

#block_menu.sticky .menu-item a {
  height: 46px;
  font-size: 24px;
}

#block_menu.sticky .menu-item a::before {
  width: 29px;
  height: 29px;
  flex-basis: 29px;
}

#block_menu .menu-item a:hover::before {
  transform: rotate(-6deg) scale(1.05);
}

#block_menu .menu-item a::before {
  transition: transform .25s ease;
}

/* 共用 section */
.section {
  position: relative;
  overflow: hidden;
  padding: 95px 0 105px;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1920px auto;
}

.section-inner {
  max-width: 1300px;
  margin: 0 auto;
}

/* 探索當地 */
.section-tour {
  background-color: #d7f396;
  background-image: url("../images/bg-green.webp");
  min-height: 1190px;
}

/* 打卡熱點 */
.section-spot {
  background-color: #ccfcff;
  background-image: url("../images/bg-blue.webp");
  min-height: 2025px;
}

/* 嗨玩樂園 */
.section-park {
  background-color: #fff5a4;
  background-image: url("../images/bg-yellow.webp");
  height: auto;
}

/* 渡假勝地 */
.section-resort {
  background-color: #ddbeff;
  background-image: url("../images/bg-purple.webp");
  height: auto;
}

/*.title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 56px;
  
}

.title img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}*/

.title {
  margin: 0 auto 56px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-indent: 101%;
  overflow: hidden;
  white-space: nowrap;
}

.title-local {
  width: 283px;
  height: 191px;
  background-image: url("../images/title-local.webp");
}

.title-spot {
  width: 311px;
  height: 150px;
  background-image: url("../images/title-snapshot.webp");
}

.title-playful {
  width: 318px;
  height: 182px;
  background-image: url("../images/title-playful.webp");
}

.title-escape {
  width: 269px;
  height: 136px;
  background-image: url("../images/title-escape.webp");
}



/*條列行程*/

.tour-list{
  max-width: 1300px;
  width: 95%;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 20px;
  padding:40px;
  box-sizing: border-box;
}

.tour-title{
  display: inline-block;
  font-size: 20px;
  background: #79ca10;
  background: #11A339;
  color: #FFFFFF;
  margin-bottom: 20px;
  padding: 10px 20px;
  border-radius: 40px;
}
.tour-title span{
  display: inline-block;
  font-size: 14px;
  margin-bottom: 10px;
  margin-left: 10px;
  border-bottom: solid 1px;
  padding-bottom: 2px;
  color: #FF8A92;
}

.tour-txt {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-bottom: 5px;
}

.tour-list ul{
  width: 95%;
  margin: 0 auto;
  padding-bottom: 30px;
}

.tour-list li{
  list-style-type: none;
  position: relative; 
  border-bottom: dashed 1px;
  padding-bottom: 0px;
  margin-bottom: 15px;
  width: 100%; 
  height:100%;
  transition: transform .3s ease;

}
.tour-list li a{display: block;transition: background-color 0.5s ease; }
.tour-list li::before{
  position: absolute;
  content: '';
  width: 15px;
  height: 15px; 
  background: url("../images/icon-tourlist.webp") ;
  background-size: cover;
  left:-27px;
  top: 9px;
}
.tour-list li:hover {
  transform: scale(0.99);
}
.list-name{ 
  flex: 1;       
  min-width: 0;  
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 34px;}
.list-name span{
  padding: 0 5px 2px 5px;
  background: #ff8989;
  color: #FFFFFF;
  margin-right: 8px;
  border-radius: 10px 5px 10px 5px;
}
.list-name em{
  font-style: normal;
  font-size: 18px;
  color: #599d01;
  margin-left: 10px;
}
.list-price {
  flex-shrink: 0;      
  white-space: nowrap; 
  margin-left: 10px;
  font-size: 18px;
  line-height: 34px;
}
.list-price strong {
  color:#ff7200;
  font-size: 22px;
  margin: 0 2px 0 4px;
}


/* spot */
.spot-list {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
}

.spot-item {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  margin-bottom: 90px;
}

.spot-item:last-child {
  margin-bottom: 0;
}

.spot-pic {
  margin: 0;
  border-radius: 90px 20px 90px 20px;
  overflow: hidden;
}

.spot-pic img {
  display: block;
  width: 100%;
  height: auto;
}

.spot-card {
  position: relative;
  z-index: 2;
  margin-left: -42px;
  min-height: 170px;
  padding-right: 36px;
  border-radius: 0 30px 30px 0;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
  overflow: hidden;
}

.spot-item {
  transition: transform .25s ease;
}

.spot-pic,
.spot-card {
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease,
    background-color .25s ease;
}

.spot-card {
  background-color: #fff;
}

.spot-item:hover .spot-pic {
  filter: brightness(1.04) saturate(1.04);
  transform: translateY(-4px);
}

.spot-item:hover .spot-card {
  transform: translateY(-4px);
  background: #FFF8EB;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .09);
}

/* 右側 batik 邊條 */
.spot-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 100%;
  background: url("../images/totem2.webp") center center repeat;
  border-radius: 0 30px 30px 0;
  pointer-events: none;
}

/* 偶數筆：左文右圖 */
.spot-item:nth-child(even) {
  grid-template-columns: 48% 52%;
}

.spot-item:nth-child(even) .spot-pic {
  order: 2;
}

.spot-item:nth-child(even) .spot-card {
  order: 1;
  margin-left: 0;
  margin-right: -42px;
  padding-right: 0;
  padding-left: 36px;
  border-radius: 30px 0 0 30px;
}

/* 偶數筆：batik 邊條改左邊 */
.spot-item:nth-child(even) .spot-card::after {
  right: auto;
  left: 0;
  border-radius: 30px 0 0 30px;
}

.spot-card-inner {
  position: relative;
  z-index: 2;
  padding: 34px 58px 34px 46px;
}

.spot-item:nth-child(even) .spot-card-inner {
  padding: 34px 46px 34px 58px;
}

.spot-title {
  position: relative;
  margin: 0 0 12px;
  padding-left: 42px;
  color: #1b69b5;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
}

.spot-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  background: url("../images/icon-snapshot.webp") center no-repeat;
  background-size: contain;
}

.spot-desc {
  margin: 0;
  color: #333;
  font-size: 17px;
  line-height: 1.9;
}



/* playful */
.playful-list {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 34px;
}

.playful-card {
  width: calc((100% - 34px) / 2);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.playful-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
}

.playful-pic {
  margin: 0;
  padding: 22px 22px 0;
}

.playful-pic img {
  display: block;
  width: 100%;
  height: auto;
}

.playful-body {
  padding: 28px 42px 34px;
  text-align: center;
}

.playful-title {
  margin: 0 0 18px;
  color: #111;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
}

.playful-desc {
  margin: 0;
  color: #222;
  font-size: 17px;
  line-height: 1.9;
  text-align: left;
}

.playful-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 14px 20px;
  background: #ff6d73;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: filter .25s ease;
}

/* 上方票券圓點邊 */
.playful-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
  width: 100%;
  height: 18px;
  background:
    radial-gradient(circle, #ff6d73 8px, transparent 8.5px)
    left top / 32px 18px repeat-x;
  pointer-events: none;
}
.playful-btn span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* 票券 icon */
.playful-btn span::before {
  content: "";
  display: block;
  width: 38px;
  height: 38px;
  background: url("../images/icon-tkt.webp") center no-repeat;
  background-size: contain;
}

/* 箭頭 icon */
.playful-btn span::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: url("../images/icon-arrow.webp") center no-repeat;
  background-size: contain;
}

.playful-btn:hover {
  filter: brightness(1.05);
}
.playful-card:hover,
.playful-card.reveal.is-visible:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
}

/* playful button hover：icon 微動 */
.playful-btn span::before,
.playful-btn span::after {
  transition: transform .25s ease;
}

.playful-btn:hover span::before {
  transform: translateY(-1px) rotate(-4deg) scale(1.04);
}

.playful-btn:hover span::after {
  transform: translateX(4px);
}

/* escape */
.escape-list {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 70px; /* 預留圖片往上浮出的空間 */
}

.escape-item {
  display: flex;
  align-items: center;
  gap: 46px;
  padding: 38px 52px;
  border: 6px solid rgba(225, 255, 255, .82);
  margin-bottom: 110px;
  overflow: visible;
}

.escape-item:last-child {
  margin-bottom: 0;
}

.escape-pic {
  width: 50%;
  flex: 0 0 50%;
  margin: -78px 0 0;
  padding: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.escape-pic img {
  display: block;
  width: 100%;
  height: auto;
}

.escape-info {
  flex: 1;
}

.escape-title {
  margin: 0 0 16px;
  color: #836de5;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.35;
}

.escape-desc {
  margin: 0;
  color: #222;
  font-size: 18px;
  line-height: 1.9;
}

.escape-item {
  transition: border-color .25s ease, box-shadow .25s ease;
}

.escape-pic {
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.escape-item:hover {
  border-color: rgba(225, 255, 255, 1);
  box-shadow: 0 8px 20px rgba(90, 90, 140, 0.06);
}

.escape-item:hover .escape-pic {
  transform: translateY(-3px);
  filter: brightness(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .8s ease,
    transform .8s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}




@media screen and (max-width: 930px) and (min-width: 769px) {

  #block_menu {
    width: calc(100% - 32px);
    height: 76px;
  }

  #block_menu .menu-list {
    padding: 0 30px;
  }

  #block_menu .menu-item + .menu-item::before {
    left: -14px;
    height: 24px;
  }

  #block_menu .menu-item a {
    min-width: 150px;
    height: 44px;
    gap: 7px;
    font-size: 22px;
  }

  #block_menu .menu-item a::before {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  #block_menu.sticky {
    height: 70px;
    width: calc(100% - 32px);
  }

  #block_menu.sticky .menu-list {
    padding: 0 30px;
  }

  #block_menu.sticky .menu-item a {
    height: 42px;
    font-size: 21px;
  }

  #block_menu.sticky .menu-item a::before {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }  
  
  .escape-list {
    padding-top: 0;
  }

  .escape-item {
    align-items: center;
    gap: 32px;
    padding: 32px;
    margin-bottom: 70px;
  }

  .escape-pic {
    width: 46%;
    flex: 0 0 46%;
    margin: 0;
    padding: 12px;
  }

  .escape-title {
    font-size: 30px;
  }

  .escape-desc {
    font-size: 16px;
    line-height: 1.8;
  }
}


@media screen and (max-width: 768px) {

  /* -------------------------
     共用
  ------------------------- */
  .pattern-bar {
    height: 24px;
  }

  #block_menu {
    display: none;
  }
  
  .kv {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 768 / 400;
    background-image: url("../images/main-pic-s.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
  }
  .main-title {display: none;}
  
    .nav {
    display: none;
    margin-top: 0;
  }

  .section {
    padding: 60px 0 70px;
  }

  .section-tour {
    padding-top: 55px;
  }

  .title {
    margin-bottom: 32px;
  }


  /* -------------------------
     探索當地 tour
  ------------------------- */
  .tour-txt {
    flex-direction: column;
    width: 95%;
    margin: 0 auto;
  }

  .list-name {
    width: 100%;
    font-size: 18px;
  }

  .list-name em {
    font-size: 15px;
    margin-top: 0;
  }

  .tour-list li a {
    padding-bottom: 10px;
  }

  .tour-list li .link-city a {
    padding-bottom: 3px;
  }

  .tour-list li::before {
    left: -10px;
  }

  .list-price {
    width: 100%;
    text-align: right;
  }

  .tour-list li::before{
  position: absolute;
  content: '';
  width: 15px;
  height: 15px;
  background: url("../images/icon-tourlist.webp") ;
  background-size: cover;
  left:-14px;
  top: 8px;
}

  /* -------------------------
     打卡熱點 spot
     手機版：圖片在上，文字在下
  ------------------------- */
  .spot-item,
  .spot-item:nth-child(even) {
    display: flex;
    flex-direction: column;
    margin-bottom: 56px;
  }

  .spot-item .spot-pic,
  .spot-item:nth-child(even) .spot-pic {
    order: 1;
  }

  .spot-item .spot-card,
  .spot-item:nth-child(even) .spot-card {
    order: 2;
  }

  .spot-pic {
    width: 100%;
    border-radius: 36px 18px 36px 18px;
  }

  .spot-card,
  .spot-item:nth-child(even) .spot-card {
    width: calc(100% - 28px);
    margin: -24px auto 0;
    padding-left: 0;
    padding-right: 28px;
    border-radius: 22px;
  }

  .spot-card::after,
  .spot-item:nth-child(even) .spot-card::after {
    left: auto;
    right: 0;
    width: 28px;
    border-radius: 0 22px 22px 0;
  }

  .spot-card-inner,
  .spot-item:nth-child(even) .spot-card-inner {
    padding: 28px 22px 28px 26px;
  }

  .spot-title {
    padding-left: 34px;
    font-size: 24px;
  }

  .spot-title::before {
    width: 26px;
    height: 26px;
  }

  .spot-desc {
    font-size: 15px;
    line-height: 1.8;
  }


  /* -------------------------
     嗨玩樂園 playful
     手機版：一列一則
  ------------------------- */
  .playful-list {
    width: calc(100% - 28px);
    flex-direction: column;
    gap: 28px;
  }

  .playful-card {
    width: 100%;
  }

  .playful-pic {
    padding: 16px 16px 0;
  }

  .playful-body {
    padding: 24px 24px 28px;
  }

  .playful-title {
    font-size: 26px;
  }

  .playful-desc {
    font-size: 15px;
    line-height: 1.8;
  }

  .playful-btn {
    min-height: 60px;
    font-size: 22px;
  }

  /* 上方票券紅色圓點邊 */
  .playful-btn::before {
    top: -7px;
    height: 14px;
    background:
      radial-gradient(circle, #ff6d73 6px, transparent 6.5px)
      left top / 26px 14px repeat-x;
  }

  .playful-btn span {
    gap: 8px;
  }

  .playful-btn span::before {
    width: 30px;
    height: 30px;
  }

  .playful-btn span::after {
    width: 14px;
    height: 14px;
  }


  /* -------------------------
     渡假勝地 escape
     手機版：圖片在上，文字在下
  ------------------------- */
  .escape-list {
    width: calc(100% - 28px);
    padding-top: 0;
  }

  .escape-item {
    display: block;
    padding: 24px;
    margin-bottom: 40px;
    border-width: 3px;
  }

  .escape-pic {
    width: auto;
    margin: 0 0 24px;
    padding: 10px;
  }

  .escape-title {
    font-size: 28px;
    margin-bottom: 0px;
    text-align: center;
  }

  .escape-desc {
    font-size: 15px;
    line-height: 1.8;
  }
  .escape-info{
    padding-top: 30px;
  }

}
