*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}



a{
    text-decoration: none;
    color: #333;
}

@font-face {
    font-family: font;
    src: url(../Raleway/Raleway-VariableFont_wght.ttf);
  }

  @font-face {
    font-family: font1;
    src: url(../Yeseva_One/YesevaOne-Regular.ttf);
  }


h1, h2, h3, h4, h5, a, li, span, button, p, label, input, textarea {
    font-family: font;
}


.zuti-button {
    padding: 15px 30px;
    border: 1px solid #f8b201;
    border-radius: 50px;
    background-color: transparent;
    margin: 20px auto;
    color: #f8b201;
    cursor: pointer;
    display: block;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease-in-out;
}

.zuti-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #f8b201;
    transition: width 0.4s ease-in-out;
    z-index: -1;
    border-radius: 50px;
}

.zuti-button:hover {
    color: white;
}

.zuti-button:hover::after {
    width: 100%;
}


#preloader{
    background: white url('../img/loader.gif') no-repeat center center;
    background-size: 10%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 10001;
}

.sticky{
    position: fixed;
    top: 0;
    background: white;
    z-index: 9999;
    padding:10px;
    margin: 0;
    transition: .7s;
    opacity: 1;
}

header.sticky .logo img {
    max-width: 50px; /* Manja veličina logotipa prilikom skrolanja */
    margin: 10px auto; /* Manji razmak */
    transition: .6s;
}

header.sticky .navi ul li a {
    font-size: 14px; /* Manji tekst u meniju prilikom skrolanja */
}

.hidden{
    display: none;
}


section{
    overflow: hidden;

}

.container{
    width: 80%;
    margin: 0 auto;
}

.flex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: fixed;
    right: 50px;
    top: 50px;
    display: none;
    padding: 0;
  
  }

.bar {
    position: relative;
    width: 100%;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
    transition: transform 0.3s ease;
    z-index: 9999;
  }
  
  .menu-toggle.open .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    background-color: #333;
  }
  
  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    background-color: #333;
  }




 /*NASLOVNA*/

header{
    position: fixed;
    width: 100%;
    border-bottom: 1px solid #333;
    z-index: 999;
    background-color: rgba(255, 255, 355, .7);
    box-shadow: 0 0 125px white;
    padding: 10px;
    transition: .7s;
    
}


.social-bar ul{
    display: flex;
    flex-direction: row;
    position: relative;
}

.social-bar ul li{
    margin: 0 3px;
}

.social-bar ul li:last-of-type{
    position: absolute;
    right: 10px;
}

.social-bar ul li a img{
    max-width: 18px;
}

.navi{
    display: flex;
    justify-content: center;
}



.navi ul{
    display: flex;
    flex-direction: row;
    margin: auto;
}

.navi ul li{
    margin: 0 20px;
    text-transform: uppercase;
    transition: .5s;
    font-weight: 500;
}

.navi ul li:hover{
    transform: scale(1.1);
    transition: .7s;
    color: white;
}

.logo{
    width: 100%;
}

.logo img{
    display: block;
    max-width: 100px;
    margin: 20px auto;
    transition: .8s;
}

.center-h2{
    text-align: center;
    font-weight: 200;
    display: block;
    margin: 50px auto;
}



/*NASLOVNA SLAJDER*/
/*
.dot-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, black 1px, transparent 1px);
    background-size: 5px 5px; 
    opacity: 0.3; 
    z-index: 2;
}
*/
.slideshow-container {
    position: relative;
    margin: auto;
    max-width: 100%;
    overflow: hidden;
}

.mySlides {
    display: none;
    position: relative;
    width: 100%;
    height: 90vh; /* Adjust height as needed */
    overflow: hidden;
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: zoom 7s linear alternate infinite;
    overflow: hidden;
}


@keyframes zoom{
    from{
        transform: scale(1);
    }
    to{
        transform: scale(1.2);
    }
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
    overflow: hidden;
   
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

.text {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    color: white;
    opacity: 0;
    animation: slideIn 1.5s ease-in-out;
    animation-fill-mode: forwards;
    z-index: 998;
}

.text h1{
    font-family:font1;
    font-size: 4em;
    color: #0079c2;
    background: rgba(255, 255, 255, .6);
    padding: 20px 50px;
    font-weight: 900;


}

.text h3{
    font-size: 2em;
    font-weight: 600;
}

.text h1, .text h3 {
    margin: 0;
    padding: 10px;
    
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





input, textarea{
    width: 100%;
    padding: 5px;
}




.novo-ponuda-single a{
    flex-basis: 20%;
    text-align: center;

}

.novo-ponuda-single img{
    max-width: 100%;
}


/*NASLOVNA USLUGE*/

.usluge-naslovna{
    margin: 70px auto;
}

.usluge-naslovna-single{
    flex-basis: 40%;
    text-align: center;
}

.usluge-naslovna-single img{
    max-width: 100px;
    display: block;
    margin: auto;
}

.onama-naslovna{
   margin: 20px auto; 
}

.onama-naslovna h2{
    border-bottom: 3px solid #f8b201;
    text-align: center;
    font-size: 2em;
    padding-bottom: 30px;
    letter-spacing: 3px;

}

.usluge-naslovna-single h3{
    font-weight: 400;
}

.onama-naslovna-text{
    flex-basis: 45%;
    margin: auto;
    text-align: justify;
}

.onama-naslovna-text p{
    margin-top: 30px;
}

.onama-naslovna-slika{
    flex-basis: 45%;
    
   
}

.onama-naslovna-slika img{
    max-width: 100%;
    border-radius: 20px;
}

.lejer{
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient( black, #333);
    opacity: .6;
}

.parralax{
    background: url('../img/parralax.jpg');
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    width: 100%;
    height: 400px;
   
}

.parralax h2{
    position: absolute;
    top: 50%;
    left: 5%;
    font-size: 5em;
    color:white;
    text-shadow: 0 0 20px white;

}













/*O NAMA MAIN*/


.slider-onama, .slider-usluge, .slider-referenca, .slider-uni{
    height: 40vh;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    
    
}

.slider-onama{
    background: url('../img/namjestaj1.jpg');
    background-position: center;
    
}



.slider-onama h1, .slider-usluge h1, .slider-referenca h1, .slider-uni h1{
    position: absolute;
    bottom: 5%;
    left: 10%;
    font-size: 4em;
    font-weight: 900;
    color: #f8b201;
}

.slider-onama h1::after, .slider-usluge h1::after, .slider-referenca h1::after, .slider-uni h1::after{	
    content: "";
    position: absolute;
    bottom: -2px; /* Podesite udaljenost linije od teksta */
    right: 0;
    width: 50%; /* Širina linije, npr. 40% od širine teksta */
    height: 5px; /* Visina linije */
    background-color: #f8b201; /* Boja linije */

}



.onama-main{
    margin: 30px auto;
}


.onama-text{
    flex-basis: 45%;
    text-align: justify;
    margin: auto;
}

.sektori{
    border-bottom: 3px solid #f35b09;
}

.sektor-single-img i{
    font-size: 2em;
}

.sektor-single-text h3 span{
    font-size: 5em;
    color: #f8b201;
}

.sektor-single-text p{
    color: #333;
    font-size: 2em;
}


.onama-slika{
    flex-basis: 45%;
    margin: auto;
}

.onama-slika img{
    max-width: 50%;
    display: block;
    margin: auto;
}


.onama-text h2{
    text-align: center;
    margin: 30px 0;
}

.sektor-single{
    flex-basis: 20%;
    margin: auto;
    text-align: center;
    overflow: hidden;
    margin: 100px auto;
}

.sektor-single img{
    max-width: 100%;
    margin: auto;
}


/*CAROUSEL REFERENCA*/



.slider-uni{
    background-image: url('../img/uni.jpg');
    background-position: bottom;
}	

.slider-referenca{
    background: url('../img/referenca.jpg');
    background-position: center;
}

.main-offer-label{
    background-color: #333;
    border-top: 5px solid white;
}


#project-carousel .item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.item{
    background-color: #ffffff;
    padding: 50px 10px;
    margin: 150px auto;
    border-radius: 5px;
}


/* Stilizacija teksta i naslova unutar carousel stavke */
#project-carousel .item h4 {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    color: #333;
}

#project-carousel .item p {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.saradnici{
    display: flex;
    justify-content: center; /* Horizontalno centriranje */
    align-items: center; /* Vertikalno centriranje (ako je potrebno) */
    flex-wrap: wrap; /* Ako ima više slika, one će se prelomiti u sledeći red */
    gap: 20px; /* Razmak između slika (opciono) */
    margin: 70px auto;
}


.saradnici img{
    filter: grayscale(100%);
    max-width: 100px;
    text-align: center;
    transition: .7s;

}

.saradnici img:hover{
    filter: grayscale(0);
    transition: .5s;
    transform: scale(1.1);

}


/*PROIZVODI*/
.namjestaj{
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
}

.namjestaj p{
    text-align: center;
    margin: 50px auto;
    border-bottom: 1px solid #f8b201;
    padding-bottom: 30px;
}

.namjestaj a{
    flex-basis: 30%;
    margin: 10px;
    overflow: hidden;
    text-align: center;
}
.namjestaj-header{
    margin: 50px auto;
}

.namjestaj-slika{
    flex-basis: 45%;
}
.namjestaj-info{
    flex-basis: 45%;
    text-align: left;
    margin: auto;
}

.namjestaj-info a{
    display: block;
    margin: 20px auto;
    background-color: #f8b201;
    border-radius: 50px;
    display: inline;
    padding: 10px 30px;
    position: absolute;
    
}

.namjestaj-slika img{
    max-width: 100%;
}




.card-body img{
    max-width: 100%;
    transition: .5s;
}

.card-body img:hover{
    transform: scale(1.1);
    transition: .7s;
}

.card-body h3{
    margin: 30px 0;
    font-weight: 200;
    
}

/*GALERIJA*/

.galerija{
    margin: 50px auto;
}

.galerija img{
    max-width: 400px;
}





/*USLUGE*/

.slider-usluge{
    background-image: url('../img/backgr.jpg');
    background-position: center;
}

.usluge-side{
    flex-basis: 20%;
    
    margin:10px;
    padding-right: 10px;
}

.usluge-main-single{
    flex-basis: 75%;
    display: flex;
    flex-wrap: wrap;
    border-left: 1px solid #333;
}

.usluge-single span{
    display: none;
}


select{
    width: 100%;
    margin: 20px 0;
    padding: 10px 0;
    text-align: center;
}


.usluge-side img, .usluge-single img{
    max-width: 100%;
    transition: .5s;
    
}

.usluge-side p{
    text-align: justify;
}

.usluge-single img:hover{
    transform: scale(1.1);
    transition: .7s;
}

.usluge-single h3{
    margin: 20px 0;
    border-bottom: 1px solid #f8b201;
}

.usluge-main-single a{
    flex-basis: 28%;
    margin: 20px;
    overflow: hidden;
    text-align: center;
}

/*SLAJDERI ZA POJEDINACNE SLIKE BG*/

.slider-ugaone{
    background-image: url('../img/ugao.jpg');
    background-position: center;
}


/*KONTAKT*/

.kontakt-forma{
    background: url('../img/contact1.jpg');
    border-radius: 30px;
    margin: 30px auto;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    
}

.kontakt-info{
    margin: auto;
    flex-basis: 40%;
    background-color: rgba(255, 255, 255, .9);
    padding: 40px;
}

.kontakt-info ul li{
    font-size: 1.2em;
    margin: 5px 0;
}


.rezervacija{
    flex-basis: 40%;

    background-color: rgba(167, 174, 174, 0.7);
    padding: 30px;
    box-shadow: 0 0 10px white;
    border-radius: 30px;
}

input{
    border: none;
    height: 40px;
}
textarea{
    height: 200px;
    border: none;
}

/*FOOTER*/

footer{
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 120px 0;
    background-color: #313131;
}

.footer-single{
    flex-basis: 20%;
    margin: auto;
}

.footer-single p{
    color: white;
    padding: 50px;
}

.footer-single img{
    width: 100px;
    display: block;
    margin: auto;
}

.footer-single ul li{
    margin: 5px 0;
    color: #f8b201;
}

.prava p{
    text-align: center;
    padding: 15px 0;
    color: #f8b201;
    background-color: #313131;
    border-top: 1px solid #f8b201;
}

.prava a{
    color: #f8b201;
}










@media only screen and (max-width: 991px){
 

    .flex{
        flex-direction: column;
    }

    .container{
        width: 95%;
    }

   .logo img{
    max-width: 50px;
   }

    .social-bar ul li:last-of-type{
        right: 0;
    }

    .dot-overlay{
        display: none;
    }

    .menu-toggle{
        display:flex;
        right: 20px;
        top: 40px;
        z-index: 9999;
        transition: .7s;
      }

      .slider-naslovna{
        background-position: 37%;
      }

      .slider-uni, .slider-onama, .slider-usluge, .slider-referenca{
        height: 20vh;
      }

      #slideWindow{
        bottom: 5%;
        background-color: rgba(255, 255, 255, .8);
        width: 100%;
        z-index: 999;
      }

      #slideWindow.hidden {
        right: -100%;
    }

    #slideWindow.visible {
        right: 0;
    }

    .slider-onama h1, .slider-usluge h1, .slider-referenca h1, .slider-uni h1{
        font-size: 1.5em;
        left: 5%;
    }

      .saradnici{
        display: none;
      }

      .navi{
        position: absolute;
        top: 100%;
        left: 100%;
        height: 100vh;
        background: rgba(47, 47, 47, 1);
        border-top: 1px solid rgba(0, 0, 0, .1);
        transition: .7s;
        text-align: center;
        width: 100%;
        z-index: 9999;
      }

      .navi ul li a{
        color: white;
      }

      .toggleNavi{
        left: 0;
        transition: .7s;
      }

    .navi ul{
        flex-direction: column;
        padding: 20px;
        width: 100%;
        height: 100vh;
       
    }

    .navi ul li{
        height: 15% ;
    }

    .slider-text{
        top: 40%;
    }

    .text h1{
        font-size: 2em;
        width: 100%;
    }

    .text h3{
        font-size: 1.5em;
    }

    .usluge-naslovna-single {
        margin: 20px auto;
    }

    .onama-naslovna-slika img{
        max-width: 100%;
    }

    .parralax{
        background-position: center;
    }

    .galerija a{
        width: 100%;
    }

    .galerija img{
        max-width: 100%;
    }

    .parralax h2{
        font-size: 3em;
        left: 15%;
    }

    .parralax2{
        height: 140px;
    }

    .parralax2 img{
        max-width: 100px;
    }
    .parralax2 h2{
        font-size: .8em;
    }

    .slider-onama{
        background-position-x: 65%;
    }

    .onama-main{
        margin:30px auto;
        overflow: hidden;
    }

    .sektor-single{
        flex-basis: 100%;
        margin: 10px auto;
    }

    .usluge-main{
        flex-direction: column;
    }

    .usluge-side{
        flex-basis: 100%;
    }

    .usluge-side img, .usluge-side p{
        display: none;
    }

    .usluge-main-single a{
        flex-basis: 100%;
    }

    .usluge-single span{
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
    }

    .namjestaj a{
        flex-basis: 100%;
    }

    .usluge-single{
        position: relative;
        flex-basis: 100%;
        border-bottom: 1px solid #333;
        margin: 30px 0;
        border:none;
        
    }

    .item{
        margin: 50px auto;
    }

    .usluge-single p{
        text-align: center;
    }

    .kontakt-info{
        margin-bottom: 50px;
    }

    textarea{
        height: 150px;
    }

    footer{
        text-align: center;
    }

    .footer-single img{
        max-width: 50%;
    }

    .footer-single{
        margin: 20px auto;
        flex-basis: 100%;
    }

    .slika-unosa{
        width: 100%;
    }

    .slika-unosa img{
        max-width: 100%;
    }



}

