@charset "utf-8";
/* CSS Document */

:root{
  --deep:#06204a;--blue:#0d4f9e;--sea:#00a7c8;--yellow:#ffd84d;--orange:#ff8b2b;--red:#e64136;--cream:#fff7de;--ink:#102033;--black:#000;--black2:#333;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Noto Sans TC","Microsoft JhengHei",Arial,sans-serif;color:var(--ink);background:linear-gradient(180deg,#e9fbff 0,#fff9e9 40%,#fff 100%);line-height:1.75;}.wrap_2{width:min(1180px,92%);margin:auto; }



.section-trips{
    padding:80px 20px;
    overflow:hidden;
}
.wrap_2{
    max-width:1180px;
    margin:0 auto;
}
.title-area{
    text-align:center;
    margin-bottom:36px;
}
.sub-title{
    display:inline-block;
    padding:8px 18px;
    border-radius:999px;
    background:#ffe47a;
    color:#17465e;
    font-weight:700;
    margin-bottom:14px;
}
.title-area h2{
    margin:0;
    font-size:clamp(30px,4vw,52px);
    color:#006f9f;
    letter-spacing:2px;
}
.title-area p{
    margin:12px auto 0;
    max-width:680px;
    line-height:1.8;
    color:#466;
}
.slider-box{
    position:relative;
}
.trip-slider{
    display:flex;
    gap:24px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scroll-snap-type:x mandatory;
    padding:10px 4px 24px;
}
.trip-slider::-webkit-scrollbar{
    height:8px;
}
.trip-slider::-webkit-scrollbar-thumb{
    background:#27b6c9;background:#fff;
    border-radius:99px;
}
.trip-card{
    flex:0 0 calc((100% - 48px) / 3);
    min-width:300px;
    background:#fff;
    border-radius:28px;
    overflow:hidden;
    /*box-shadow:0 18px 45px rgba(0,91,130,.16);*/
    scroll-snap-align:start;
    transition:.3s;
}
.trip-card:hover{
    transform:translateY(-8px);
    /*box-shadow:0 24px 55px rgba(0,91,130,.24);*/
}
.trip-img{
    height:260px;
    background:linear-gradient(135deg,#1bb7d6,#ffe16c);
    position:relative;
    overflow:hidden;
}
.trip-img:before{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    border-radius:50%;
    background:rgba(255,255,255,.35);
    right:-40px;
    top:-40px;
}
.trip-img:after{
    content:"";
    position:absolute;
    width:100%;
    height:70px;
    left:0;
    bottom:0;
    background:linear-gradient(180deg,transparent,rgba(0,0,0,.22));
}
.trip-label{
    position:absolute;
    left:20px;
    top:18px;
    z-index:2;
    background:#ff7f50;
    color:#fff;
    padding:7px 14px;
    border-radius:999px;
    font-size:14px;
    font-weight:700;
}
.trip-card:nth-child(2) .trip-img{background:linear-gradient(135deg,#0077b6,#64dfdf)}
.trip-card:nth-child(3) .trip-img{background:linear-gradient(135deg,#ff9f1c,#ffe66d)}
.trip-card:nth-child(4) .trip-img{background:linear-gradient(135deg,#2ec4b6,#cbf3f0)}
.trip-card:nth-child(5) .trip-img{background:linear-gradient(135deg,#184e77,#76c893)}
.trip-content{
    padding:24px;
}
.trip-content h3{
    margin:0 0 12px;
    font-size:23px;
    color:#000;
}
.trip-content p{
    margin:0 0 18px;
    color:#536b73;
    line-height:1.75;
    font-size:15px;
}
.trip-info{
    display:grid;
    gap:8px;
    margin-bottom:20px;
    font-size:14px;
}
.trip-info span{
    display:block;
    padding:9px 12px;
    border-radius:12px;
    background:#F1E1D1;
    color:#82502F;
}
.btn{
    display:inline-block;
    text-decoration:none;
    background:#008fc7;
    color:#fff;
    padding:12px 20px;
    border-radius:999px;
    font-weight:700;
}
.btn:hover{
    background:#006f9f;
}
.slide-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#82502F;
    font-size:26px;
    cursor:pointer;
    box-shadow:0 8px 24px rgba(0,0,0,.18);
    z-index:5;
}
.slide-btn:hover{
    background:#82502F;
    color:#fff;
}
.prev{left:-18px}
.next{right:-18px}

@media(max-width:900px){
    .trip-card{
        flex-basis:75%;
        min-width:260px;
    }
}
@media(max-width:640px){
    .section-trips{
        padding:54px 16px;
    }
    .trip-card{
        flex-basis:86%;
    }
    .slide-btn{
        display:none;
    }
}