﻿@font-face {
    font-family: 'fontface1';
    src: url('../../fonts/IDHeiUltra.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'fontface1';
    src: url('../../fonts/NotoSansTC-Medium.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'fontface1';
    src: url('../../fonts/NotoSansTC-Bold.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
/* html, body {
	overflow-x: hidden;
} */
body *{
	color: #333;
}
a, a:link, a:visited, a:hover, a:active, a:focus {
	text-decoration: none;
}

/* ===================== Hero ===================== */
.bigimg {
    position: relative;
    background: url('../images/travel_bg_1920x700.jpg') center center / cover no-repeat;
    min-height: 350px;
    max-width: 1920px;
    margin: 0 auto;
}
.hero-overlay {
    position: absolute;
    top: 50%;
    left: 6%;
    transform: translateY(-50%);
    text-align: left;
    pointer-events: none;
    width: 44%;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,70,0.45);
    margin: 0 0 0.5rem;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: #e8f4ff;
    text-shadow: 0 1px 8px rgba(0,0,50,0.5);
    margin: 0;
    letter-spacing: 0.12em;
}

/* ===================== Hero Text ===================== */
.hero-text {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
    background: rgba(0,15,50,0.22);
}
.hero-title {
    font-size: 4.2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,80,0.7), 0 1px 6px rgba(0,0,0,0.5);
    margin: 0 0 0.7rem;
    letter-spacing: 0.05em;
}
.hero-subtitle {
    font-size: 2.25rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 14px rgba(0,0,60,0.9), 0 2px 6px rgba(0,0,0,0.6);
    margin: 0;
    letter-spacing: 0.15em;
}

/* ===================== Main Card ===================== */
.main-card-wrapper {
    background: transparent;
    padding: 1.5rem 1rem 2rem;
    position: relative;
    z-index: 10;
}
.main-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.12);
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 1.5rem;
    border: 1px solid #e8eef3;
}
.card-main-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

/* ===================== Country Buttons ===================== */
.country-buttons-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.country-btn {
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
    font-size: 1.8rem;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}
.country-btn:hover {
    border-color: #2a7ae4;
    color: #2a7ae4;
}
.country-btn.active {
    border-color: #2a7ae4;
    color: #2a7ae4;
    font-weight: 600;
}

/* ===================== Calendar Wrapper ===================== */
.calendar-wrapper {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* ===================== Month Nav ===================== */
.cal-month-nav {
    display: flex;
    align-items: center;
    padding: 0.8rem 0.5rem;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}
.cal-nav-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    padding: 0 0.5rem;
    line-height: 1;
    flex-shrink: 0;
}
.cal-nav-btn:hover { color: #333; }
.cal-nav-btn.disabled { color: #ddd; cursor: not-allowed; pointer-events: none; }
.cal-months-list {
    display: flex;
    flex: 1;
    justify-content: space-around;
    align-items: center;
    overflow-x: auto;
}
.cal-month-item {
    text-align: center;
    cursor: pointer;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    flex-shrink: 0;
    color: #aaa;
}
.cal-month-item:hover { color: #555; }
.cal-month-item.active {
    color: #2a7ae4;
    font-weight: 700;
    border-bottom: 2px solid #e03040;
}
.cal-month-num { font-size: 1.8rem; }
.cal-month-year { font-size: 1.2rem; margin-top: 1px; }

/* ===================== Calendar Grid ===================== */
.cal-grid-container {
    background: #fff;
}
.cal-header-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid #f0f0f0;
}
.cal-hcell {
    text-align: center;
    padding: 0.5rem 0;
    font-size: 1.5rem;
    color: #666;
    font-weight: 600;
}
.cal-hcell.holiday { background: #ffe0e0; }
.cal-body {}
.cal-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid #f5f5f5;
}
.cal-row:last-child { border-bottom: none; }
.cal-day {
    min-height: 90px;
    padding: 6px 8px 4px;
    border-right: 1px solid #f5f5f5;
    font-size: 1.07rem;
    cursor: default;
    box-sizing: border-box;
}
.cal-day:last-child { border-right: none; }
.cal-day.holiday { background: #ffe0e0; }
.cal-day.empty { background: #fafafa; cursor: default; }
.cal-day.no-tours .cal-dnum { color: #ccc; }
.cal-day.no-data .cal-dnum  { color: #bbb; }
.cal-day.has-tours { cursor: pointer; }
.cal-day.has-tours:hover { background: #f0f6ff; }
.cal-day.today .cal-dnum {
    background: #e03040;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cal-day.selected {
    background: #e03040 !important;
}
.cal-day.selected .cal-dnum,
.cal-day.selected .cal-formed,
.cal-day.selected .cal-forming,
.cal-day.selected .cal-holiday-name { color: #fff !important; }
.cal-holiday-name {
    display: inline-block;
    font-size: 1.3rem;
    color: #fff;
    background: #e03040;
    border-radius: 3px;
    padding: 1px 5px;
    line-height: 1.4;
    margin-top: 2px;
}
.cal-dnum {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}
.cal-formed {
    font-size: 1.5rem;
    color: #e03040;
    margin-top: 2px;
    line-height: 1.3;
}
.cal-forming {
    font-size: 1.5rem;
    color: #2a7ae4;
    margin-top: 1px;
    line-height: 1.3;
}

/* ===================== Legend & Disclaimer ===================== */
.cal-legend {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #f0f0f0;
    min-height: 8px;
}
.cal-disclaimer {
    font-size: 1.2rem;
    color: #aaa;
    margin-top: 0.8rem;
    line-height: 1.6;
}

/* ===================== Trip Cards Section ===================== */
.trip-cards-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
    background: #fff;
}
.trips-section-inner {}
.trips-date-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2a7ae4;
    margin-bottom: 1.2rem;
}
.trips-loading {
    text-align: center;
    padding: 2rem;
    color: #aaa;
    font-size: 0.95rem;
}
.no-trips {
    text-align: center;
    padding: 2rem;
    color: #aaa;
}

/* Trip Card - 3-column horizontal layout */
.trip-card {
    display: flex;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.trip-card-img-wrap {
    width: 260px;
    flex-shrink: 0;
    overflow: hidden;
}
.trip-card-img-wrap img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
    display: block;
}
.trip-card-body {
    flex: 1;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #f0f0f0;
    min-width: 0;
}
.trip-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}
.trip-title:hover { color: #2a7ae4; }
.trip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}
.trip-tag {
    font-size: 1.2rem;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid;
    font-weight: 500;
    white-space: nowrap;
}
.tag-forming { color: #2a7ae4; border-color: #2a7ae4; background: #f0f4ff; }
.tag-formed  { color: #e03040; border-color: #e03040; background: #ffe8e8; }
.tag-city    { color: #0d9488; border-color: #0d9488; background: #f0fdfa; }
.trip-code {
    font-size: 1.2rem;
    color: #bbb;
    margin-top: auto;
    padding-top: 0.6rem;
}

/* Right column */
.trip-card-right {
    width: 180px;
    flex-shrink: 0;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.trip-right-date {
    font-size: 1.4rem;
    color: #666;
    text-align: right;
    margin-bottom: 0.3rem;
}
.trip-right-days {
    font-size: 1.4rem;
    color: #555;
    text-align: right;
    margin-bottom: auto;
}
.trip-right-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e03040;
    text-align: right;
    line-height: 1.2;
    margin-bottom: 0.6rem;
}
.trip-right-price span {
    font-size: 1.2rem;
    color: #e03040;
    font-weight: 400;
}
.trip-detail-btn {
    display: block;
    background: #e03040;
    color: #fff !important;
    border-radius: 6px;
    padding: 0.5rem 0;
    text-align: center;
    width: 100%;
    font-size: 1.5rem;
    font-weight: 600;
}
.trip-detail-btn:hover { background: #c0202e; }

/* See All */
.see-all-wrap { text-align: center; margin-top: 1.5rem; }
.see-all-btn {
    display: inline-block;
    border: 1px solid #2a7ae4;
    color: #2a7ae4 !important;
    border-radius: 4px;
    padding: 0.6rem 2rem;
    font-size: 2.0rem;
}
.see-all-btn:hover { background: #2a7ae4; color: #fff !important; }

/* ===================== Responsive ===================== */
@media screen and (max-width: 767px) {
    .hero-title { font-size: 3.8rem; }
    .cal-holiday-name { font-size: 1.1rem; }
    .main-card-wrapper { padding: 0.5rem 0.5rem 1.5rem; }
    .main-card { padding: 1.2rem 0.8rem 1rem; border-radius: 10px; }
    .country-buttons-wrap { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 0.8rem; -webkit-overflow-scrolling: touch; }
    .country-btn { flex-shrink: 0; }
    .cal-day { min-height: 72px; padding: 4px 3px; }
    .cal-dnum { font-size: 1.2rem; }
    .cal-formed, .cal-forming { font-size: 1.2rem; }
    .cal-month-item { padding: 0.1rem 0.4rem; }
    .cal-month-num  { font-size: 1.5rem; }
    .cal-month-year { font-size: 1.2rem; }
    .trip-card { flex-direction: column; }
    .trip-card-img-wrap { width: 100%; height: 200px; }
    .trip-card-img-wrap img { min-height: 200px; }
    .trip-card-body { border-right: none; border-bottom: 1px solid #f0f0f0; }
    .trip-card-right { width: 100%; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 0.5rem; padding: 0.8rem 1rem; }
    .trip-right-date, .trip-right-days { margin-bottom: 0; }
    .trip-right-price { margin-bottom: 0; font-size: 2rem; }
    .trip-right-price span { font-size: 1.3rem; }
    .trip-tag { font-size: 1.5rem; }
    .trip-detail-btn { width: auto; padding: 0.4rem 1.2rem; margin-left: auto; }
    .trips-date-title { font-size: 2rem; }
}

/* --------------------------------------------- 2025.04.25 simon banner排版改版 --------------------------------------------- */
#page{
	background-color: transparent;
}
.bgimg{
	background-color: #a7c7cf;
	background-image: url('../images/travel_bg.png');
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
	background-repeat: no-repeat;
}
/* iOS Safari 不支援 fixed，改回 scroll 避免圖片跑版 */
@supports (-webkit-touch-callout: none) {
	.bgimg {
		background-attachment: scroll;
	}
}
.bigimg img {
    width: 100%;
    max-width: 1920px;
    margin: auto;
    display: block;
    height: auto;
}
@media screen and (max-width: 768px){
	.bigimg{
		height: 19rem;
		background-size: calc(180vw);
	}
	.bigimg img {
        width: 100%;
        height: 19rem;
        object-fit: cover;
        object-position: center;
    }
}
 /* ---------------------------- 2025.04.25 simon 頁尾 footer ---------------------------- */
footer {
	background-color: #FFF;
	-webkit-box-shadow: 0px 0px 8px hsla(0,0%,0%,0.50);
	box-shadow: 0px 0px 8px hsla(0,0%,0%,0.50);
	text-align: center;
	font-size: 14pt;
	padding-top: 30px;
	padding-bottom: 30px;
	z-index: 1;
	position: relative;
}
#footerfunc ul li a {
	display: inline-block;
	line-height: 100%;
	font-size: 14px;
	color: #666666;
}
#footerfunc .dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    display: none;
    margin-top: -1px;
    width:180px;
    height:150px;
    text-align:left;
}
#footerfunc .dropdown-menu li:hover .sub-menu {
    display: block;
    width:180px;
    height:150px;
    text-align:left;
}
#footerfunc .dropdown:hover .dropdown-menu {
    display: block;
    width:180px;
    height:150px;
    text-align:left;
}
#footerfunc .nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
    width:180px;
    height:150px;
    text-align:left;
    line-height:200%;
}
#footerfunc .navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}
#footerfunc .navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}
#footer {
	clear:both;
	width:100%;
	height:150px;
	position:relative;
	list-style: none;
	top:0;
	left:0;
	z-index:99;
    background-color: #67b0d1;
	text-align:center;
}
#footer_wrap {
	margin:0 auto;
	width:980px;
	position:relative;
	text-align:center;
}
#footer .company {
	text-align:center;
	float:left;
	margin:5px;
	padding:0;
}
#footer .globalcompany {
	text-align:center;

	margin:5px;
	padding:0;
}
#footer .globalcompany p {
	margin:0 5px 0;
	padding:0;
	font-size:12pt;
	line-height:1.8em;
	color: #f8f8f8;
}
#footer .icon {
	float:left;
	margin:10px auto;
	padding:0;
}
#footer p {
	margin:0 5px 0;
	padding:0;
	font-size:10pt;
	line-height:1.8em;
	color: #f8f8f8;
}
#footer p.footer_fb {
	margin:15px 0 0 12px;
}
#footer p a:link, #footer p a:visited { 
	color:#006ec5; text-decoration:none
}
#footer p  a:hover, #footer p a:active { 
	text-decoration:underline
}
#footer_csf {
	clear:both;
	width:100%;
	height:100px;
	position:relative;

	list-style: none;
	top:0;
	left:0;
	z-index:999 !important;
    background-color: #67b0d1;
	text-align:center;
}
#footer_wrap_csf {
	margin:0 auto;
	width:980px;
	position:relative;
	text-align:center;
}
#footer_csf p {
	margin:0 5px 0;
	padding:0;
	font-size:10pt;
	line-height:1.8em;
	color: #f8f8f8;
}
.footer{
	background-color: #fff;
}
.nav-tabs{
  display: flex; 
  justify-content: center;
}
/* ----------------------------   ---------------------------- */