/* =========================================================
   VISIT CHAMOLI
   LOCAL EXPERIENCES — NATIVE CAROUSEL
========================================================= */


/* =========================================================
   SECTION
========================================================= */

.vc-local-section {
    position: relative;
    width: 100%;

    padding: 105px 0 110px;

    background: #f3f1e9;

    overflow: hidden;

    isolation: isolate;
}


/* =========================================================
   CONTAINER
========================================================= */

.vc-local-container {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.vc-local-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;

    margin-bottom: 42px;
}


/* =========================================================
   HEADING
========================================================= */

.vc-local-heading {
    flex: 1 1 auto;

    max-width: 650px;
}


.vc-local-eyebrow {
    display: block;

    margin-bottom: 13px;

    color: #9a7427;

    font-size: 10px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.vc-local-title {
    margin: 0;

    color: #173940;

    font-size: clamp(40px, 4vw, 58px);

    font-weight: 800;

    line-height: .98;

    letter-spacing: -2px;
}


.vc-local-title span {
    display: block;

    color: #7b918c;

    font-weight: 500;
}


/* =========================================================
   HEADER RIGHT
========================================================= */

.vc-local-header-right {
    display: flex;

    align-items: flex-end;

    gap: 35px;

    flex: 0 0 auto;
}


.vc-local-header-right > p {
    width: 310px;

    margin: 0;

    color: #687977;

    font-size: 12px;

    line-height: 1.75;
}


/* =========================================================
   CONTROLS
   These are visual controls only.
   No JS is attached.
========================================================= */

.vc-local-controls {
    display: flex;

    align-items: center;

    gap: 12px;
}


.vc-local-prev,
.vc-local-next {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    padding: 0;

    border: 1px solid #c9d0cc;

    border-radius: 50%;

    background: transparent;

    color: #173940;

    font-size: 10px;

    cursor: default;
}


/* =========================================================
   PROGRESS
========================================================= */

.vc-local-progress {
    display: flex;

    align-items: center;

    gap: 8px;

    white-space: nowrap;
}


.vc-local-progress-current {
    color: #173940;

    font-size: 9px;

    font-weight: 800;
}


.vc-local-progress-total {
    color: #9aa6a2;

    font-size: 8px;
}


.vc-local-progress-line {
    width: 45px;
    height: 1px;

    background: #b9c1bd;
}


/* =========================================================
   NATIVE CAROUSEL
========================================================= */

.vc-local-carousel {
    position: relative;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;

    cursor: grab;

    overscroll-behavior-x: contain;
}


.vc-local-carousel::-webkit-scrollbar {
    display: none;
}


.vc-local-carousel:active {
    cursor: grabbing;
}


/* =========================================================
   TRACK
========================================================= */

.vc-local-track {
    display: flex;

    width: max-content;

    gap: 14px;

    margin: 0;
    padding: 0;

    transform: none !important;

    transition: none !important;
}


/* =========================================================
   CARD
========================================================= */

.vc-local-card {
    position: relative;

    flex: 0 0
        calc(
            (1400px - 28px) / 3
        );

    width:
        calc(
            (1400px - 28px) / 3
        );

    height: 430px;

    overflow: hidden;

    border-radius: 5px;

    background: #173940;

    color: #ffffff;

    text-decoration: none;

    isolation: isolate;

    scroll-snap-align: start;

    scroll-snap-stop: always;

    user-select: none;

    -webkit-user-drag: none;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


/* =========================================================
   IMAGE
========================================================= */

.vc-local-image {
    position: absolute;

    inset: 0;

    z-index: -3;

    overflow: hidden;
}


.vc-local-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    -webkit-user-drag: none;

    transition:
        transform .8s
        cubic-bezier(.2,.8,.2,1);
}


/* =========================================================
   IMAGE HOVER
========================================================= */

.vc-local-card:hover
.vc-local-image img {
    transform: scale(1.08);
}


/* =========================================================
   OVERLAY
========================================================= */

.vc-local-overlay {
    position: absolute;

    inset: 0;

    z-index: -2;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(5,25,30,.05) 0%,
            rgba(5,25,30,.10) 32%,
            rgba(5,25,30,.94) 100%
        );
}


/* =========================================================
   NUMBER
========================================================= */

.vc-local-number {
    position: absolute;

    top: 20px;
    left: 21px;

    color:
        rgba(255,255,255,.75);

    font-size: 9px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: 1px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.vc-local-card-content {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    padding: 27px;
}


.vc-local-category {
    display: block;

    margin-bottom: 8px;

    color:
        rgba(255,255,255,.68);

    font-size: 7px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: 1.5px;
}


.vc-local-card-content h3 {
    margin: 0;

    color: #ffffff;

    font-size: 29px;

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -.5px;
}


.vc-local-card-content p {
    max-width: 330px;

    margin: 10px 0 16px;

    color:
        rgba(255,255,255,.72);

    font-size: 9px;

    line-height: 1.6;
}


/* =========================================================
   DISCOVER LINK
========================================================= */

.vc-local-discover {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #ffffff;

    font-size: 7px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: 1px;
}


.vc-local-discover i {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    border-radius: 50%;

    background: #e0a72b;

    color: #173940;

    font-size: 7px;

    transition:
        transform .3s ease;
}


.vc-local-card:hover
.vc-local-discover i {
    transform: translateX(4px);
}


/* =========================================================
   CARD HOVER
========================================================= */

.vc-local-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 38px
        rgba(17,48,54,.16);
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1439px) {

    .vc-local-card {
        flex-basis:
            calc(
                (100vw - 80px - 28px) / 3
            );

        width:
            calc(
                (100vw - 80px - 28px) / 3
            );
    }

}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1199px) {

    .vc-local-section {
        padding:
            80px 0
            90px;
    }


    .vc-local-container {
        width:
            calc(100% - 50px);
    }


    .vc-local-card {
        flex-basis:
            calc(
                (100vw - 50px - 14px) / 2
            );

        width:
            calc(
                (100vw - 50px - 14px) / 2
            );

        height: 390px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .vc-local-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 22px;
    }


    .vc-local-header-right {
        width: 100%;

        align-items: center;

        justify-content: space-between;
    }


    .vc-local-header-right > p {
        width: 400px;
    }


    .vc-local-card {
        height: 380px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .vc-local-section {
        padding:
            65px 0
            70px;
    }


    .vc-local-container {
        width:
            calc(100% - 30px);
    }


    .vc-local-title {
        font-size: 40px;

        letter-spacing: -1.5px;
    }


    .vc-local-header-right {
        align-items: flex-start;

        flex-direction: column;

        gap: 22px;
    }


    .vc-local-header-right > p {
        width: auto;

        max-width: 500px;
    }


    .vc-local-card {
        flex-basis:
            calc(100vw - 30px);

        width:
            calc(100vw - 30px);

        height: 370px;
    }


    /*
       Hide fake desktop controls on mobile.
       Native swipe is the actual carousel control.
    */

    .vc-local-controls {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .vc-local-title {
        font-size: 34px;
    }


    .vc-local-card {
        height: 340px;
    }


    .vc-local-card-content {
        padding: 22px;
    }


    .vc-local-card-content h3 {
        font-size: 25px;
    }


    .vc-local-card-content p {
        font-size: 8px;
    }

}