/* =========================================================
   HIMACHALRIDE — DESTINATIONS SECTION
   ========================================================= */


/* =========================================================
   SECTION
   ========================================================= */

.destinations-section {
    position: relative;

    padding: 110px 0 90px;

    background: #f4f1e9;

    color: #123f36;

    overflow: hidden;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.destinations-container {
    width: min(1550px, calc(100% - 190px));

    margin: 0 auto;
}


/* =========================================================
   HEADING
   ========================================================= */

.destinations-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 70px;

    margin-bottom: 38px;
}


.destinations-heading > div {
    max-width: 760px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.section-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 14px;

    color: #7a806f;

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.section-eyebrow::before {
    content: "";

    width: 28px;

    height: 1px;

    background: #d3a94f;
}


/* =========================================================
   HEADING TITLE
   ========================================================= */

.destinations-heading h2 {
    margin: 0;

    color: #123f36;

    font-family: "Manrope", sans-serif;

    font-size: clamp(48px, 5vw, 72px);

    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -3.5px;
}


.destinations-heading h2 span {
    color: #d3a94f;
}


/* =========================================================
   HEADING DESCRIPTION
   ========================================================= */

.destinations-heading > p {
    width: 390px;

    max-width: 390px;

    margin: 0;

    color: #69716a;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   DESTINATION GRID
   =========================================================

   DESKTOP:

   ┌──────────────────────────┬──────────────┬──────────────┐
   │                          │              │              │
   │          MANALI          │    SHIMLA    │ DHARAMSHALA  │
   │                          │              │              │
   └──────────────────────────┴──────────────┴──────────────┘

   ┌────────────────────┬────────────────────┬────────────────────┐
   │                    │                    │                    │
   │     DALHOUSIE      │   LAHAUL & SPITI   │   EXPLORE BEYOND   │
   │                    │                    │                    │
   └────────────────────┴────────────────────┴────────────────────┘

   ========================================================= */

.destination-grid {
    display: grid;

    width: 100%;

    grid-template-columns: 2fr 1fr 1fr;

    grid-template-rows: 320px 190px;

    gap: 10px;
}


/* =========================================================
   BASE CARD
   ========================================================= */

.destination-card {
    position: relative;

    display: block;

    width: 100%;

    height: 100%;

    min-width: 0;

    min-height: 0;

    overflow: hidden;

    border-radius: 2px;

    background: #183f36;

    text-decoration: none;

    isolation: isolate;
}


/* =========================================================
   CARD POSITIONS — DESKTOP
   ========================================================= */


/* 01 — MANALI */

.destination-card:nth-child(1) {
    grid-column: 1;

    grid-row: 1;
}


/* 02 — SHIMLA */

.destination-card:nth-child(2) {
    grid-column: 2;

    grid-row: 1;
}


/* 03 — DHARAMSHALA */

.destination-card:nth-child(3) {
    grid-column: 3;

    grid-row: 1;
}


/* 04 — DALHOUSIE */

.destination-card:nth-child(4) {
    grid-column: 1;

    grid-row: 2;
}


/* 05 — LAHAUL & SPITI */

.destination-card:nth-child(5) {
    grid-column: 2;

    grid-row: 2;
}


/* 06 — EXPLORE BEYOND */

.destination-card:nth-child(6) {
    grid-column: 3;

    grid-row: 2;
}


/* =========================================================
   IMAGE
   ========================================================= */

.destination-image {
    position: absolute;

    inset: 0;

    z-index: -2;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


.destination-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center center;

    transform: scale(1);

    transition:
        transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1);
}


/* =========================================================
   INDIVIDUAL IMAGE POSITION
   ========================================================= */


/* Manali */

.destination-card:nth-child(1)
.destination-image img {
    object-position: center center;
}


/* Shimla */

.destination-card:nth-child(2)
.destination-image img {
    object-position: center center;
}


/* Dharamshala */

.destination-card:nth-child(3)
.destination-image img {
    object-position: center center;
}


/* Dalhousie */

.destination-card:nth-child(4)
.destination-image img {
    object-position: center center;
}


/* Lahaul & Spiti */

.destination-card:nth-child(5)
.destination-image img {
    object-position: center center;
}


/* Explore Beyond */

.destination-card:nth-child(6)
.destination-image img {
    object-position: center center;
}


/* =========================================================
   HOVER IMAGE
   ========================================================= */

.destination-card:hover .destination-image img {
    transform: scale(1.035);
}


/* =========================================================
   IMAGE OVERLAY
   ========================================================= */

.destination-overlay {
    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            180deg,
            rgba(8, 27, 23, 0.02) 0%,
            rgba(8, 27, 23, 0.08) 35%,
            rgba(8, 27, 23, 0.42) 58%,
            rgba(8, 27, 23, 0.90) 100%
        );

    transition:
        background 0.4s ease;
}


.destination-card:hover .destination-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(8, 27, 23, 0.04) 0%,
            rgba(8, 27, 23, 0.12) 35%,
            rgba(8, 27, 23, 0.48) 58%,
            rgba(8, 27, 23, 0.92) 100%
        );
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.destination-content {
    position: absolute;

    inset: 0;

    padding: 22px 28px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}


/* =========================================================
   NUMBER
   ========================================================= */

.destination-number {
    align-self: flex-start;

    color: rgba(255, 255, 255, 0.72);

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.4px;
}


/* =========================================================
   TEXT AREA
   ========================================================= */

.destination-content > div {
    max-width: 90%;
}


/* =========================================================
   LOCATION
   ========================================================= */

.destination-location {
    display: block;

    margin-bottom: 6px;

    color: #e5bd6b;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.7px;

    text-transform: uppercase;
}


/* =========================================================
   TITLE
   ========================================================= */

.destination-content h3 {
    margin: 0;

    color: #ffffff;

    font-family: "Manrope", sans-serif;

    font-size: 31px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: -1.4px;
}


/* Manali */

.destination-card:nth-child(1)
.destination-content h3 {
    font-size: clamp(48px, 4vw, 64px);

    letter-spacing: -2.8px;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.destination-content p {
    margin: 8px 0 0;

    color: rgba(255, 255, 255, 0.80);

    font-family: "DM Sans", sans-serif;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   BOTTOM CARD TITLES
   ========================================================= */

.destination-card:nth-child(4)
.destination-content h3,

.destination-card:nth-child(5)
.destination-content h3,

.destination-card:nth-child(6)
.destination-content h3 {
    font-size: 30px;

    letter-spacing: -1.3px;
}


/* =========================================================
   ARROW
   ========================================================= */

.destination-arrow {
    position: absolute;

    right: 18px;

    bottom: 18px;

    width: 40px;

    height: 40px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.32);

    border-radius: 50%;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);

    font-size: 16px;

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.destination-card:hover .destination-arrow {
    background: #e5bd6b;

    border-color: #e5bd6b;

    color: #123f36;

    transform: translate(3px, -3px);
}


/* =========================================================
   BOTTOM INFORMATION
   ========================================================= */

.destinations-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    margin-top: 16px;

    padding-top: 18px;

    border-top: 1px solid rgba(18, 63, 54, 0.12);
}


.destinations-bottom > span {
    color: #899087;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.destinations-bottom a {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: #123f36;

    font-family: "DM Sans", sans-serif;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition: color 0.25s ease;
}


.destinations-bottom a strong {
    font-size: 17px;

    font-weight: 500;

    transition: transform 0.25s ease;
}


.destinations-bottom a:hover {
    color: #b48a35;
}


.destinations-bottom a:hover strong {
    transform: translateX(5px);
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1500px) {

    .destinations-container {
        width: min(1550px, calc(100% - 180px));
    }


    .destination-grid {
        grid-template-rows: 405px 220px;
    }


    .destination-content {
        padding: 26px 30px;
    }


    .destination-card:nth-child(1)
    .destination-content h3 {
        font-size: 64px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .destinations-container {
        width: calc(100% - 60px);
    }


    .destinations-heading {
        gap: 40px;
    }


    .destinations-heading > p {
        width: 330px;
    }


    .destination-grid {
        grid-template-rows: 340px 205px;
    }


    .destination-content {
        padding: 22px;
    }


    .destination-content h3 {
        font-size: 27px;
    }


    .destination-card:nth-child(1)
    .destination-content h3 {
        font-size: 52px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .destinations-section {
        padding: 90px 0 75px;
    }


    .destinations-container {
        width: calc(100% - 48px);
    }


    .destinations-heading {
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        margin-bottom: 32px;
    }


    .destinations-heading h2 {
        font-size: 50px;

        letter-spacing: -2.5px;
    }


    .destinations-heading > p {
        width: auto;

        max-width: 520px;
    }


    /* -----------------------------------------------------
       TABLET GRID
       ----------------------------------------------------- */

    .destination-grid {
        grid-template-columns: 1fr 1fr;

        grid-template-rows:
            350px
            230px
            230px
            230px;

        gap: 10px;
    }


    /* Manali */

    .destination-card:nth-child(1) {
        grid-column: 1 / 3;

        grid-row: 1;
    }


    /* Shimla */

    .destination-card:nth-child(2) {
        grid-column: 1;

        grid-row: 2;
    }


    /* Dharamshala */

    .destination-card:nth-child(3) {
        grid-column: 2;

        grid-row: 2;
    }


    /* Dalhousie */

    .destination-card:nth-child(4) {
        grid-column: 1;

        grid-row: 3;
    }


    /* Lahaul & Spiti */

    .destination-card:nth-child(5) {
        grid-column: 2;

        grid-row: 3;
    }


    /* Explore Beyond */

    .destination-card:nth-child(6) {
        grid-column: 1 / 3;

        grid-row: 4;
    }


    .destination-card:nth-child(1)
    .destination-content h3 {
        font-size: 54px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .destinations-section {
        padding: 70px 0 60px;
    }


    .destinations-container {
        width: calc(100% - 36px);
    }


    .destinations-heading {
        gap: 18px;

        margin-bottom: 28px;
    }


    .destinations-heading h2 {
        font-size: 40px;

        letter-spacing: -2px;
    }


    .destinations-heading > p {
        width: 100%;

        max-width: none;

        font-size: 14px;
    }


    /* -----------------------------------------------------
       MOBILE GRID
       ----------------------------------------------------- */

    .destination-grid {
        display: grid;

        grid-template-columns: 1fr;

        grid-template-rows: none;

        grid-auto-rows: 290px;

        gap: 10px;
    }


    /* All cards full width */

    .destination-card:nth-child(1),
    .destination-card:nth-child(2),
    .destination-card:nth-child(3),
    .destination-card:nth-child(4),
    .destination-card:nth-child(5),
    .destination-card:nth-child(6) {
        grid-column: 1;

        grid-row: auto;

        width: 100%;

        height: 290px;
    }


    /* -----------------------------------------------------
       MOBILE IMAGE
       ----------------------------------------------------- */

    .destination-image img {
        object-fit: cover;

        object-position: center;

        transform: none;
    }


    .destination-card:hover
    .destination-image img {
        transform: scale(1.025);
    }


    /* -----------------------------------------------------
       MOBILE CONTENT
       ----------------------------------------------------- */

    .destination-content {
        padding: 22px;
    }


    .destination-card:nth-child(1)
    .destination-content h3 {
        font-size: 44px;

        letter-spacing: -2px;
    }


    .destination-content h3 {
        font-size: 30px;
    }


    .destination-card:nth-child(4)
    .destination-content h3,

    .destination-card:nth-child(5)
    .destination-content h3,

    .destination-card:nth-child(6)
    .destination-content h3 {
        font-size: 30px;
    }


    .destination-arrow {
        right: 18px;

        bottom: 18px;

        width: 38px;

        height: 38px;
    }


    /* -----------------------------------------------------
       BOTTOM INFO
       ----------------------------------------------------- */

    .destinations-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 16px;

        padding-top: 20px;
    }


    .destinations-bottom > span {
        line-height: 1.8;
    }
}

/* =========================================================
   DESTINATION CONVERSION CTA
   ========================================================= */

.destinations-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.destinations-bottom-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.destinations-bottom-info > span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.destinations-bottom-info p {
    margin: 0;
    max-width: 440px;

    color: rgba(18, 63, 54, 0.62);

    font-size: 13px;
    line-height: 1.6;
}

.destinations-bottom-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.destination-whatsapp-btn,
.destination-view-btn {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 0 18px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;

    transition:
        transform 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.destination-whatsapp-btn {
    background: #123f36;
    color: #fff;

    box-shadow:
        0 10px 25px rgba(18, 63, 54, 0.16);
}

.destination-whatsapp-btn strong {
    width: 24px;
    height: 24px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #e5bd6b;
    color: #123f36;
}

.destination-whatsapp-btn:hover {
    transform: translateY(-2px);
    background: #0b302a;
}

.destination-view-btn {
    border: 1px solid rgba(18, 63, 54, 0.18);
    color: #123f36;
}

.destination-view-btn:hover {
    transform: translateY(-2px);
    background: rgba(18, 63, 54, 0.05);
}

.destination-view-btn strong {
    font-size: 15px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .destinations-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .destinations-bottom-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .destination-whatsapp-btn,
    .destination-view-btn {
        width: 100%;
    }
}

/* =========================================================
   FIX - DESTINATION WHATSAPP CTA TEXT
   ========================================================= */

.destination-whatsapp-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;

    min-height: 46px !important;
    width: auto !important;
    min-width: 260px !important;

    padding: 0 18px 0 22px !important;

    background: #123f36 !important;
    color: #ffffff !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.5px !important;

    text-decoration: none !important;
    white-space: nowrap !important;

    opacity: 1 !important;
    visibility: visible !important;
}

.destination-whatsapp-btn:hover {
    background: #0b302a !important;
    color: #ffffff !important;
}

.destination-whatsapp-btn strong {
    display: grid !important;
    place-items: center !important;

    width: 24px !important;
    height: 24px !important;

    flex: 0 0 24px !important;

    border-radius: 50% !important;

    background: #e5bd6b !important;
    color: #123f36 !important;

    font-size: 14px !important;
    line-height: 1 !important;
}

.destination-whatsapp-btn strong:hover {
    color: #123f36 !important;
}

@media (max-width: 760px) {

    .destination-whatsapp-btn {
        width: 100% !important;
        min-width: 0 !important;
    }

}