/* Travel style override loaded after page styles. */
:root {
    --primary-color: #0f766e;
    --travel-primary: #0f766e;
    --travel-primary-dark: #123c44;
    --travel-sky: #dff6f3;
    --travel-sand: #fff8eb;
    --travel-cream: #fffdf7;
    --travel-accent: #f59e0b;
    --travel-coral: #f9735b;
    --travel-ink: #17333a;
    --travel-muted: #667985;
    --travel-line: rgba(18, 60, 68, 0.12);
    --travel-shadow: 0 18px 45px rgba(18, 60, 68, 0.14);
    --travel-soft-shadow: 0 10px 28px rgba(18, 60, 68, 0.10);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--travel-ink);
    background:
        linear-gradient(180deg, rgba(223, 246, 243, 0.55) 0, rgba(255, 248, 235, 0.55) 520px, #fffdf7 100%);
    font-family: "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
}

.container {
    max-width: 1220px;
}

.section-title {
    color: var(--travel-ink);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.18;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 74px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--travel-primary), var(--travel-accent));
}

.top-bar {
    background: linear-gradient(90deg, #0b2f36, #0f766e);
    color: rgba(255, 255, 255, 0.86);
}

.top-bar-right .elementor-social-icon,
.top-bar-right a {
    color: rgba(255, 255, 255, 0.86);
}

.top-bar-right .elementor-social-icon:hover,
.top-bar-right a:hover {
    color: #fff;
}

header.main-header {
    background: rgba(11, 47, 54, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 48px rgba(8, 30, 38, 0.18);
    backdrop-filter: blur(16px);
}

.header-inner {
    height: 76px;
}

.logo img {
    max-width: 180px;
    object-fit: contain;
}

.nav-links {
    gap: 10px;
}

.nav-links a {
    padding: 10px 14px;
    border-radius: 99px;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a.is-current,
.nav-links .is-current {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.header-actions {
    gap: 12px;
}

.header-actions .search-trigger {
    color: rgba(255, 255, 255, 0.86);
}

.btn,
.btn-contact,
.btn-search,
.btn-about,
.mid-banner .btn-book,
.subscribe-form button,
.search-page-form button {
    background: linear-gradient(135deg, var(--travel-primary), #159a92);
    color: #fff !important;
    border: 0;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
}

.btn:hover,
.btn-contact:hover,
.btn-search:hover,
.btn-about:hover,
.mid-banner .btn-book:hover,
.subscribe-form button:hover,
.search-page-form button:hover {
    background: linear-gradient(135deg, #0b5f58, var(--travel-primary-dark));
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-contact {
    border-radius: 99px;
    padding: 10px 22px;
}

.hero-inner,
.search-hero {
    overflow: hidden;
}

.hero {
    overflow: visible;
    min-height: 560px;
    margin-bottom: 72px;
}

.hero::after,
.hero::before,
.hero-inner::before,
.search-hero::before,
.mid-banner::before {
    background:
        linear-gradient(115deg, rgba(10, 45, 54, 0.70), rgba(15, 118, 110, 0.30) 42%, rgba(245, 158, 11, 0.12)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.42));
}

.hero-text {
    transform: translateY(-18px);
}

.hero-text h1 {
    font-weight: 800;
    font-size: clamp(38px, 5vw, 68px);
    letter-spacing: 0;
    text-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
}

.hero-text p {
    display: inline-block;
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.94);
    letter-spacing: 0;
    backdrop-filter: blur(10px);
}

.hero-search {
    max-width: 940px;
    bottom: -44px;
}

.search-tabs {
    gap: 12px;
    margin-bottom: 14px;
}

.search-tabs span {
    padding: 9px 20px;
    border-radius: 99px;
    color: #fff;
    opacity: 1;
    background: rgba(11, 47, 54, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
    transition: background 0.25s ease, transform 0.25s ease;
}

.search-tabs span.active,
.search-tabs span:hover {
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(245, 158, 11, 0.92);
    transform: translateY(-1px);
}

.search-box,
.search-container,
.search-page-form {
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--travel-shadow);
}

.search-box {
    height: 72px;
    padding-left: 26px;
}

.search-container {
    max-width: 840px;
    border-radius: 26px;
    padding: 10px;
    margin-top: 120px;
}

.search-box input,
.search-container input,
.search-page-form input,
.subscribe-form input,
.form-control {
    color: var(--travel-ink);
}

.search-box input::placeholder,
.search-container input::placeholder,
.search-page-form input::placeholder,
.subscribe-form input::placeholder {
    color: #92a3aa;
}

.btn-search {
    border-radius: 20px;
    min-height: 54px;
    font-weight: 800;
}

.category-cards,
.recommendation,
.gallery,
.testimonials {
    max-width: 1220px;
}

.category-cards {
    gap: 18px;
}

.cat-card,
.gallery-item {
    border-radius: 22px;
    box-shadow: var(--travel-soft-shadow);
}

.cat-card::after,
.gallery-item .overlay-text {
    background:
        linear-gradient(180deg, rgba(11, 47, 54, 0.06), rgba(11, 47, 54, 0.66)),
        linear-gradient(90deg, rgba(15, 118, 110, 0.18), rgba(245, 158, 11, 0.12));
}

.cat-card:hover::after,
.gallery-item:hover .overlay-text {
    background:
        linear-gradient(180deg, rgba(11, 47, 54, 0.02), rgba(11, 47, 54, 0.48)),
        linear-gradient(90deg, rgba(15, 118, 110, 0.10), rgba(245, 158, 11, 0.08));
}

.cat-card h3,
.gallery-item .overlay-text h3 {
    font-weight: 800;
    letter-spacing: 0;
}

.recommendation,
.gallery {
    padding-top: 70px;
    padding-bottom: 70px;
}

.tabs {
    gap: 10px;
}

.tabs span {
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 99px;
    background: #fff;
    color: var(--travel-muted);
    box-shadow: 0 8px 22px rgba(18, 60, 68, 0.06);
}

.tabs span.active,
.tabs span:hover {
    background: linear-gradient(135deg, var(--travel-primary), #159a92);
    border-color: transparent;
    color: #fff;
}

.item-card,
.card,
.hotel-card,
.search-results-grid .search-result-card,
.testi-card,
.booking-card,
.line-itinerary-item {
    border: 1px solid var(--travel-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--travel-soft-shadow);
    overflow: hidden;
}

.item-card:hover,
.card:hover,
.hotel-card:hover,
.search-results-grid .search-result-card:hover,
.testi-card:hover {
    box-shadow: var(--travel-shadow);
    transform: translateY(-6px);
}

.item-card img,
.card-img,
.hotel-img,
.search-result-img img,
.gallery-grid img {
    transition: transform 0.55s ease, filter 0.55s ease;
}

.item-card:hover img,
.card:hover .card-img,
.hotel-card:hover .hotel-img,
.search-result-card:hover .search-result-img img {
    transform: scale(1.045);
}

.item-info,
.card-info,
.hotel-info,
.search-result-info {
    padding: 22px;
}

.item-info h4,
.card-title,
.hotel-title,
.search-result-info h3,
.testi-title {
    color: var(--travel-ink);
    font-weight: 800;
    letter-spacing: 0;
}

.item-info .divider,
.hotel-divider,
.card-rating,
.search-result-bottom,
.testi-divider,
.details-header,
.content-section.cms-content,
.line-itinerary-section,
.info-item {
    border-color: var(--travel-line);
}

.stars,
.item-info .stars,
.testi-stars,
.stars-fill svg {
    color: var(--travel-accent);
    fill: var(--travel-accent);
}

.item-rating .score,
.score-box,
.score-badge {
    border-color: rgba(15, 118, 110, 0.35);
    color: var(--travel-primary);
    background: rgba(223, 246, 243, 0.72);
}

.item-price,
.card-price,
.hotel-price,
.price-value,
.score-text,
.info-item:hover h3 {
    color: var(--travel-primary);
}

.route-section,
.list-section,
.hotel-section,
.search-page-container {
    padding-top: 70px;
    padding-bottom: 86px;
    background:
        radial-gradient(circle at 10% 0, rgba(223, 246, 243, 0.82), transparent 34%),
        linear-gradient(180deg, #fffdf7, #f5fbfa);
}

.route-grid,
.list-grid,
.hotel-grid,
.search-results-grid {
    gap: 28px;
}

.card-img,
.search-result-img {
    height: 230px;
}

.hotel-img {
    height: 285px;
}

.search-result-badge {
    background: rgba(15, 118, 110, 0.90);
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
}

.search-hero {
    position: relative;
    padding-top: 190px;
    background:
        linear-gradient(135deg, rgba(18, 60, 68, 0.98), rgba(15, 118, 110, 0.86)),
        url("../../picture/line1-1024x683.webp") center/cover;
}

.search-hero .container,
.search-hero h1 {
    position: relative;
    z-index: 1;
}

.search-hero h1,
.hero-title {
    font-weight: 800;
    letter-spacing: 0;
}

.hero-inner {
    height: 390px;
}

.breadcrumbs,
.breadcrumbs a {
    color: rgba(255, 255, 255, 0.90);
}

.breadcrumbs a:hover {
    color: var(--travel-accent);
}

.main-content {
    gap: 32px;
}

.details-left {
    background: #fff;
    border: 1px solid var(--travel-line);
    border-radius: 24px;
    box-shadow: var(--travel-soft-shadow);
    padding: 28px;
}

.gallery-section {
    background: var(--travel-cream);
}

.gallery-grid img {
    border-radius: 18px;
    box-shadow: var(--travel-soft-shadow);
}

.line-overview-icon {
    border-color: rgba(15, 118, 110, 0.20);
    color: var(--travel-primary);
    background: rgba(223, 246, 243, 0.70);
}

.line-overview-copy strong,
.content-section.cms-content h2,
.content-section.cms-content h3,
.line-itinerary-section h2,
.info-item h3 {
    color: var(--travel-ink);
}

.line-itinerary-time {
    color: var(--travel-primary);
    border-color: rgba(15, 118, 110, 0.22);
    background: rgba(223, 246, 243, 0.70);
}

.line-itinerary-head:hover {
    background: rgba(223, 246, 243, 0.52);
}

.booking-tabs {
    border-color: rgba(15, 118, 110, 0.18);
}

.booking-tabs .tab-btn.active {
    background: linear-gradient(135deg, var(--travel-primary), #159a92);
}

.form-control {
    border-color: rgba(15, 118, 110, 0.18);
    border-radius: 12px;
    background: #fffdf7;
}

.form-control:focus {
    border-color: var(--travel-primary);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.10);
}

.pay-btn.btn-card,
.booking-card button[type="submit"] {
    background: linear-gradient(135deg, var(--travel-primary), #159a92);
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.24);
}

.pay-btn.btn-card:hover,
.booking-card button[type="submit"]:hover {
    background: linear-gradient(135deg, #0b5f58, var(--travel-primary-dark));
}

.about-section {
    background:
        linear-gradient(180deg, #fffdf7, var(--travel-sand));
}

.about-section .section-title,
.about-text {
    color: var(--travel-ink);
}

.about-text {
    max-width: 900px;
}

.about-images {
    gap: 18px;
}

.about-images img {
    border-radius: 22px;
    box-shadow: var(--travel-soft-shadow);
}

.mid-banner {
    min-height: 540px;
}

.mid-banner-content h2 {
    font-weight: 800;
    letter-spacing: 0;
}

.mid-banner .btn-book,
.btn-about {
    border-radius: 99px;
    padding-left: 34px;
    padding-right: 34px;
}

.testimonials {
    background: #fffdf7;
}

.testi-card {
    padding: 30px;
}

.slider-btn {
    border-color: rgba(15, 118, 110, 0.18);
    color: var(--travel-primary);
}

.slider-btn:hover,
.dot.active,
.pagination a:hover,
.pagination .active {
    background: var(--travel-primary);
    border-color: var(--travel-primary);
    color: #fff;
}

.pagination a,
.pagination span {
    border-color: rgba(15, 118, 110, 0.16);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(18, 60, 68, 0.05);
}

footer {
    background:
        linear-gradient(135deg, #0b2f36, #123c44 60%, #0f766e);
    border-top: 0;
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid h4,
.footer-col.brand-col .footer-contact p {
    color: #fff;
}

.footer-col.brand-col .footer-desc,
.footer-col.links-col ul li,
.footer-col.subscribe-col p,
.footer-bottom-left {
    color: rgba(255, 255, 255, 0.72);
}

.footer-col.links-col ul li a:hover {
    color: var(--travel-accent);
}

.footer-bottom-wrapper {
    border-top-color: rgba(255, 255, 255, 0.16);
}

.subscribe-form {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
}

.subscribe-form input {
    background: transparent;
    color: #fff;
}

.pay-icon {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.88);
}

.elementor-social-icon {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.fab-toggle {
    background: linear-gradient(135deg, var(--travel-accent), var(--travel-coral));
    box-shadow: 0 14px 28px rgba(249, 115, 91, 0.34);
}

.fab-fb {
    background: #1877f2;
}

.fab-wa {
    background: #22c55e;
}

.mobile-menu-toggle span {
    background: #fff;
}

@media (max-width: 992px) {
    .container {
        max-width: 100%;
    }

    .nav-links {
        background: rgba(11, 47, 54, 0.98);
        box-shadow: 0 22px 36px rgba(8, 30, 38, 0.22);
        backdrop-filter: blur(14px);
    }

    .nav-links a {
        border-radius: 14px;
        border-bottom: 0;
    }

    .hero {
        min-height: 450px;
        margin-bottom: 62px;
    }

    .hero-search {
        max-width: min(92%, 760px);
    }

    .category-cards,
    .recommendation,
    .gallery,
    .testimonials {
        max-width: 100%;
    }

    .route-grid,
    .list-grid,
    .hotel-grid,
    .search-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hotel-img {
        height: 250px;
    }

    .details-left {
        padding: 22px;
    }
}

@media (max-width: 768px) {
    body {
        background: #fffdf7;
    }

    header.main-header {
        background: rgba(11, 47, 54, 0.94);
    }

    .header-inner {
        height: 58px;
    }

    .logo img {
        max-width: 138px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .btn-contact {
        padding: 7px 11px;
        font-size: 12px;
    }

    .hero {
        min-height: 390px;
        height: 390px;
        margin-bottom: 72px;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .hero-text p {
        display: block;
        max-width: 92%;
        margin: 0 auto;
        font-size: 13px;
        line-height: 1.55;
    }

    .hero-search {
        bottom: -54px;
    }

    .search-tabs {
        gap: 6px;
    }

    .search-tabs span {
        padding: 7px 13px;
        font-size: 13px;
    }

    .search-box,
    .search-container,
    .search-page-form {
        border-radius: 20px;
    }

    .search-box {
        padding: 13px;
        gap: 8px;
    }

    .search-container {
        margin-top: 108px;
        padding: 13px;
        gap: 8px;
    }

    .btn-search {
        border-radius: 16px;
        min-height: 48px;
    }

    .section-title {
        font-size: 28px;
    }

    .category-cards {
        margin-top: 118px;
    }

    .cat-card,
    .gallery-item {
        border-radius: 18px;
    }

    .recommendation,
    .gallery,
    .route-section,
    .list-section,
    .hotel-section,
    .search-page-container {
        padding-top: 42px;
        padding-bottom: 58px;
    }

    .route-grid,
    .list-grid,
    .hotel-grid,
    .search-results-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .item-card,
    .card,
    .hotel-card,
    .search-results-grid .search-result-card,
    .testi-card,
    .booking-card,
    .details-left {
        border-radius: 18px;
    }

    .item-card img,
    .card-img,
    .search-result-img,
    .hotel-img {
        height: 210px;
    }

    .item-info,
    .card-info,
    .hotel-info,
    .search-result-info {
        padding: 18px;
    }

    .search-hero {
        padding-top: 112px;
        padding-bottom: 64px;
    }

    .search-page-form {
        max-width: 100%;
    }

    .hero-inner {
        height: 290px;
        padding-bottom: 32px;
    }

    .hero-title {
        font-size: 28px;
    }

    .main-content {
        gap: 22px;
    }

    .details-left {
        padding: 18px;
    }

    .mid-banner {
        min-height: 320px;
    }

    .about-images {
        gap: 14px;
    }

    .subscribe-form {
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 350px;
        height: 350px;
    }

    .hero-text h1 {
        font-size: 25px;
    }

    .hero-search {
        bottom: -68px;
    }

    .search-tabs span {
        padding: 7px 11px;
    }

    .category-cards {
        margin-top: 132px;
    }

    .item-card img,
    .card-img,
    .search-result-img,
    .hotel-img {
        height: 190px;
    }
}
