@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap");

.imv-dn {
    --imv-section-height: 635px;
    position: relative;
    width: 100%;
    height: var(--imv-section-height);
    min-height: var(--imv-section-height);
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #0B4D52;
}

.imv-dn,
.imv-dn *,
.imv-dn *::before,
.imv-dn *::after {
    box-sizing: border-box;
}

.imv-dn__inner {
    position: relative;
    width: 100%;
    height: var(--imv-section-height);
    min-height: var(--imv-section-height);
    margin: 0;
    padding: 0;
}

.imv-dn__heading {
    position: absolute;
    top: 70px;
    left: 10.5%;
    z-index: 20;
}

.imv-dn__heading h2 {
    max-width: 600px;
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: "Butler", Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.4px;
}

.imv-dn__heading-intro {
    max-width: 600px;
    margin: 16px 0 0;
    color: rgba(255,255,255,.92);
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

.imv-dn__nav {
    position: absolute;
    top: 194px;
    left: 10.2%;
    width: 55px;
    height: 340px;
    z-index: 30;
}

.imv-dn__line,
.imv-dn__progress {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 2px;
    z-index: 1;
}

.imv-dn__line {
    height: 100%;
    background: rgba(255,255,255,.24);
}

.imv-dn__progress {
    height: 0;
    background: #fff;
    z-index: 2;
    transition: height .65s cubic-bezier(.22,.61,.36,1);
}

.imv-dn__arrows {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 32px;
    margin: 0;
    padding: 2px 0;
    background: transparent;
    z-index: 5;
}

.imv-dn__arrow {
    width: 30px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: opacity .25s ease, transform .25s ease, color .25s ease;
}

.imv-dn__arrow svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.imv-dn__arrow:hover { opacity: .72; }
.imv-dn__arrow--prev:hover { transform: translateY(-3px); }
.imv-dn__arrow--next:hover { transform: translateY(3px); }

.imv-dn__content {
    position: absolute;
    top: 245px;
    left: 16%;
    width: 31%;
    max-width: 455px;
    min-height: 320px;
    z-index: 20;
}

.imv-dn__copy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease, visibility .55s ease;
}

.imv-dn__copy.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.imv-dn__copy h3 {
    margin: 0 0 18px;
    padding: 0;
    color: #fff;
    font-family: "Butler", Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.22;
}

.imv-dn__text {
    width: 100%;
    margin: 0 0 36px;
    padding: 0;
    color: rgba(255,255,255,.95);
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.imv-dn__text p {
    margin: 0 0 .8em;
}

.imv-dn__text p:last-child {
    margin-bottom: 0;
}

.imv-dn__button,
.imv-dn .imv-hover-btn {
    --imv-button-liquid: #39D7DB;
    --imv-button-speed: 450ms;
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 218px;
    min-height: 49px;
    height: 49px;
    padding: 0 25px;

    border: 0 solid transparent;
    border-radius: 999px;

    background: #2D8996;
    color: #ffffff;
    text-decoration: none !important;

    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;

    cursor: pointer;
    box-shadow: 0 9px 12px rgba(18, 73, 80, 0.16);

    -webkit-tap-highlight-color: transparent;
    transition: color .2s ease, box-shadow .2s ease;
}

/* Exact bottom-origin circular fill supplied by the user. */
.imv-dn__button::before,
.imv-dn .imv-hover-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--imv-button-liquid);

    -webkit-clip-path: circle(0% at 50% 122%);
    clip-path: circle(0% at 50% 122%);

    transition:
        -webkit-clip-path var(--imv-button-speed) cubic-bezier(.55, .06, .22, .99),
        clip-path var(--imv-button-speed) cubic-bezier(.55, .06, .22, .99);
}

.imv-dn__button:hover::before,
.imv-dn__button:focus-visible::before,
.imv-dn .imv-hover-btn:hover::before,
.imv-dn .imv-hover-btn:focus-visible::before {
    -webkit-clip-path: circle(165% at 50% 122%);
    clip-path: circle(165% at 50% 122%);
}

.imv-dn__button:hover,
.imv-dn__button:focus,
.imv-dn__button:active,
.imv-dn .imv-hover-btn:hover,
.imv-dn .imv-hover-btn:focus,
.imv-dn .imv-hover-btn:active {
    color: #ffffff;
    text-decoration: none !important;
}

.imv-dn__button:focus-visible,
.imv-dn .imv-hover-btn:focus-visible {
    outline: none;
}

.imv-dn__button-label {
    position: relative;
    z-index: 2;
    display: inline-block;
    pointer-events: none;
}

.imv-dn__gallery {
    position: absolute;
    top: 0;
    right: 2%;
    width: 50%;
    max-width: 760px;
    height: 100%;
    z-index: 10;
}

.imv-dn__gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.imv-dn__gallery-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.imv-dn__image {
    position: absolute;
    overflow: hidden;
}

.imv-dn__image--back {
    top: 70px;
    right: 0;
    width: 63%;
    height: 490px;
    border-radius: 22px;
    opacity: 0;
    transform: translateY(25px) scale(.97);
    transition: opacity .75s ease, transform .75s cubic-bezier(.22,.61,.36,1);
}

.imv-dn__gallery-slide.is-active .imv-dn__image--back {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.imv-dn__image--front {
    top: 162px;
    left: 0;
    width: 40%;
    height: 309px;
    border-radius: 21px;
    z-index: 5;
    opacity: 0;
    transform: translateX(-25px) scale(.96);
    transition: opacity .7s .08s ease, transform .7s .08s cubic-bezier(.22,.61,.36,1);
}

.imv-dn__gallery-slide.is-active .imv-dn__image--front {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.imv-dn__image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
    transform: scale(1.002);
    transition: transform 1s ease;
}

.imv-dn__gallery-slide.is-active:hover .imv-dn__image--back img { transform: scale(1.04); }
.imv-dn__gallery-slide.is-active:hover .imv-dn__image--front img { transform: scale(1.055); }

.imv-dn__notice {
    padding: 18px;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #222;
    font-family: sans-serif;
}

@media (max-width: 900px) {
    /* The active copy height is measured by JS so long destination content never
       collides with the image stack. Elementor responsive controls still remain
       available; only the structural left/right reset is forced here. */
    .imv-dn {
        --imv-responsive-gallery-top: 555px;
        --imv-section-height: 1080px;
    }

    .imv-dn__heading {
        top: 50px;
        left: 7%;
        right: 7%;
    }

    .imv-dn__heading h2 {
        max-width: 650px;
        font-size: 32px;
    }

    .imv-dn__nav {
        top: 180px;
        left: 7%;
        height: 390px;
    }

    .imv-dn__content {
        top: 220px;
        left: 14%;
        width: 78%;
        max-width: 620px;
        min-height: var(--imv-active-copy-height, 300px);
    }

    .imv-dn__gallery {
        top: var(--imv-responsive-gallery-top, 555px);
        left: 50% !important;
        right: auto !important;
        width: 86%;
        max-width: 720px;
        height: 510px;
        transform: translateX(-50%);
    }

    .imv-dn__image--back {
        top: 0;
        right: 0;
        width: 68%;
        height: 465px;
    }

    .imv-dn__image--front {
        top: 90px;
        left: 0;
        width: 45%;
        height: 305px;
    }
}

@media (max-width: 600px) {
    .imv-dn {
        --imv-responsive-gallery-top: 560px;
        --imv-section-height: 930px;
    }

    .imv-dn__heading {
        top: 30px;
        left: 22px;
        right: 22px;
        width: auto;
    }

    .imv-dn__heading h2 {
        width: 100%;
        max-width: none;
        font-size: clamp(24px, 7vw, 28px);
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .imv-dn__heading-intro {
        max-width: none;
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.5;
    }

    .imv-dn__nav {
        top: 155px;
        left: 24px;
        width: 46px;
        height: 360px;
    }

    .imv-dn__arrows {
        left: 8px;
    }

    .imv-dn__arrow {
        width: 28px;
        height: 27px;
    }

    .imv-dn__arrow svg {
        width: 21px;
        height: 21px;
    }

    .imv-dn__content {
        top: 185px;
        left: 60px;
        width: calc(100% - 82px);
        max-width: none;
        min-height: var(--imv-active-copy-height, 300px);
    }

    .imv-dn__copy h3 {
        font-size: 20px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .imv-dn__text {
        font-size: 15px;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

    .imv-dn__button,
    .imv-dn .imv-hover-btn {
        min-width: min(218px, 100%);
        width: auto;
        max-width: 100%;
        min-height: 49px;
        height: 49px;
        padding-left: 22px;
        padding-right: 22px;
        font-size: 14px;
    }

    .imv-dn__gallery {
        top: var(--imv-responsive-gallery-top, 560px);
        left: 50% !important;
        right: auto !important;
        width: calc(100% - 28px);
        max-width: 430px;
        height: min(88vw, 380px);
        transform: translateX(-50%);
    }

    .imv-dn__image--back {
        top: 0;
        right: 0;
        width: 72%;
        height: auto;
        aspect-ratio: 385 / 491;
        max-height: 350px;
        border-radius: 20px;
    }

    .imv-dn__image--front {
        top: clamp(54px, 16vw, 74px);
        left: 0;
        width: 49%;
        height: auto;
        aspect-ratio: 245 / 309;
        max-height: 250px;
        border-radius: 19px;
    }
}

@media (max-width: 390px) {
    .imv-dn__heading {
        left: 18px;
        right: 18px;
    }

    .imv-dn__nav {
        left: 20px;
    }

    .imv-dn__content {
        left: 54px;
        width: calc(100% - 72px);
    }

    .imv-dn__text {
        font-size: 14px;
    }
}

/* Elementor editor feedback / preview helper */
.imv-dn__notice {
    width: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px;
    border: 1px dashed rgba(11,77,82,.45);
    border-radius: 10px;
    background: rgba(11,77,82,.06);
    color: #1f2937;
    font: 14px/1.6 Arial, sans-serif;
    text-align: center;
}
.imv-dn__notice code {
    padding: 2px 5px;
    border-radius: 4px;
    background: rgba(0,0,0,.06);
}


/* Elementor editor-only query status shown above the demo preview. */
.imv-dn__editor-message {
    width: 100%;
    margin: 0 0 10px;
    padding: 12px 14px;
    border: 1px dashed rgba(11,77,82,.45);
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font: 13px/1.55 Arial, sans-serif;
    text-align: left;
}

.imv-dn__editor-message code {
    padding: 2px 5px;
    border-radius: 4px;
    background: rgba(0,0,0,.06);
    word-break: break-word;
}

/* Keep the widget itself visible in the Elementor canvas even when the
   surrounding theme applies aggressive widget/container sizing rules. */
.elementor-widget-imv_destination_narrative,
.elementor-widget-imv_destination_narrative > .elementor-widget-container {
    width: 100%;
    max-width: 100%;
}
