/* =========================================================
   TRAVEL SERVICES DROPDOWN
========================================================= */

.nav-dropdown-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown summary {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 0;
    color: inherit;
    font-size: inherit;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.dropdown-arrow {
    display: inline-block;
    font-size: 11px;
    transition: transform 0.2s ease;
}

.nav-dropdown[open] .dropdown-arrow {
    transform: rotate(180deg);
}


/* DROPDOWN BOX */

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 3000;

    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    width: 650px;
    padding: 12px;
    gap: 7px;

    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 24px 60px
        rgba(15, 23, 42, 0.18);

    transform: translateX(-50%);
    animation: dropdownOpen 0.18s ease;
}


/* SMALL ARROW ABOVE DROPDOWN */

.nav-dropdown-menu::before {
    content: "";

    position: absolute;
    top: -7px;
    left: 50%;

    width: 13px;
    height: 13px;

    border-top:
        1px solid rgba(15, 23, 42, 0.1);

    border-left:
        1px solid rgba(15, 23, 42, 0.1);

    background: #ffffff;

    transform:
        translateX(-50%)
        rotate(45deg);
}


/* SERVICE LINK */

.nav-dropdown-menu a {
    position: relative;

    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 68px;
    padding: 12px;

    border-radius: 11px;

    color: #172033;
    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: #f7f3e9;

    transform:
        translateY(-2px);

    box-shadow:
        0 7px 18px
        rgba(15, 23, 42, 0.07);
}


/* ICON */

.dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    border-radius: 11px;

    background: #f5ead3;

    font-size: 20px;
}


/* TEXT */

.nav-dropdown-menu strong,
.nav-dropdown-menu small {
    display: block;
}

.nav-dropdown-menu strong {
    margin-bottom: 4px;

    color: #172033;

    font-size: 13px;
    font-weight: 800;
}

.nav-dropdown-menu small {
    color: #667085;

    font-size: 11px;
    line-height: 1.4;
}


/* OPEN ANIMATION */

@keyframes dropdownOpen {
    from {
        opacity: 0;

        transform:
            translateX(-50%)
            translateY(-8px);
    }

    to {
        opacity: 1;

        transform:
            translateX(-50%)
            translateY(0);
    }
}


/* TABLET */

@media (max-width: 1100px) {
    .nav-dropdown-menu {
        left: auto;
        right: -160px;

        width: 590px;

        transform: none;
    }

    .nav-dropdown-menu::before {
        left: auto;
        right: 190px;

        transform: rotate(45deg);
    }

    @keyframes dropdownOpen {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


/* MOBILE */

@media (max-width: 900px) {
    .nav-dropdown-item,
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown summary {
        width: 100%;
        justify-content: space-between;
        padding: 12px 0;
    }

    .nav-dropdown-menu {
        position: static;

        grid-template-columns: 1fr;

        width: 100%;
        margin-top: 7px;
        padding: 8px;

        transform: none;

        box-shadow: none;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown-menu a {
        min-height: 60px;
    }
}