/* =========================================================
   DESTINASI PAGE
========================================================= */

.destinations-page {
    background: #f6f8f7;
    color: #17352f;
}


/* =========================================================
   CONTAINER
========================================================= */

.destinations-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.destinations-hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    isolation: isolate;
}

.destinations-hero-media {
    position: absolute;
    inset: 0;
    z-index: -3;
    display: block;
}

.destinations-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.destinations-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(8, 28, 24, 0.78) 0%,
            rgba(8, 28, 24, 0.58) 38%,
            rgba(8, 28, 24, 0.20) 72%,
            rgba(8, 28, 24, 0.08) 100%
        );
}

.destinations-hero-container {
    width: min(1180px, calc(100% - 40px));
    min-height: 500px;
    margin: 0 auto;

    display: flex;
    align-items: center;
}

.destinations-hero-content {
    width: min(700px, 100%);
    padding: 80px 0 70px;
    color: #ffffff;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.destinations-breadcrumb {
    margin-bottom: 25px;
}

.destinations-breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.destinations-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 14px;
    line-height: 1.5;
}

.destinations-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.destinations-breadcrumb a:hover {
    color: #ffffff;
}

.destinations-breadcrumb span {
    color: rgba(255, 255, 255, 0.62);
}


/* =========================================================
   HERO EYEBROW
========================================================= */

.destinations-hero-eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 14px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.16em;

    color: #01ff00;
}


/* =========================================================
   HERO TITLE
========================================================= */

.destinations-hero-content h1 {
    margin: 0 0 18px;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.035em;

    color: #ffffff;

    text-wrap: balance;
}

.destinations-hero-content > p {
    max-width: 650px;

    margin: 0;

    font-size: 18px;
    line-height: 1.75;

    color: rgba(255, 255, 255, 0.90);
}


/* =========================================================
   CONTENT SECTION
========================================================= */

.destinations-content-section {
    padding: 34px 0 90px;
    background: #f6f8f7;
}


/* =========================================================
   INTRO CARD
========================================================= */

.destinations-intro {
    position: relative;

    max-width: 1080px;
    margin: 0 auto 70px;

    padding: 48px 58px 54px;

    background: #ffffff;

    border: 1px solid rgba(23, 53, 47, 0.06);
    border-radius: 24px;

    box-shadow:
        0 15px 40px rgba(23, 53, 47, 0.06),
        0 2px 8px rgba(23, 53, 47, 0.025);
}

.destinations-intro::before {
    content: "";

    position: absolute;
    top: 0;
    left: 58px;

    width: 64px;
    height: 4px;

    border-radius: 0 0 6px 6px;

    background: #ff6500;
}

.destinations-intro p {
    margin: 0 0 18px;

    font-size: 16px;
    line-height: 1.85;

    color: #536762;
}

.destinations-intro p:last-child {
    margin-bottom: 0;
}

.destinations-intro h2 {
    margin: 0 0 20px;

    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -0.025em;

    color: #17352f;
}

.destinations-intro h3 {
    margin: 28px 0 12px;

    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;

    color: #17352f;
}

.destinations-intro ul,
.destinations-intro ol {
    margin: 18px 0;
    padding-left: 22px;

    color: #536762;
}

.destinations-intro li {
    margin-bottom: 8px;
    line-height: 1.75;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.destinations-section-heading {
    max-width: 720px;

    margin: 0 auto 42px;

    text-align: center;
}

.destinations-section-eyebrow {
    display: inline-block;

    margin-bottom: 11px;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.16em;

    color: #ff6500;
}

.destinations-section-heading h2 {
    margin: 0 0 14px;

    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.035em;

    color: #17352f;
}

.destinations-section-heading p {
    max-width: 620px;

    margin: 0 auto;

    font-size: 16px;
    line-height: 1.75;

    color: #687a75;
}


/* =========================================================
   DESTINATION GRID
========================================================= */

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 26px;
}


/* =========================================================
   DESTINATION CARD
========================================================= */

.destination-card {
    min-width: 0;

    background: #ffffff;

    border: 1px solid rgba(23, 53, 47, 0.06);
    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(23, 53, 47, 0.055),
        0 2px 7px rgba(23, 53, 47, 0.025);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-6px);

    border-color: rgba(255, 101, 0, 0.18);

    box-shadow:
        0 20px 42px rgba(23, 53, 47, 0.11),
        0 5px 12px rgba(23, 53, 47, 0.035);
}

.destination-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;

    color: inherit;
    text-decoration: none;
}


/* =========================================================
   DESTINATION IMAGE
========================================================= */

.destination-card-image {
    position: relative;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #e9efec;
}

.destination-card-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 55%,
            rgba(23, 53, 47, 0.10) 100%
        );

    pointer-events: none;
}

.destination-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.destination-card:hover .destination-card-image img {
    transform: scale(1.055);
}


/* =========================================================
   DESTINATION CARD BODY
========================================================= */

.destination-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 23px 24px 25px;
}

.destination-card-country {
    margin-bottom: 8px;

    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.13em;
    text-transform: uppercase;

    color: #ff6500;
}

.destination-card-body h3 {
    margin: 0 0 11px;

    font-size: 23px;
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: -0.02em;

    color: #17352f;
}

.destination-card-description {
    display: -webkit-box;

    margin: 0 0 20px;

    font-size: 14px;
    line-height: 1.7;

    color: #697b76;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================================================
   CARD ACTION
========================================================= */

.destination-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: auto;

    font-size: 14px;
    font-weight: 750;
    line-height: 1.4;

    color: #17352f;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.destination-card-action span {
    font-size: 18px;
    line-height: 1;

    color: #ff6500;

    transition:
        transform 0.25s ease;
}

.destination-card:hover .destination-card-action {
    color: #ff6500;
    gap: 11px;
}

.destination-card:hover .destination-card-action span {
    transform: translateX(3px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.destinations-empty {
    max-width: 720px;

    margin: 0 auto 60px;
    padding: 60px 30px;

    text-align: center;

    background: #ffffff;

    border: 1px solid rgba(23, 53, 47, 0.06);
    border-radius: 22px;

    box-shadow:
        0 12px 30px rgba(23, 53, 47, 0.05);
}

.destinations-empty h2 {
    margin: 0 0 10px;

    font-size: 28px;
    line-height: 1.25;
    font-weight: 750;

    color: #17352f;
}

.destinations-empty p {
    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: #687a75;
}


/* =========================================================
   CTA
========================================================= */

.destinations-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    margin-top: 70px;

    padding: 35px 40px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #17352f 0%,
            #245047 100%
        );

    box-shadow:
        0 18px 40px rgba(23, 53, 47, 0.14);
}

.destinations-cta-content {
    max-width: 700px;
}

.destinations-cta-eyebrow {
    display: inline-block;

    margin-bottom: 9px;

    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.15em;

    color: #01ff00;
}

.destinations-cta h2 {
    margin: 0 0 9px;

    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -0.025em;

    color: #ffffff;
}

.destinations-cta p {
    max-width: 650px;

    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.78);
}

.destinations-cta-action {
    flex-shrink: 0;
}

.destinations-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 25px;

    border-radius: 11px;

    background: #ff6500;

    color: #ffffff;

    font-size: 14px;
    font-weight: 750;

    text-decoration: none;

    box-shadow:
        0 8px 20px rgba(255, 101, 0, 0.22);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.destinations-cta-button:hover {
    background: #e95b00;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(255, 101, 0, 0.28);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .destinations-hero,
    .destinations-hero-media img,
    .destinations-hero-container {
        min-height: 470px;
    }

    .destinations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .destinations-intro {
        padding: 42px 44px 48px;
    }

    .destinations-intro::before {
        left: 44px;
    }

    .destinations-cta {
        padding: 32px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .destinations-container,
    .destinations-hero-container {
        width: min(100% - 30px, 680px);
    }


    /* HERO */

    .destinations-hero,
    .destinations-hero-media img,
    .destinations-hero-container {
        min-height: 540px;
    }

    .destinations-hero-media img {
        object-position: center;
    }

    .destinations-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(8, 28, 24, 0.28) 0%,
                rgba(8, 28, 24, 0.55) 48%,
                rgba(8, 28, 24, 0.82) 100%
            );
    }

    .destinations-hero-container {
        align-items: flex-end;
    }

    .destinations-hero-content {
        padding: 50px 0 48px;
    }

    .destinations-breadcrumb {
        margin-bottom: 19px;
    }

    .destinations-breadcrumb li {
        font-size: 13px;
    }

    .destinations-hero-eyebrow {
        margin-bottom: 11px;

        font-size: 11px;
    }

    .destinations-hero-content h1 {
        margin-bottom: 14px;

        font-size: clamp(38px, 11vw, 52px);
        line-height: 1.05;
    }

    .destinations-hero-content > p {
        font-size: 15px;
        line-height: 1.7;
    }


    /* CONTENT */

    .destinations-content-section {
        padding: 28px 0 65px;
    }


    /* INTRO */

    .destinations-intro {
        margin-bottom: 52px;

        padding: 35px 24px 38px;

        border-radius: 20px;
    }

    .destinations-intro::before {
        left: 24px;

        width: 54px;
    }

    .destinations-intro p {
        font-size: 15px;
        line-height: 1.8;
    }

    .destinations-intro h2 {
        font-size: 27px;
    }

    .destinations-intro h3 {
        font-size: 20px;
    }


    /* SECTION HEADING */

    .destinations-section-heading {
        margin-bottom: 30px;
    }

    .destinations-section-eyebrow {
        font-size: 11px;
    }

    .destinations-section-heading h2 {
        font-size: 30px;
    }

    .destinations-section-heading p {
        font-size: 15px;
        line-height: 1.7;
    }


    /* GRID */

    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .destination-card {
        border-radius: 18px;
    }

    .destination-card-image {
        aspect-ratio: 16 / 10;
    }

    .destination-card-body {
        padding: 21px 21px 23px;
    }

    .destination-card-body h3 {
        font-size: 21px;
    }


    /* CTA */

    .destinations-cta {
        flex-direction: column;
        align-items: flex-start;

        gap: 22px;

        margin-top: 52px;

        padding: 28px 22px;

        border-radius: 20px;
    }

    .destinations-cta-content {
        width: 100%;
        max-width: none;
    }

    .destinations-cta h2 {
        font-size: 27px;
    }

    .destinations-cta p {
        font-size: 14px;
    }

    .destinations-cta-action {
        width: 100%;

        display: flex;
        justify-content: flex-start;
    }

    .destinations-cta-button {
        min-height: 48px;

        padding: 0 22px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .destinations-container,
    .destinations-hero-container {
        width: calc(100% - 28px);
    }

    .destinations-hero,
    .destinations-hero-media img,
    .destinations-hero-container {
        min-height: 510px;
    }

    .destinations-hero-content {
        padding-bottom: 38px;
    }

    .destinations-breadcrumb {
        margin-bottom: 17px;
    }

    .destinations-hero-content h1 {
        font-size: 39px;
    }

    .destinations-hero-content > p {
        font-size: 14px;
    }

    .destinations-content-section {
        padding-top: 25px;
    }

    .destinations-intro {
        padding: 31px 20px 34px;

        border-radius: 18px;
    }

    .destinations-intro::before {
        left: 20px;
    }

    .destinations-section-heading h2 {
        font-size: 28px;
    }

    .destination-card-body {
        padding: 20px;
    }

    .destination-card-body h3 {
        font-size: 20px;
    }

    .destinations-cta {
        padding: 25px 20px;
    }

    .destinations-cta-action,
    .destinations-cta-button {
        width: 100%;
    }
}

/* =========================================================
   DESKTOP BREADCRUMB POSITION
========================================================= */

@media (min-width: 768px) {

    .destinations-breadcrumb {
        position: relative;
        top: 28px;
        margin-bottom: 53px;
    }

}

/* =========================================================
   DESTINASI — MOBILE FINAL POLISH
========================================================= */

@media (max-width: 767px) {

    .destinations-hero,
    .destinations-hero-media img,
    .destinations-hero-container {
        min-height: 500px;
    }

    .destinations-hero-container {
        align-items: flex-end;
    }

    .destinations-hero-content {
        width: 100%;
        padding: 38px 0 90px;
    }


    /* BREADCRUMB */

    .destinations-breadcrumb {
        margin-bottom: 18px;
    }

    .destinations-breadcrumb ol {
        gap: 8px;
    }

    .destinations-breadcrumb li {
        font-size: 13px;
    }


    /* EYEBROW */

    .destinations-hero-eyebrow {
        margin-bottom: 9px;

        font-size: 10px;
        letter-spacing: 0.15em;
    }


    /* TITLE */

    .destinations-hero-content h1 {
        max-width: 560px;

        margin-bottom: 13px;

        font-size: clamp(36px, 10vw, 46px);
        line-height: 1.04;
        letter-spacing: -0.035em;
    }


    /* DESCRIPTION */

    .destinations-hero-content > p {
        max-width: 590px;

        margin: 0;

        font-size: 14px;
        line-height: 1.65;

        color: rgba(255, 255, 255, 0.88);
    }

}


@media (max-width: 480px) {

    .destinations-hero,
    .destinations-hero-media img,
    .destinations-hero-container {
        min-height: 500px;
    }

    .destinations-hero-content {
       padding: 38px 0 85px;
    }


    /* BREADCRUMB */

    .destinations-breadcrumb {
        margin-bottom: 16px;
    }

    .destinations-breadcrumb li {
        font-size: 12px;
    }


    /* EYEBROW */

    .destinations-hero-eyebrow {
        margin-bottom: 8px;

        font-size: 10px;
    }


    /* TITLE */

    .destinations-hero-content h1 {
        max-width: 330px;

        margin-bottom: 12px;

        font-size: 38px;
        line-height: 1.03;
    }


    /* DESCRIPTION */

    .destinations-hero-content > p {
        max-width: 335px;

        font-size: 14px;
        line-height: 1.62;
    }

}

/* =========================================================
   DESTINATION PAGINATION
========================================================= */

.destinations-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 45px;
}

.destinations-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(23, 53, 47, 0.10);
    border-radius: 10px;

    background: #ffffff;

    color: #17352f;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 4px 12px rgba(23, 53, 47, 0.035);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.destinations-pagination a:hover {
    border-color: #ff6500;

    color: #ff6500;

    transform: translateY(-2px);
}

.destinations-pagination a.active {
    border-color: #17352f;

    background: #17352f;

    color: #ffffff;

    box-shadow:
        0 7px 18px rgba(23, 53, 47, 0.15);
}

.destinations-pagination-arrow {
    font-size: 17px !important;
}


/* =========================================================
   PAGINATION — MOBILE
========================================================= */

@media (max-width: 480px) {

    .destinations-pagination {
        gap: 6px;
        margin-top: 35px;
    }

    .destinations-pagination a {
        width: 38px;
        height: 38px;

        border-radius: 9px;

        font-size: 13px;
    }

    .destinations-pagination-arrow {
        font-size: 16px !important;
    }

}