@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    /* overflow: auto; */
    overflow: hidden;

    background-image: url("assets/abstract-luxury-blur-dark-grey-black-gradient-used-as-background-studio-wall-display-your-products-plain-studio-background\ \(1\).jpg");
    background-repeat: no-repeat;
    background-size: cover;
    /* OVDE je ključ */
    background-position: center;
    background-color: #ffffff;
    /* rezervna boja */
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    /* Postavljanje visine na celokupnu visinu ekrana */
    overflow: hidden;
}

.blur-overlay {
    position: fixed;
    /* ili absolute ako si siguran da je body 100% */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(162, 162, 162, 0);
    backdrop-filter: blur(15px);
    z-index: 0;
    pointer-events: none;
}

.continue button {
    cursor: pointer;
    pointer-events: auto;
    padding: 12px 30px;
    font-size: 16px;
    font-family: "Georgia", serif;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.continue button:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    cursor: pointer;
}

.continue button:active {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0.98);
}

#touchHotspot {
    pointer-events: none;
    /* Važno: omogućava klik da prođe do modela */
}

.floating-image {
    pointer-events: none;
    /* Važno: omogućava klik da prođe do modela */
    width: 700px;
    height: auto;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
}

.container-fluid {
    position: relative;
    z-index: 2;
}

.container-menu {
    z-index: 2;
}

.container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('path-to-your-360-image.jpg') no-repeat center center;
    background-size: cover;
    transform: rotateY(0deg);
    /* Rotacija slike po potrebi */
    animation: rotate 60s infinite linear;
    /* Animacija za rotaciju 360° */
}

/* Animacija za rotaciju 360° */
@keyframes rotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.pading-info {
    height: 40px;
}

.info-button:hover {
    background-color: rgba(255, 255, 255, 0.7);
    /* Milky white (sa prozirnostima) */
    backdrop-filter: blur(20px);
}

.info-button:active {
    background-color: rgba(255, 255, 255, 0.7);
    /* Milky white (sa prozirnostima) */
    backdrop-filter: blur(20px);
}

.info-button:visited {
    background-color: rgba(255, 255, 255, 0.7);
    /* Milky white (sa prozirnostima) */
    backdrop-filter: blur(20px);
}

.img-info {
    width: auto;
    height: 50px;
    margin-left: 10px;
    margin-right: 10px;
}

.slika-btn {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* slika ispuni kvadrat bez izobličenja */
    display: block;
    /* background-color: #4285f4; */
    background-color: rgba(59, 59, 59, 0.2);
    /* Milky white (sa prozirnostima) */
    backdrop-filter: blur(20px);
    border-radius: 10px;
}

.img-size {
    width: 100%;
    /* background-color: aqua; */
    aspect-ratio: 1 / 1;
    /* čini dugme kvadratnim */
    padding: 0;
    border: none;
    background: none;
    display: block;
    max-width: 150px;
}

.logo-button {
    padding-top: 20px;
    margin-right: 20px;
    width: 50px;
    height: auto;
}

.header-button {
    padding-left: 20px;
    /* background-color: #4285f4; */
    display: flex;
    align-items: flex-end;
    /* Poravnavanje elemenata po donjoj liniji */

}

.header-button h3 {
    margin: 0;
    font-family: "Georgia", serif;
    /* background-color: red; */
    height: auto;
    color: white;
    /* color: white; */
}



.header-wrapper h6 {

    color: white;
    margin-top: 5px;
    /* margin-left: 90px; */
    margin-left: 20px;
}

.header-wrapper {
    display: inline-block;
    /* grupiše sve zajedno ako je potrebno */
    text-align: left;
}

@media (min-width: 767px) {
.info-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: transparent;
    font-family: "Georgia", serif;
    color: white;
    flex: 0.4;
}}

@media (min-width: 1024px) {
.info-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: transparent;
    font-family: "Georgia", serif;
    color: white;
    flex: 0.3;
}}

.info-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: transparent;
    font-family: "Georgia", serif;
    color: white;
}

.naslov {
    padding-top: 1%;
    width: 100%;
    font-family: "Georgia", serif;
    color: #f7f7f7;
    text-align: center;
    position: absolute;
    margin: auto;
    padding-left: 25%;
    padding-right: 25%;
}

.naslov h3{
    margin: auto;
        font-size: xx-large;
        line-height: 2;
       
}

.info-footer {
    padding-bottom: 1%;
    width: 100%;
    font-family: "Georgia", serif;
    color: #19191974;
    text-align: center;
    position: fixed;
    bottom: 0;
    font-size: 0.1rem;
    margin: auto;
    padding-left: 10%;
    padding-right: 10%;
}

.info-footer  h3{
    margin: auto;
           font-size: large;
            font-weight: 300;
}

.img-size:hover {
    background-color: rgba(255, 255, 255, 0.4);
    /* Milky white (sa prozirnostima) */
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

.img-size-img {
    width: auto;
    height: 100%;
}

.text-justify {
    text-align: justify;
}

.modal {
    /* background: transparent !important; */
    --bs-modal-bg: transparent;
    --bs-modal-border-color: transparent;
    --bs-modal-border-width: 0;
    padding: 0 !important;
}

.modal-dialog {
    max-width: 90% !important;
    max-height: 90% !important;
    background: transparent;
    margin-left: auto;
    margin-right: auto;

    align-content: end;
}

.modal-header {
    background-color: #EBEAEB;
    opacity: 80%;
    border: 0;

}

.modal-footer {
    background-color: #EBEAEB;
    opacity: 80%;
    border: 0;
}

.modal-body {
    background-color: #EBEAEB;
    opacity: 80%;
    border: 0;


}


.modal-backdrop {
    z-index: auto !important;
}

.back-logo {
    /* margin-left: 40px; */
    width: 40px;
    height: auto;
}

.back-button {
    height: fit-content;
    display: flex;
    position: absolute;
    align-items: center;
    border: none;
    background: transparent;
    margin-top: 60px;
    left: 40px;
    /* background-color: #4285f4; */
    align-items: center;
    /* Poravnavanje elemenata po donjoj liniji */
    padding: 10px;
    border-radius: 5px;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.7);
    /* Milky white (sa prozirnostima) */
    backdrop-filter: blur(20px);
}

.back-button h5 {
    margin-left: 10px;
    margin-bottom: 0;
    color: white;
    font-family: "Georgia", serif;
}



.info {
    /* background-color: #4285f4; */
    display: flex;
    position: absolute;
    align-items: center;
    border: none;
    background: transparent;
    font-family: "Georgia", serif;
    bottom: 20px;
    left: 40px;

}

.info img {
    width: 40px;
    height: auto;
}

.info div {
    padding-left: 5px;
    color: white;
}



.loader {
    /* background-color: #4285f4; */
    position: fixed;
    /* ili absolute, zavisi od layouta */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: rgba(255, 255, 255, 0.8);   */
    background: #ffffff;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
    overflow: visible;
}


.logo-breathing {
    left: 10px;
    /* background-color: chartreuse; */
    width: 120px;
    /* prilagodi veličinu logotipa */
    animation: breathe 2.5s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes breathe {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}


.button-linkedin::-webkit-scrollbar {
    width: 10px;
}

.button-linkedin::-webkit-scrollbar-track {
    background: #e0e0e000;
}

.button-linkedin::-webkit-scrollbar-thumb {
    background-color: #000000;
    /* tamnija nijansa sive */
    border-radius: 10px;
}

.button-linkedin::-webkit-scrollbar-thumb:hover {
    background-color: #666;
    /* još tamnije pri hoveru */
}


.button-linkedin {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* background-color: #4285f4; */
    padding-right: 15px;
    margin: 20px;
}




.button-div {
    min-height: 0;
    height: 100dvh;
    /* background-color: #EBEAEB; */
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0;
}

.bg-button {
    margin: 20px;
    /* background-color: rgba(255, 255, 255, 0.5); */
    /* backdrop-filter: blur(20px);  */
    height: calc(100% - 40px);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#desktop-model-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
    width: 20%;
}

.continue{
    margin:auto;
    padding: 10px;
}

.continue button{
    border-radius: 10px;
    font-size: x-large;
        padding: 20px;
}

/* Mobile: full width, single row, horizontal scroll */
@media (max-width: 768px) {
    .ui {
        flex-direction: column;
        width: 100%;
        height: auto;
        pointer-events: auto;
    }

    #desktop-model-list {
        width: 100%;
        grid-template-columns: repeat(10, minmax(100px, 1fr));
        overflow-x: auto;
        overflow-y: hidden;
        height: auto;
        gap: 12px;
        flex: 0 0 auto;
        pointer-events: auto;
        margin-top: 2%;
    }

    .info-panel {
        width: 100%;
        pointer-events: auto;
        height: fit-content;
    }




    .model-description-panel {
        padding: 10px;
        margin: 15px;
        width: 100%;
    }

    .naslov {
        padding-top: 5%;
        width: 100%;
        pointer-events: auto;
        font-size: 1.2rem;
            padding-left: 5%;
    padding-right: 5%;
    
    }

    .naslov h3 {
         font-size: xx-large;
         line-height: 1;
    }
}

#desktop-model-list .col-lg-6 {
    position: relative;
    width: 100%;
    padding: 0;
}

#desktop-model-list .col-lg-6::before {
    content: '';
    display: block;
    padding-top: 100%;
}

#desktop-model-list .col-lg-6>.img-size {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#desktop-model-list .img-size {
    aspect-ratio: 1 / 1;
    pointer-events: auto;
}

#desktop-model-list::-webkit-scrollbar {
    width: 8px;
}

#desktop-model-list::-webkit-scrollbar-track {
    background: transparent;
}

#desktop-model-list::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

.model-description {
    margin-top: 16px;
    padding: 30px 20px 20px 20px;
    text-align: left;
    color: #191919;
    pointer-events: auto;
    background-color: rgba(59, 59, 59, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(20px);
        max-height: 90vh;
}

.model-description .description-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: #191919;
}

.model-description .description-short {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1;
    white-space: pre-wrap;
    text-align: end;
    color: #191919;
}

.mv-logo {
    width: 100px;
    height: auto;
    opacity: 0.9;
    margin-bottom: 10px;
}

.model-description .description-short.hidden {
    display: none;
}

.model-description .description-long {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 300;
    text-align: justify;
                max-height: 60%;
                scrollbar-width: thin;
}

.model-description .description-long.hidden {
    display: none;
}

.model-description .description-toggle {
    margin-top: 0.9rem;
    padding: 0.45rem 0.75rem;
    font-size: small;
    letter-spacing: 0.01em;
    color: #191919;
    border-color: #191919;
}

.ar-toggle {
        margin-top: 0.9rem;
    padding: 0.45rem 0.75rem;
    font-size: small;
    letter-spacing: 0.01em;
    float:right;
        color: #191919;
    border-color: #191919;
}

.content {
    position: relative;
    width: 100%;
    height: 100dvh;
}

.content-menu {
    position: relative;
    width: 100%;
    height: 100dvh;
    background-image: url(assets/background.jpg);
        background-size: cover;
    background-position: bottom;
}

.info-panel {
    width: 20%;
    justify-content: center;
}

.model-panel {
    position: relative;
    z-index: 1;
}

.ui {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.model-list-panel {
    align-content: center;
}

.centar {
    align-content: center;
}

model-viewer {
    overflow-x: hidden;
    --poster-color: #eee;
    width: 100%;
    height: 100dvh;
    background: transparent;
    margin: 0;
    padding: 0;

}

.carousel-control.right {
    background-color: transparent;


}

.carousel-control.left {
    background-color: transparent;
}

.carousel {
    bottom: 0;
    width: 100%;
    position: absolute;
}

#ar-button {
    display: none;
    background: none;
    position: absolute;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    /* white-space: nowrap; */
    border: none;
    bottom: 150px;
    right: 10px;
    padding: 0px 20px 0px 20px;
    /* font-family: Roboto Regular, Helvetica Neue, sans-serif; */
    font-size: 15px;
    /* color: #ffffff; */
    /* background-color: transparent; */
    height: 50px;
    /* line-height: 36px; */
    /* border-radius: 18px; */
    /* border: 1px solid #DADCE0; */
}

#ar-button:active {
    background-color: #E8EAED;
}

#ar-button:focus {
    outline: none;
}

#ar-button:focus-visible {
    outline: 1px solid #4285f4;
}

.slide {
    background-color: red;
    /* border: 2; */
}

.slide:hover {
    background-color: rgba(128, 128, 128, 0.336);
    border-radius: 15px;
}

.slide.selected {

    background-color: rgba(128, 128, 128, 0.336);
    border-radius: 15px;
}

.slide:focus {
    outline: none;
}


.img-test {
    padding: 0.25rem;
}

.item {
    height: 100%;
}

.main_div {
    height: 100dvh;
    margin: 0;
    padding: 0;
    position: relative;
    /* background-color: #cfbf91; */
}

.button_div {
    margin: 0;
    padding: 0;
    z-index: 1;
    width: 100%;
    height: 100dvh;
}

.bottom-content {
    position: absolute;
    bottom: 0;
}

.carousel-inner {
    width: 80%;
    height: 100%;
    margin-left: 10%;

}



.multi-item-carousel {
    .carousel-inner {
        >.item {
            transition: 500ms ease-in-out left;
        }

        .active {
            &.left {
                left: -25%;
            }

            &.right {
                left: 25%;
            }
        }

        .next {
            left: 25%;
        }

        .prev {
            left: -25%;
        }

        @media all and (transform-3d),
        (-webkit-transform-3d) {
            >.item {

                transition: 500ms ease-in-out left;
                transition: 500ms ease-in-out all;
                backface-visibility: visible;
                transform: none !important;
            }
        }
    }

    .carouse-control {

        &.left,
        &.right {
            background-image: none;
        }
    }
}

/*modileeeee*/
/* Fixira dugmiće na dnu ekrana */
.button-linkedin-mobile {
    /* background-color: #4285f4; */
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    z-index: 1000;
    /* Osigurava da je na vrhu svih ostalih elemenata */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Carousel sa horizontalnim skrolovanjem */
.carousel-mobile {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    padding: 0 10px;
    /* Dodaj padding za bolje poravnanje */
}

/* Sakriva skrol traku u svim pretraživačima */
.carousel-mobile::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.row {
    flex-direction: row-reverse;
}

/* Konfiguracija redova sa dugmićima */
.row-mobile {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    max-width: 100%;
    user-select: none;
    /* Sprečava selektovanje sadržaja, što uključuje dragovanje */
    pointer-events: auto;
    /* Omogućava interakciju sa dugmićima */
    touch-action: pan-x;
    /* Dozvoli samo vertikalno skrolovanje, ne horizontalno prevlačenje */
}



/* Svako dugme unutar row-a */
.row-mobile .your-button-class-mobile {
    pointer-events: auto;
    /* Omogućava klikabilnost dugmića */
}

/* Stil za dugmiće sa slikama */
.img-size-mobile {
    width: 100px;
    height: 100px;
    transition: transform 0.2s ease;
    margin: 0 10px;
    scroll-snap-align: center;
    /* Poravnanje na ekranu */
    flex: 0 0 auto;
}

/* Stil za dugmiće - osnovni izgled */
.your-button-class-mobile {
    background-color: transparent;
    border: none;
    padding: 10px;
}

/* Aktivno dugme (srednje dugme koje je 20% veće) */
.clicked-mobile {
    transform: scale(1.2);
    /* Srednji/aktivni je 20% veći */
}

/* Stil za slike unutar dugmića */
.slika-btn-mobile {
    width: 100%;
    height: 100%;
}

/* Dodatni detalj: omogućiti scroll sa maksimalno 3 dugmića vidljiva na ekranu */
.carousel-mobile {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carousel-mobile::-webkit-scrollbar {
    display: none;
    /* Sakrivanje skrol trake */
}

.row-mobile .img-size-mobile {
    flex: 0 0 auto;
    /* Zadržava širinu svakog dugmeta */
}

.desktop {
    display: block;
}

.mobile {
    width: 100%;
    /* background-color: red; */
    display: none;
    height: 100%;
}

.header-mobile {
    display: none;
    position: absolute;
    width: 75%;
    height: 100px;
    /* background-color: #4285f4; */
    top: 20px;
    right: 0;
    color: white;
}

.ar-button-size {
    width: 40px;
    height: auto;
}



@media (max-width: 1440px) {
.model-description .description-long {
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: 1;
    font-weight: 300;
    text-align: justify;
                max-height: 60%;
                scrollbar-width: thin;
}


.model-description .description-title {
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    color: #191919;
}

.model-description .description-short {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1;
    white-space: pre-wrap;
    text-align: end;
    color: #191919;
}
}

@media (max-width: 1024px) {
.model-description .description-long {
    margin-top: 0.75rem;
    font-size: small;
    line-height: 1;
    font-weight: 300;
    text-align: justify;
                max-height: 60%;
                scrollbar-width: thin;
}


.model-description .description-title {
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    color: #191919;
}

.model-description .description-short {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1;
    white-space: pre-wrap;
    text-align: end;
    color: #191919;
}
}

/* Media Query za mobilne uređaje */
@media (max-width: 768px) {

    .mv-logo {
        width: 100px;
        height: auto;
        opacity: 0.9;
        /* margin: auto; */
        margin-left: auto;
        margin-right: auto;
        margin-top: 3%;
        margin-bottom: 10px;
}
    .button-linkedin-mobile {
        width: 100%;
    }

    .carousel-mobile {
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }

    .row-mobile {
        flex: 0 0 auto;
    }

    .img-size-mobile {
        flex: 0 0 auto;
    }

    .row-mobile::-webkit-scrollbar {
        display: none;
    }

    .row-mobile {

        scroll-snap-type: x mandatory;
    }

    .model-description {
    margin-top: 16px;
    padding: 15px 15px 15px 15px;
    text-align: left;
    color: #fff;
    pointer-events: auto;
    background-color: rgba(59, 59, 59, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(20px);
}

    /* Postavljanje aktivnog dugmeta kao srednjeg */
    .clicked-mobile {
        transform: scale(1.7);
    }

    .button-div {
        display: none;
    }

    .button-linkedin-mobile {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .back-button:hover {
        background-color: transparent;
        backdrop-filter: none;
    }

    .back-button {
        /* background-color: #4285f4; */
        left: 10px;
        margin-top: 10px;
    }

    .back-button h5 {
        display: none;
    }

    .header-mobile {
        right: 10px;
        display: block;
    }

    .info {
        bottom: 150px;
        left: 10px;
    }

    .info-panel {
        width: 100%;
        padding: 0;
    }

    .info div {
        display: none;
    }

    .floating-image {
        width: 300px;
    }

    .model-description .description-title {
        margin-bottom: 0.2rem;
        font-size: 1.2rem;
        font-weight: 300;
        line-height: 1;
        text-align: center;
        padding: 0;
    }

    .model-description .description-short {
        margin-bottom: 1rem;
        margin-top: 1rem;
        font-size: 1rem;
        white-space: pre-wrap;
        text-align: end;
        padding: 0;
            color: #191919;
    }

    .model-description .description-long {
        margin-top: 0.75rem;
        font-size: 1rem;
        font-weight: 300;
        text-align: justify;
        padding: 0;
        color: #191919;
        overflow: auto;
    max-height: 20vh;
    }

    .info-footer {
    padding-bottom: 1%;
    width: 100%;
    font-family: "Georgia", serif;
    color: #19191974;
    text-align: center;
    position: fixed;
    bottom: 0;
    font-size: 0.1rem;
    margin: auto;
    padding-left: 0;
    padding-right: 0;
}

.info-footer  h3{
    margin: auto;
           font-size: small;
           font-weight: 400;
}
}


