/* =========================================================
   ENDE HOLIDAYS
   KATEGORI / TAG TOUR PAGE
   STANDALONE CSS
   Tidak membutuhkan tour.css
========================================================= */


/* =========================================================
   RESET
========================================================= */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* =========================================================
   ROOT
========================================================= */

:root {
    --kategori-gold: #E99F24;
    --kategori-gold-light: #F2B94B;
    --kategori-gold-dark: #C98212;

    --kategori-dark: #241C16;
    --kategori-dark-soft: #30261E;

    --kategori-text: #17202A;
    --kategori-text-soft: #667085;
    --kategori-border: #E8E8E8;

    --kategori-bg: #FFFFFF;
    --kategori-bg-soft: #F8F7F4;

    --kategori-radius: 18px;
    --kategori-shadow:
        0 12px 35px rgba(27, 20, 14, 0.08);

    --kategori-container: 1240px;
}


/* =========================================================
   BODY
========================================================= */

body {
    font-family:
        "Poppins",
        "Inter",
        Arial,
        sans-serif;

    color: var(--kategori-text);
    background: #fff;

    overflow-x: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.tour-filter-header .container,
.tour-quick-nav .container,
.tour-filter-intro .container,
.tour-filter-list .container,
.tour-page-cta .container {
    width: 100%;
    max-width: var(--kategori-container);

    margin-left: auto;
    margin-right: auto;

    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   COMMON
========================================================= */

.tour-filter-header,
.tour-quick-nav,
.tour-filter-intro,
.tour-filter-list,
.tour-page-cta {
    width: 100%;
}

.tour-filter-header a,
.tour-quick-nav a,
.tour-filter-list a,
.tour-page-cta a {
    text-decoration: none;
}


/* =========================================================
   CATEGORY HEADER
========================================================= */

.tour-filter-header {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #33271E 0%,
            #211A15 100%
        );
}


/* Background */

.tour-filter-header-bg {
    position: absolute;
    inset: 0;

    background-image:
        url("../../images/tour-hero.webp");

    background-size: cover;
    background-position: center;

    transform: scale(1.02);
}


/* Overlay */

.tour-filter-header-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(27, 20, 15, 0.94) 0%,
            rgba(27, 20, 15, 0.82) 45%,
            rgba(27, 20, 15, 0.45) 100%
        );
}


/* Content */

.tour-filter-header-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 760px;

    padding-top: 110px;
    padding-bottom: 90px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.tour-filter-header .tour-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 28px;

    font-size: 13px;
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.72);
}

.tour-filter-header .tour-breadcrumb a {
    color: rgba(255, 255, 255, 0.72);

    transition: color 0.2s ease;
}

.tour-filter-header .tour-breadcrumb a:hover {
    color: var(--kategori-gold-light);
}

.tour-filter-header .tour-breadcrumb span {
    color: rgba(255, 255, 255, 0.38);
}

.tour-filter-header .tour-breadcrumb strong {
    color: #fff;
    font-weight: 600;
}


/* =========================================================
   EYEBROW
========================================================= */

.tour-filter-eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 16px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.18em;

    color: var(--kategori-gold-light);
}


/* =========================================================
   HEADER TITLE
========================================================= */

.tour-filter-header h1 {
    margin: 0;

    max-width: 780px;

    color: #fff;

    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -0.035em;
}

.tour-filter-header h1 em {
    display: block;

    margin-top: 5px;

    color: var(--kategori-gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
    font-style: italic;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.tour-filter-description {
    max-width: 700px;

    margin-top: 24px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   RESULT
========================================================= */

.tour-filter-result {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-top: 30px;

    padding: 10px 16px;

    border: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);
}

.tour-filter-result-number {
    color: var(--kategori-gold-light);

    font-size: 18px;
    font-weight: 700;
}

.tour-filter-result-text {
    color: rgba(255, 255, 255, 0.75);

    font-size: 13px;
}


/* =========================================================
   QUICK NAV
========================================================= */

.tour-quick-nav {
    position: relative;
    z-index: 5;

    background: #fff;

    border-bottom: 1px solid var(--kategori-border);

    box-shadow:
        0 8px 25px rgba(20, 15, 10, 0.04);
}

.tour-quick-nav-wrapper {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    width: 100%;
}

.tour-quick-item {
    min-height: 92px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 18px 22px;

    color: var(--kategori-text);

    border-right: 1px solid var(--kategori-border);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.tour-quick-item:last-child {
    border-right: 0;
}

.tour-quick-item:hover {
    background: #FCFAF6;
}

.tour-quick-item.active {
    background: #FCF7EE;
}

.tour-quick-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #FFF4DF;

    color: var(--kategori-gold-dark);

    font-size: 19px;
}

.tour-quick-item > span:last-child {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.tour-quick-item strong {
    color: var(--kategori-text);

    font-size: 14px;
    font-weight: 700;

    line-height: 1.3;
}

.tour-quick-item small {
    color: var(--kategori-text-soft);

    font-size: 11px;

    line-height: 1.4;
}


/* =========================================================
   INTRO
========================================================= */

.tour-filter-intro {
    padding: 90px 0 75px;

    background: var(--kategori-bg-soft);
}

.tour-filter-intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: 80px;

    align-items: start;
}

.tour-filter-intro-heading {
    min-width: 0;
}

.section-eyebrow {
    display: block;

    margin-bottom: 14px;

    color: var(--kategori-gold-dark);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.16em;
}

.tour-filter-intro-heading h2 {
    margin: 0;

    color: var(--kategori-text);

    font-size: clamp(30px, 3.5vw, 46px);

    line-height: 1.15;

    letter-spacing: -0.035em;
}

.tour-filter-intro-heading h2 em {
    display: block;

    margin-top: 4px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
    font-style: italic;
}

.tour-filter-intro-text {
    max-width: 620px;
}

.tour-filter-intro-text p {
    margin: 0 0 18px;

    color: #626B76;

    font-size: 16px;

    line-height: 1.85;
}

.tour-filter-intro-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   TOUR LIST
========================================================= */

.tour-filter-list {
    padding: 85px 0 100px;

    background: #fff;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading-row {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 38px;
}

.section-heading-row > div:first-child {
    min-width: 0;
}

.section-heading-row h2 {
    margin: 0;

    color: var(--kategori-text);

    font-size: clamp(28px, 3vw, 38px);

    line-height: 1.2;

    letter-spacing: -0.03em;
}

.tour-total-count {
    flex: 0 0 auto;

    padding: 9px 15px;

    border: 1px solid var(--kategori-border);

    border-radius: 999px;

    color: var(--kategori-text-soft);

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
}


/* =========================================================
   TOUR GRID
========================================================= */

.tour-page-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;

    width: 100%;
}


/* =========================================================
   TOUR CARD
========================================================= */

.tour-page-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #fff;

    border: 1px solid #ECECEC;

    border-radius: var(--kategori-radius);

    box-shadow: var(--kategori-shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.tour-page-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 45px rgba(27, 20, 14, 0.13);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.tour-page-card-image {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #eee;
}

.tour-page-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.tour-page-card:hover
.tour-page-card-image img {
    transform: scale(1.05);
}


/* =========================================================
   BADGES
========================================================= */

.tour-page-badges {
    position: absolute;

    top: 14px;
    left: 14px;

    z-index: 2;

    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}

.tour-page-badge {
    display: inline-flex;

    align-items: center;

    min-height: 26px;

    padding: 5px 9px;

    border-radius: 999px;

    background: rgba(35, 28, 22, 0.88);

    color: #fff;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.04em;

    backdrop-filter: blur(5px);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.tour-page-card-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 22px 22px 20px;
}


/* =========================================================
   LOCATION
========================================================= */

.tour-page-location {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 10px;

    color: var(--kategori-gold-dark);

    font-size: 12px;
    font-weight: 600;

    line-height: 1.4;
}

.tour-page-location svg {
    flex: 0 0 auto;

    width: 15px;
    height: 15px;
}


/* =========================================================
   CARD TITLE
========================================================= */

.tour-page-card-content h3 {
    margin: 0;

    font-size: 20px;

    line-height: 1.35;

    letter-spacing: -0.02em;
}

.tour-page-card-content h3 a {
    color: var(--kategori-text);

    transition: color 0.2s ease;
}

.tour-page-card-content h3 a:hover {
    color: var(--kategori-gold-dark);
}


/* =========================================================
   CARD DESCRIPTION
========================================================= */

.tour-page-card-content > p {
    margin: 11px 0 0;

    color: var(--kategori-text-soft);

    font-size: 13px;

    line-height: 1.7;

    display: -webkit-box;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.tour-page-card-footer {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;

    margin-top: auto;

    padding-top: 20px;
}


/* =========================================================
   PRICE
========================================================= */

.tour-page-price {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.tour-page-price small {
    color: #8A929B;

    font-size: 10px;

    line-height: 1.4;
}

.tour-page-price strong {
    color: var(--kategori-text);

    font-size: 17px;

    line-height: 1.3;

    white-space: nowrap;
}


/* =========================================================
   ARROW
========================================================= */

.tour-page-arrow {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--kategori-gold);

    color: #fff !important;

    font-size: 20px;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.tour-page-card:hover
.tour-page-arrow {
    transform: translateX(3px);

    background: var(--kategori-gold-dark);
}


/* =========================================================
   EMPTY
========================================================= */

.tour-empty {
    grid-column: 1 / -1;

    min-height: 250px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 20px;

    padding: 40px;

    text-align: center;

    border: 1px dashed #D9D9D9;

    border-radius: var(--kategori-radius);

    background: var(--kategori-bg-soft);
}

.tour-empty p {
    margin: 0;

    color: var(--kategori-text-soft);

    font-size: 15px;
}


/* =========================================================
   BUTTON
========================================================= */

.btn-primary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 22px;

    border: 0;
    border-radius: 999px;

    background: var(--kategori-gold);

    color: #fff !important;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.btn-primary:hover {
    background: var(--kategori-gold-dark);

    transform: translateY(-2px);
}


/* =========================================================
   PAGINATION
========================================================= */

.tour-pagination-wrapper {
    display: flex;

    justify-content: center;

    width: 100%;

    margin-top: 55px;
}

.tour-pagination-wrapper ul {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.tour-pagination-wrapper li {
    margin: 0;
    padding: 0;
}

.tour-pagination-wrapper a,
.tour-pagination-wrapper span {
    min-width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 11px;

    border: 1px solid #E5E5E5;

    border-radius: 10px;

    background: #fff;

    color: var(--kategori-text);

    font-size: 12px;
    font-weight: 600;
}

.tour-pagination-wrapper .active span,
.tour-pagination-wrapper a:hover {
    border-color: var(--kategori-gold);

    background: var(--kategori-gold);

    color: #fff;
}


/* =========================================================
   CTA
========================================================= */

.tour-page-cta {
    position: relative;

    min-height: 430px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: var(--kategori-dark);
}

.tour-page-cta-image {
    position: absolute;

    inset: 0;

    background-image:
        url("../../images/home-cta.webp");

    background-size: cover;
    background-position: center;
}

.tour-page-cta-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(30, 23, 17, 0.95) 0%,
            rgba(30, 23, 17, 0.82) 55%,
            rgba(30, 23, 17, 0.62) 100%
        );
}

.tour-page-cta-content {
    position: relative;
    z-index: 2;

    max-width: 720px;

    padding: 80px 0;
}

.tour-page-eyebrow {
    display: block;

    margin-bottom: 16px;

    color: var(--kategori-gold-light);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.16em;
}

.tour-page-cta-content h2 {
    margin: 0;

    color: #fff;

    font-size: clamp(32px, 4vw, 52px);

    line-height: 1.12;

    letter-spacing: -0.035em;
}

.tour-page-cta-content h2 em {
    display: block;

    margin-top: 4px;

    color: var(--kategori-gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
    font-style: italic;
}

.tour-page-cta-content p {
    max-width: 620px;

    margin: 22px 0 28px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .tour-filter-header-content {
        max-width: 680px;

        padding-top: 90px;
        padding-bottom: 75px;
    }

    .tour-quick-nav-wrapper {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .tour-quick-item:nth-child(2) {
        border-right: 0;
    }

    .tour-quick-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--kategori-border);
    }

    .tour-filter-intro-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .tour-page-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .tour-filter-header .container,
    .tour-quick-nav .container,
    .tour-filter-intro .container,
    .tour-filter-list .container,
    .tour-page-cta .container {
        padding-left: 18px;
        padding-right: 18px;
    }


    /* HEADER */

    .tour-filter-header {
        min-height: 460px;
    }

    .tour-filter-header-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(27, 20, 15, 0.95),
                rgba(27, 20, 15, 0.76)
            );
    }

    .tour-filter-header-content {
        padding-top: 75px;
        padding-bottom: 60px;
    }

    .tour-filter-header h1 {
        font-size: 39px;
    }

    .tour-filter-description {
        font-size: 14px;
        line-height: 1.7;
    }


    /* QUICK NAV */

    .tour-quick-nav-wrapper {
        grid-template-columns: 1fr;
    }

    .tour-quick-item {
        min-height: 78px;

        border-right: 0 !important;
        border-bottom: 1px solid var(--kategori-border);
    }

    .tour-quick-item:last-child {
        border-bottom: 0;
    }


    /* INTRO */

    .tour-filter-intro {
        padding: 60px 0 50px;
    }

    .tour-filter-intro-heading h2 {
        font-size: 32px;
    }

    .tour-filter-intro-text p {
        font-size: 14px;
    }


    /* LIST */

    .tour-filter-list {
        padding: 60px 0 70px;
    }

    .section-heading-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;

        margin-bottom: 28px;
    }

    .section-heading-row h2 {
        font-size: 29px;
    }


    /* GRID */

    .tour-page-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    /* CARD */

    .tour-page-card-content {
        padding: 19px 18px 18px;
    }

    .tour-page-card-content h3 {
        font-size: 19px;
    }


    /* CTA */

    .tour-page-cta {
        min-height: 450px;
    }

    .tour-page-cta-content {
        padding: 65px 0;
    }

    .tour-page-cta-content h2 {
        font-size: 35px;
    }

    .tour-page-cta-content p {
        font-size: 14px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .tour-filter-header h1 {
        font-size: 34px;
    }

    .tour-filter-eyebrow {
        font-size: 10px;
    }

    .tour-filter-result {
        width: auto;
    }

    .tour-page-card-image {
        aspect-ratio: 16 / 10;
    }

    .tour-page-price strong {
        font-size: 15px;
    }

}