/* Apply custom scrollbar to the entire page */
html::-webkit-scrollbar {
    width: 4px;
}

html::-webkit-scrollbar-thumb {
    background-color: #1d1d1f;
    border-radius: 3px;
}

html::-webkit-scrollbar-thumb:hover {
    background-color: #1d1d1f;
}

html::-webkit-scrollbar-track {
    background: rgba(11, 10, 63, 0.1);
}

body {
    scrollbar-width: thin;
    scrollbar-color: #1d1d1f rgba(11, 10, 63, 0.1);
}

.PPFragment {
    font-family: 'PP Fragment', sans-serif;

}

.PPFragment-filter {
    font-family: 'PP Fragment';
    font-weight: 500 !important;
    font-size: 17px !important;

}

/* Styles after scrolling */
.Navigationbar.scrolled {
    background-color: white;
    color: black;
}

.Navigationbar.scrolled .Links-for-Desktop a {
    color: black;
    /* Ensure the links also change color */
}

.Navigationbar.scrolled .Links-for-Desktop a:hover {
    color: #4e9af8;
    /* Ensure the links also change color */
}

.Navigationbar.scrolled .Book-Tour-Button-Desktop {
    border-color: black;
    background-color: black;
    color: white;
}

.Navigationbar.scrolled .Book-Tour-Button-Desktop:hover {
    background-color: transparent;
    color: black;
    border-color: black;
}

.Navigationbar.scrolled .Book-Tour-Button-Mobile {
    border-color: black;
    background-color: black;
    color: white;
}

.Navigationbar.scrolled .Book-Tour-Button-Mobile:hover {
    background-color: transparent;
    color: black;
    border-color: black;
}

@media (min-width: 768px) and (max-width: 820px) {

    .Navigationbar #menu-toggle {
        display: block !important;
    }

    .Navigationbar .Links-for-Desktop {
        display: none !important;
    }

    .Navigationbar .Book-Tour-Button-Desktop {
        display: none !important;
    }

    .Navigationbar .Book-Tour-Button-Mobile {
        display: block !important;
        margin-left: auto;
        margin-right: 1rem;
    }

    .Navigationbar .sidebar {
        display: block !important;
    }

    .home-content {
        height: 100dvh !important;
    }

    .hero-section {
        top: 80px !important;
    }

    #tranding {
        top: 0px !important;
    }

    /* tours filter */
    #filterSidebar {
        position: absolute;
        width: 350px;
        inset: 0 0 auto 0;
        z-index: 40;
        background-color: white;
        border-right: 1px solid #e5e7eb;
        /* Tailwind's border-gray-200 */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    #filterSidebar.open {
        transform: translateX(0);
    }

    #filterToggle,
    #filterClose {
        display: block !important;
    }

    #Tours_Section {
        width: 100% !important;
    }
}

#budgetRange {
    position: relative;
    z-index: 1;
}

#budgetValue {
    transform: translateX(-50%);
    pointer-events: none;
    /* Prevent interaction */
}