 /* =========================================
   DESTINATION MEGA MENU
========================================= */

.destination-menu {
    position: static !important;
}

/* Main dropdown */
.destination-mega-menu {
    width: 1100px;
    max-width: calc(100vw - 40px);

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 18px !important;

    overflow: hidden;

    background: #fff;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.20);

    left: 50% !important;
    transform: translateX(-50%);

    top: 100% !important;
}


/* Main layout */
.destination-wrapper {
    display: grid;

    grid-template-columns:
        260px
        1fr
        270px;

    min-height: 430px;
}


/* =========================================
   LEFT SIDEBAR
========================================= */

.destination-sidebar {
    background: #fff!important;

    padding: 25px 20px;

    display: flex;
    flex-direction: column;
}

.destination-link {
    display: flex;
    align-items: center;

    gap: 10px;

    min-height: 45px;

    padding: 5px 8px;

    color: #1c2739;

    text-decoration: none;

    font-size: 20px;

    transition: .25s ease;
}

.destination-link span {
    color: #9ba5b5;

    font-size: 22px;

    line-height: 1;
}

.destination-link:hover {
    color: #ef542f;

    padding-left: 12px;
}

.destination-link.active {
    font-weight: 600;
}


/* Customize button */

.customize-btn {
    display: flex;

    justify-content: center;
    align-items: center;

    height: 43px;

    margin: auto 8px 3px;

    border: 1px solid #f15b38;

    border-radius: 30px;

    color: #e95734;

    text-decoration: none;

    font-size: 15px;

    background: #fff;

    transition: .3s ease;
}

.customize-btn:hover {
    background: #f15b38;

    color: #fff;
}


/* =========================================
   CENTER CONTENT
========================================= */

.destination-content1 {
    padding: 34px 28px 25px;

    background: #fff;
}

.destination-content1 h3 {
    margin: 0 0 33px;

    text-align: center;

    color: #182337;

    font-size: 23px;

    font-weight: 500;
}


/* Destination grid */

.destination-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    column-gap: 13px;

    row-gap: 20px;

    align-items: start;
}


/* Destination card */

.destination-card1 {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    text-decoration: none;

    color: #202b3d;

    font-size: 15px;

    transition: .3s ease;
}

.destination-card1 img {
    width: 96px;

    height: 96px;

    object-fit: cover;

    border-radius: 9px;

    display: block;

    transition: .3s ease;
}

.destination-card1 span {
    white-space: nowrap;
}

.destination-card1:hover {
    color: #ef542f;
}

.destination-card1:hover img {
    transform: translateY(-4px);

    box-shadow:
        0 8px 18px rgba(0, 0, 0, .18);
}


/* =========================================
   RIGHT PROMOTION
========================================= */

.destination-promo {
    position: relative;

    min-height: 430px;

    background-image:
        url("assets/img/mega-menu.png");

    background-size: cover;

    background-position: center;
}

.destination-promo::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(10, 57, 84, .35),
            rgba(5, 52, 67, .85)
        );
}


.promo-overlay {
    position: relative;

    height: 100%;

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}


/* Offer */

.promo-offer {
    color: #fff;

    line-height: 1;
}

.promo-offer small {
    display: block;

    font-size: 14px;

    margin-left: 1px;

    margin-bottom: -3px;
}

.promo-offer strong {
    display: block;

    color: #ff522f;

    font-size: 58px;

    font-weight: 500;

    letter-spacing: -3px;
}

.promo-offer strong span {
    font-size: 30px;

    letter-spacing: 0;
}

.promo-offer b {
    display: block;

    color: #ff522f;

    font-size: 20px;

    margin-top: -3px;
}

.promo-offer em {
    color: #fff;

    font-style: normal;
}


/* Bottom promo */

.promo-bottom p {
    color: #fff;

    font-size: 13px;

    line-height: 1.4;

    margin-bottom: 18px;
}

.promo-btn {
    display: flex;

    align-items: center;

    justify-content: center;

    height: 40px;

    width: 100%;

    border-radius: 7px;

    background: #ec5933;

    color: #fff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    transition: .3s ease;
}

.promo-btn:hover {
    background: #d84725;

    color: #fff;
}


/* =========================================
   DESKTOP HOVER
========================================= */

@media (min-width: 992px) {

    .destination-menu:hover
    .destination-mega-menu {
        display: block;

        animation: megaMenu .25s ease;
    }

}


@keyframes megaMenu {

    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1200px) {

    .destination-mega-menu {
        width: 95vw;
    }

    .destination-wrapper {
        grid-template-columns:
            220px
            1fr
            230px;
    }

    .destination-grid {
        grid-template-columns:
            repeat(5, 1fr);
    }

    .destination-card1 img {
        width: 80px;
        height: 80px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 991px) {

    .destination-menu {
        position: relative !important;
    }

    .destination-mega-menu {

        position: absolute !important;

        left: 0 !important;

        transform: none !important;

        width: 100%;

        max-width: 100%;

        border-radius: 0 !important;

        max-height: 80vh;

        overflow-y: auto;
    }

    .destination-wrapper {
        display: block;
    }

    .destination-sidebar {
        padding: 15px;
    }

    .destination-link {
        font-size: 16px;

        min-height: 40px;
    }

    .customize-btn {
        margin: 15px 5px 5px;
    }

    .destination-content1 {
        padding: 25px 15px;
    }

    .destination-content1 h3 {
        margin-bottom: 25px;
        font-size: 20px;
    }

    .destination-grid {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 25px 10px;
    }

    .destination-card1 img {
        width: 75px;
        height: 75px;
    }

    .destination-card1 {
        font-size: 13px;
    }

    .destination-promo {
        min-height: 300px;
    }

}


/* Small mobile */

@media (max-width: 575px) {

    .destination-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .destination-card1 img {
        width: 90px;
        height: 75px;
    }

}
