
.offcanvas-icon-smaller-padding {
    color: white;
    background-color: rgb(93, 93, 237);
    padding: 15px 6.5px;
    border-radius: 50%;
}


.offcanvas-icon {
    color: white;
    background-color: rgb(93, 93, 237);
    padding: 15px 8px;
    border-radius: 50%;
}

.offcanvas-icon-bigger-padding {
    color: white;
    background-color: rgb(93, 93, 237);
    padding: 15px 10px;
    border-radius: 50%;
}

.offcanvas-icon-biggest-padding {
    color: white;
    background-color: rgb(93, 93, 237);
    padding: 15px 13px;
    border-radius: 50%;
}

.offcanvas-text {
    font-size: 14px;
    font-weight: bold;
}


/* -------- Desktop pocetna ------- */

.my-nav-link {
    color: rgb(66, 63, 63);
    transition: 0.2s color;
}

.my-active {
    color: var(--secondary-color);
}

.my-nav-link:hover {
    color: var(--secondary-color);
}



.menu-logo{
    width: 80px;
    height: 80px;
    margin-top: -60px;
}



.desktop-nav {
    position: fixed;
    top: 10px;
    width: 80%;
    left: 50%;
    margin-left: -40%;
    z-index: 99999;
    border: 1px solid rgba(179, 171, 171, 0.658);
    border-radius: 10px;
    padding: 13px 15px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background-color: rgba(255, 255, 255, 0.2);
}

.desktop-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-nav-hamburger {
    display: flex;
    gap: 1.16rem;
    align-items: center;
}

.desktop-nav-hamburger-show {
    display: flex !important;
    flex-direction: column !important;
}


.hamburger-button {
    display: none;
    border: none;
    background-color: none;
}

.hero-section {
    background-color: var(--neutral-color);
    padding-top: 150px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.card-wrapper {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.card-box {
    flex-basis: 24%;
    padding: 20px;
}

.desktop-footer {
    display: flex;
    justify-content: space-between;
    width: 1536px;
    margin: 100px auto;
    border: 1px solid rgba(179, 171, 171, 0.658);
    border-radius: 10px;
    padding: 13px 15px;
}

.hero-heading {
    background: linear-gradient(to right, var(--accent-color), var(--accent-color), var(--accent-color), var(--semi-accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* fallback for modern browsers */
    color: transparent;
}

.sticky-wrapper {
    position: sticky;
    top: 20px;
    border: 2px dashed red; /* optional for testing */
}




.random-button {
    border-radius: 40px;
    font-size: var(--fs-500);
    padding: 15px 50px;
    background-color: rgb(48, 46, 46);
    color: white;
    transition: .2s background-color;
}

    .random-button:hover {
        background-color: rgb(0, 0, 0);
    }


.contact-form-control {
    border: 1px solid rgb(179, 174, 174);
    padding: 15px 10px;
    border-radius: 0;
    background-color: white;
}

.contact-form-btn {
    width: 100%;
    padding: 15px 0;
    background-color: rgb(6, 156, 6);
    color: white;
    border: none;
}


/* -------- Mape ---------- */


.mapa {
    position: relative !important;
    z-index: 2 !important;
    width: 100%;
    height: 100vh;
}

    .mapa * {
        z-index: 2 !important;
    }


.maps-categories-form {
    height: 86px;
    overflow: hidden;
    position: relative;
}

.maps-categories-form-height {
    height: auto !important;
}

.maps-categories-form-more {
    position: absolute;
    bottom: -5px;
    right: 20px;
}


.custom-marker > p > a {
    font-size: 1.2rem;
    color: orange !important; /* The main text color */
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
}


.my-div-icon {
    width: 100px;
}

.category-label {
    font-size: var(--fs-400) !important;
}

#list {
    overflow-y: auto !important;
}

.lista {

    max-height: calc(100vh - 50px);
    overflow-y: auto !important;
}


.maps-filters {
    background-color: var(--neutral-color);
    position: fixed;
    top: 50px;
    right: 0;
    width: 340px;
    height: 100vh;
    z-index: 3;
}

.filters {
    background-color: var(--neutral-color);
    position: absolute;
    bottom: 70px;
    bottom: -80vh;
    z-index: 4;
    width: 100%;
    height: 80vh;
    opacity: 0;
    visibility: hidden;
    transition: bottom 0.5s ease-in-out, opacity 0.3s ease-in-out, visibility 0.5s !important;
}

.filters-close {
    position: absolute;
    top: 29px;
    right: 30px;
    z-index: 9999;
}

.filter-flex-div {
    display: flex;
    flex-direction: column;
}


.map_list {
    order: 1;
}

.map_search {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    order: 2;
}


.filter-button {
    border-radius: 20px;
    background-color: var(--accent-color);
    border-style: none;
    padding: 10px 30px;
    color: white;
    width: 100%;
    transition: .2s opacity;
}

    .filter-button:hover {
        opacity: 0.95;
    }


.event-list-card {
    position: relative;
    background-color: var(--neutral-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    line-height: 1px;
    text-decoration: none;
    z-index: 1;
    padding: 50px 0;
}

.event-card-tittle {
    line-height: 22.5px;
    padding-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-text {
    width: 40%;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.favorite-link {
    z-index: 5;
    position: absolute;
    top: 6px;
    right: 8px;
    text-decoration: none;
    color: var(--primary-color);
}

.share-link {
    z-index: 5;
    position: absolute;
    top: 47px;
    right: 8px;
    text-decoration: none;
    color: var(--primary-color);
}

.favorite-icon {
    border-radius: 50%;
    background-color: rgba(58, 55, 55, 0.75);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4); /* Soft shadow */
    padding: 10px 10px;
}



/* ----- Event page ----- */

.event-background {
    background-image: url("../images/beer-fest_output.jpg");
    background-size: contain; /* Keeps the image's aspect ratio */
    background-repeat: no-repeat;
    background-position: center top; /* Adjust position */
    background-attachment: fixed; /* Enables parallax effect */
    width: 100%; /* Adjust width (change as needed) */
    height: 490px; /* Adjust height */
    margin: 0 auto; /* Center the background horizontally */
    position: relative;
    z-index: -2;
}

.event-content {
    padding-bottom: 110px !important;
    border-radius: 25px;
    margin-top: -20px;
}


.event-map {
    width: 100%;
    height: 300px;
}




.event-description-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.event-description {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    max-height: 4.5em; /* Adjust based on line height */
    position: relative;
}

.event-description-container.open .event-description {
    -webkit-line-clamp: unset; /* Remove line limit */
    overflow: visible;
    max-height: none;
}

.btn-read-more {
    background: white;
    border: none;
    color: var(--accent-color) !important;
    cursor: pointer;
    padding: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white 50%);
}



.btn-read-more {
    background: none;
    border: none;
    color: blue;
    cursor: pointer;
    font-weight: bold;
    margin-top: 5px;
}

.event {
    height: calc(100vh - 100px);
    overflow-y: auto;
    z-index: 1;
}

.event-back-icon {
    position: fixed;
    top: 60px;
    left: 300px;
    z-index: 3;
    color: var(--primary-color);
    border-radius: 50%;
    background-color: rgba(78, 72, 72, 0.7);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4); /* Soft shadow */
    padding: 10px 15px;
}

.event-favorite-icon {
    position: fixed;
    top: 60px;
    right: 380px;
    z-index: 3;
    color: var(--primary-color);
    border-radius: 50%;
    background-color: rgba(78, 72, 72, 0.7);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4); /* Soft shadow */
    padding: 10px 15px;
}

.event-contact {
    color: rgb(95, 90, 90) !important;
    color: var(--accent-color) !important;
}


.category-card {
    background-color: rgb(209, 194, 194);
    background-color: var(--semi-accent-color);
    padding: 3px 8px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--secondary-color);
}



.event-scroller {
    overflow-x: auto;
    padding: 10px;
}

.event-scroll-card {
    transform: translateX(-10px);
    display: flex;
    flex-direction: column;
    background-color: var(--semi-accent-color);
    padding: 16px 20px;
    border-radius: 10px;
}

.event-scroll-card {
    position: relative;
    transform: translateX(-10px);
    display: flex;
    flex-direction: column;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    text-decoration: none;
    width: 150px;
}

.event-scroll-card-img {
    height: 100px;
    width: 150px;
    object-fit: cover;
    border-radius: 16px !important;
}


/* ----- sliding radio button ----- */


.bauble_box .bauble_input::before {
    margin: 0 !important;
    padding: 0 !important;
}

.bauble_box .bauble_label {
    background: var(--accent-color);
    background-position: 62px 0px;
    background-repeat: no-repeat;
    background-size: auto 5px;
    border: 0;
    border-radius: 50px;
    box-shadow: inset 0 10px 20px rgba(0,0,0,.4), 0 -1px 0px rgba(0,0,0,.2), inset 0 -1px 0px #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 0;
    height: 30px;
    position: relative;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    width: 60px;
}

    .bauble_box .bauble_label:before {
        background-color: rgba(255,255,255,.2);
        background-position: 0 0;
        background-repeat: repeat;
        background-size: 30% auto;
        border-radius: 50%;
        box-shadow: inset 0 -5px 25px rgb(255, 255, 255), 0 10px 20px rgba(0,0,0,.4);
        content: '';
        display: block;
        height: 20px;
        left: 5px;
        position: absolute;
        top: 4.5px;
        -webkit-transition: all 500ms ease;
        transition: all 500ms ease;
        width: 20px;
        z-index: 2;
    }


.bauble_box input.bauble_input {
    opacity: 0;
    z-index: 0;
}

    /* Checked */
    .bauble_box input.bauble_input:checked + .bauble_label {
        background-color: #2c2;
    }

        .bauble_box input.bauble_input:checked + .bauble_label:before {
            background-position: 150% 0;
            box-shadow: inset 0 -5px 25px rgb(255, 255, 255), 0 10px 20px rgba(0,0,0,.4);
            left: calc( 100% - 29px );
        }


/* ---- Search bar */

.search {
    display: inline-block;
    position: relative;
    width: 100%;
}

    .search input[type="text"] {
        width: 100%;
        padding: 10px;
        border: none;
        border-radius: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        height: 34px;
    }

    .search button[type="button"], .search button[type="submit"] {
        background-color: var(--accent-color);
        border: none;
        color: #fff;
        cursor: pointer;
        padding: 5px 18px;
        border-radius: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 0;
        right: 0;
        transition: .9s ease;
        height: 34px;
    }

        .search button[type="submit"]:hover, .search button[type="button"]:hover {
            transform: scale(1.05);
            color: rgb(255, 255, 255);
            background-color: blue;
        }



.map-target {
    position: absolute;
    bottom: 25%;
    right: 400px;
    z-index: 999;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
}


/* ----- Omiljeno ----- */


.omiljeno-kategorija-box {
    overflow-x: auto; /* Enable horizontal scroll */
    overflow-y: hidden; /* Hide vertical scroll */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

    .omiljeno-kategorija-box::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

.omiljeno-kategorija-element {
    color: gray;
    border: 1px solid gray;
    padding: 2px 22px;
    border-radius: 10px;
}

.active-omiljeno-kategorija-element {
    color: white;
    border: 1px solid rgb(31, 30, 30);
    background-color: rgb(31, 30, 30);
    padding: 2px 22px;
    border-radius: 10px;
}

.bottom-shadow {
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}


/* ------ Pocetna mobile ------ */

.pocetna-ad {
    width: 100%;
    height: 130px;
    object-fit: cover;
    object-position: center;
}

.card-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: 0;
}

    .card-scroll::-webkit-scrollbar {
        display: none;
    }

.home-menu {
    line-height: 1;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--light-accent-color);
    z-index: 999;
}

.home-menu-popup {
    padding: 10px 10px;
    display: none;
    flex-direction: column;
    gap: 6px;
    position: absolute;
    width: 140px;
    height: 90px;
    background-color: var(--neutral-color);
    border-radius: 10px;
    top: 35px;
    right: 10px;
    z-index: 999;
    border: 1px solid var(--semi-accent-color);
}

.home-menu-popup-inner{
    display: flex;
    width: 100%;
    text-align:left;
    padding: 5px;
    font-size: var(--fs-430);

    transition: .15s background-color;
}
.home-menu-popup-inner:hover {
    border-radius: 5px;
    background-color: rgb(224, 224, 215);
}

.home-menu-popup-inner a:hover{
    color: var(--secondary-color);
}


.home-menu-popup-inner form button {
    border: none;
    background-color: none;
    text-decoration: none;
}
.home-menu-popup-btn, .home-menu-popup-btn:hover{
    background-color: transparent !important;
}



.card {
    flex: 0 0 auto; /* don't shrink, keep fixed width */
}

.my-card {
    width: 240px;
    border-radius: 15px;
}

.my-card-img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    width: 240px;
    height: 120px;
    object-fit: cover;
    object-fit: center;
}
