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

p{
  font-family: font1;
  color: #333;
}

.zlatna-ikona{
  color: #fbd100;
}
#preloader{
  background: #ffffff url('../img/preloader.gif') no-repeat center center;
  background-size: 20%;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 9999;
  top: 0;

}



@font-face {
  font-family: rukopis;
  src: url(../valery/ValeryRegular.otf);
}

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

h1, h2, h3, h4, h5, h6, i, p, a, li, span, button{
  font-family: font1;
}


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


html{
  scroll-behavior: smooth;
}

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

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

.sticky{
  background-color: rgb(250, 250, 250, 0.5);
  padding: 10px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: .7s;
}

.sticky .logo img{
  max-width: 200px;
  transition: .7s;
} 

marquee{
  font-family: font1;
}


/*HEADER*/

#navigation{
  transition: .7s;
  border-bottom: 1px solid white;
  box-shadow:0 0 20px white ;
  z-index: 99999;
  position: sticky;
  overflow: visible;
  background-color: rgb(250, 250, 250, 0.4);

}
#social{
    width: 100%;
    color:white;
    border-bottom: 1px solid #333;
    height: 30px;
    background-color: #137137;
    
}

.social i{
    color: white;
    margin-left: 10px;
}
marquee{
  line-height: 17px;
}

marquee i{
  color:#fbd100
}

marquee a{
  background-color: #fbd100;
  color: #333;
  padding: 5px 7px;
}

.bonitet{
  padding: 50px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-family: font1;
  transition: .7s;
}

.bonitet-text img{
  max-width: 100%;
}

.bonitet-slika1{
  flex-basis: 40%;
  margin: auto;
  
}



.bonitet-slika1 img {
max-width: 100%;
    
}



.bonitet-slika {
  flex-basis: 40%;
    position: relative;
    width: 100%;
    height: 400px; /* prilagodi visinu */
    overflow: hidden;
}

.bonitet-slika img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.bonitet-slika img.active {
    opacity: 1;
}


.bonitet-slika img.active {
    opacity: 1;
}

.bonitet-text{
  flex-basis: 50%;
  margin: auto;
}

#social ul li{
    display: inline;
    line-height: 30px;
    margin-left: 10px;
}
#social ul li a{
    color: white;
   
}

#social ul li i{
  font-weight: 500;
   
}
.navi{
  display: flex;
  justify-content: center;
}




.navi .container{
    display: flex;
    flex-direction: row;
}
.navi ul li{
    display: inline-block;
    text-transform: uppercase;
    margin-left: 20px;
    margin-top: 20px;
    font-family: font1;
    color: #333;
    transition: background-color 0.3s ease; 
    font-size: .9em;
    font-weight: 600;
    position: relative;

}

.navi ul li img{
  max-width: 20px;
}



 .navi ul li ul {
  position: absolute;
  left: auto;
  top: auto;
  width: 250px;
  background-color:rgba(238, 237, 237, 0.9);
  border: 1px solid rgba(0, 0, 0, .1);
  z-index: 99999;
  
  /* Kolona */
  display: flex;
  flex-direction: column;

  /* Animacija */
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: opacity 0.7s ease, transform 0.7s ease;
  z-index: 9999; /* da ne bude ispod drugih elemenata */
}



 .navi ul li ul li {
  padding: 15px;
  border-top: 1px solid rgba(0, 0, 0, .1);
  color: #333;
 
}

 .navi ul li:focus-within > ul,
 .navi ul li:hover > ul {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.navi ul li ul li ul {
  top: 0;
  left: 100%;
  margin-left: 1px;
}









.logo img{
    max-width: 350px;
    margin: 20px aut0;

    display: block;
    margin: auto;
    transition: .5s;
}

.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: absolute;
  right: 20px;
  top: 30px;
  display: none;

}

.bar {
  width: 100%;
  height: 3px;
  background-color: black;
  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: white;
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
  background-color: white;
}
.free-call{
  position: fixed;
  right: 20px;
  top: 50px;

}
.free-call a img{
  max-width: 30px;
  transition: .5s;
}

.free-call img:hover{
  transform: scale(1.5);
  transition: .7s;
}


/* SLAJDER */

.slideshow-container {
    position: relative;
    width: 100%;
    overflow: visible;
    height: 800px;
  }
  
  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .slide.active {
    opacity: 1;
  }



  .slide-text {
    position: absolute;
    width:100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 50px;
    box-shadow: 0 0 20px black;
    padding-top: 15%;
  }

  .slide-text h1{
    font-family: rukopis;
    font-size: 4em;
    font-weight: 100;
  }

  .slide-text p{
    font-size: 1.5em;
    font-family: font1;
    text-align: center;
    color: white;
    font-weight: 500;
    letter-spacing: 5px;
  }

  .slide-text button{
    padding: 10px 20px;
  }

 

.proizvodi-naslovna{
  text-align: center;
  font-family: font1;
  margin: 50px auto;
}

.proizvodi-naslovna h4{
  text-transform: uppercase;
  font-weight: 500;
}

.proizvodi-naslovna h3{
  font-weight: 500;
  padding: 20px 0;
}

.ponuda a{
  flex-basis: 24%;
}


.ponuda{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 30px auto;
}


.laminati{
  flex-basis: 15%;
  position: relative;
  overflow: hidden;
  transition: .7s;
}

.laminati-layer{
  background-color: #333;
  opacity: .6;
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
}

.laminati:hover .laminati-layer{
  left: 0;
  transition: .7s;
  z-index: 999;
}

.laminati img{
  overflow: hidden;
  width: 100%;
  transition: .7s;
}

.laminati h2{
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: font1;
  text-transform: uppercase;
  transition: .7s;
  z-index: 1000;
  width: 100%;
  font-weight: 700;
}

.laminati:hover h2{
  top: 50%;
  transition: .7s;
}

.laminati:hover img{
  transform: scale(1.3);
  transition: .7s;
}
  
/*NASLOVNA O NAMA*/
.onama-naslovna{
  background: url('../img/parr.png');
  background-repeat: no-repeat;
  background-position: bottom;
  background-attachment: fixed;
  position: relative;
  background-size: 100%;
  margin: 50px auto;
  overflow: hidden;
  height: 500px;
}



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

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

.onama-naslovna-slika img{
  margin: auto;
  display: block;
}

.onama-naslovna-text{
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 50px;
  border-radius: 20px;
  flex-basis: 45%;
  box-shadow: 0 0 20px black;
  margin: auto;


  
}


.onama-naslovna-text h2{
  margin: 20px 0;
  font-family: font1;
  font-weight: 500;
  font-size: 1.9em;
}

.onama-naslovna-text p{
  margin-bottom: 30px;
  color: white;
  font-size: 1.2em;
  font-weight: 500;
}

.onama-naslovna-text a, .naslovna-akcija a, .baton{
  border: 1px solid white;
  padding: 10px 20px;
  transition: .7s;
  color: white;
  border-radius: 10px;
  background-color: rgba(11, 90, 14, 0.5);
  font-family: font1;
  font-weight: 500;
  cursor: pointer;
  
}

.onama-naslovna-text a:hover, .naslovna-akcija a:hover{
  background-color: rgba(255, 255, 255, 0.5);
  color: rgb(108, 247, 110);
  transition: .7s;

}


/*NASLOVNA AKCIJA*/

.naslovna-akcija{
  margin: 30px auto;
  background: url('../img/kotromanic.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 550px;
  
}
.naslovna-akcija-text{
  width: 40%;
  background-color: rgb(000, 000, 000, 0.7);
  padding: 70px;
  position: relative;
}
.naslovna-akcija h2{
  padding: 30px 0;
  font-family: font1;
  color: white;
  font-size: 4em;
  font-weight: 500;
}

.naslovna-akcija p{
  color: white;
  font-size: 1.3em;
  margin-bottom: 30px;
  font-family: font1;
  font-weight: 500;
}





.akcija-main{
  display: flex;
  flex-direction: row;
}

.akcija-card{
  flex-basis: 10%;
}

.akcija-card img{
  max-width: 200px;
}

.naslovna-akcija h2, .naslovna-akcija p{
  text-align: center;
}




.naslovna-akcija-proizvodi{
  display: flex;
  flex-direction: row;
  margin: 30px auto;
}

/*O NAMA*/

.onama{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 50px auto;
}

.o-nama-slika{
  flex-basis: 45%;
}

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


.o-nama-text{
  margin: auto;
  flex-basis: 45%;
}




.o-nama-text p{
  text-align: justify;
  margin: 30px 0;
  color: #727272;
}

.o-nama-text h2{
  font-family: font1;
  font-size: 2em;
  color: #333;
}



.usluga-montaze{
  display: flex;
  flex-direction: row;
  margin: 50px auto;
}

.usluga-montaze-slika, .usluga-montaze-text{
  flex-basis: 45%;
}

.usluga-montaze-text{
  margin:auto;
  text-align: justify;
}

.usluga-montaze-text h3{
  margin: 30px 0;
  text-align: left;
  color: #333;
  font-size: 2em;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}




.parralax-onama{
  background: url('../img/parralax.jpg');
  background-size: cover;
  height: 500px;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  background-position: top;

}


.parralax-onama .container{
  display: flex;
  flex-direction: row;
}

.onama-ikonice{
  margin: 7% auto;
  background-color: rgb(000, 000, 000, 0.7);
  padding: 50px;
  border-radius: 10px;
}

.onama-ikonice h2{
  color: white;
  font-size: 5em;
  text-align: center;
}

.onama-ikonice p{
  color: white;
  text-align: center;
  font-size: 1.5em;
}










#slider3 .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
}


#slider3 img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/*PROIZVODI*/

.choose{
  display: flex;
  flex-direction: row;
  width: 80%;
  margin:50px auto;
  background-color: rgb(250, 250, 250, 0.7);
  padding: 50px;
  text-align: center;
}



.choose img{
  max-width: 300px;
  margin-bottom: 20px;
}

.choose h4{
transition: .5s;
  margin-bottom: 20px;
  padding: 5px 0;
  border-radius: 5px;
}




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

.proizvodi h1{
  position: absolute;
  top: 20%;
  left: 10%;
  font-family: font1;
  font-size: 4em;
  color: #333;
  font-weight: 800;
}

.proizvodi h1 span{
  font-size:3em ;
  font-weight: 900;
  color: white;
  -webkit-text-stroke: 1px black;
}



/*USLUGE*/

.usluga-single{
  flex-basis: 17%;
  margin: 50px auto;
  text-align: center;

}

.usluga-single img{
  background-color: seagreen;
  padding: 20px;
  border-radius: 10px;
  display: block;
  margin: auto;
  max-width: 150px;
}
.usluga-single h4{
  margin: 20px 0;
  text-align: center;
}





  /*KONTAKT*/

#maps h2{
  text-align: center;
  font-size: 2em;
  margin: 40px 0;
  font-family: font1;
  font-weight: 200;
}
  .kontakt-naslovna{
    background: url('../img/kontakti.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom;
    height: 600px;
    animation: zoom 8s linear alternate;
    -webkit-animation: zoom 8s linear alternate;
    position: relative;
  }

  @keyframes zoom{
    from{
      background-position: top;
  }
  to{
      background-position: bottom;
  }
  }

  .kontakt-naslovna h1{
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    padding: 20px 50px;
    transform: translateX(-50%);
    text-transform: uppercase;
    background-color: rgb(000, 000, 000, 0.7);
    text-shadow: 0 0 20px black;
    font-family: font1;
  }

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

  .mapa1{
    width: 45%;
  }

  .mapa1 img{
    max-width:300px;
    display: block;
    margin: 30px auto;
  }

.mapa1 ul{
  margin: 20px 90px;
}
  .mapa1 ul li{
    font-family: font1;
    margin: 10px 0;
    font-size: 1.2em;
    
  }
#form{
  background-color: aliceblue;
}
.forma{
  width: 60%;
  margin: 50px auto;
  position: relative;
  padding: 50px;
}

.forma h2{
  font-family: font1;
  font-weight: 300;
}

.forma input:last-of-type{
  width: 100%;
  background-color: #198754;
  padding: 20px 0;
  color: white;
  border: 1px solid #198754;
  transition: .5s;
  cursor: pointer;
}

.forma input:last-of-type:hover{
  background-color: white;
  color: #198754;
  transition: .7s;
  border: 1px solid #198754;
}


input{
  width: 100%;
  margin: 20px auto;
  height: 50px;
  text-align: center;
  font-size: 1.1em;
 
}

textarea{
  width: 100%;
}

.success{
  background: #9fd2a1;
  padding: 5px 10px;
  text-align: center;
  color: #326b07;
  border-radius: 3px;
  font-synthesis: 14px;
  margin-top: 10px;

}
  /*FOOTER*/

  footer{
    padding: 50px 0;
    background-color: rgb(15, 15, 15);
    color: white;
  }

  footer p{
    color: white;
    font-weight: 100;
  }



  footer .container img{
    width: 250px;
  }

  footer ul li a{
    color: white;
    font-weight: 100;
  }

footer ul li{
  margin-bottom: 10px;
  font-family: font1;
  font-weight: 100;
}
.footer-logo {
  width: 300px;
  margin-right: 30px;
}
  footer .container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 50px 0;
  }
  footer i{
    margin-right: 5px;
  }

  .back-to-top{
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-size: 2em;
    -webkit-text-stroke: 1px black;
    cursor: pointer;
    display: none;
  }

  .rights p{
    text-align: center;
    padding: 10px 0;
  }
 





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

    #slider3 img {
        max-height: 120px; /* prilagodi po potrebi */
        width: auto;
    }

    .container{
      width: 95%;
    }
    #navigation{ 
      margin-bottom: 20px;
    }

    .flex{
      flex-direction: column;
    }
    .navi{
      width: 100%;
     flex-direction: column;
     position: fixed;
     right: -100%;
     top: 0;
     margin: 0;
     padding-top: 50px;
     background-color: rgb(000, 000, 000, .9);
     z-index: 9997;
     height:100vh;
     transition: .7s;
     
    
    }

    .logo img{
      margin: auto 0;
      max-width: 200px;
    }
    .toggleNavi{
      right: 0;
  }

    .sticky{
      background-color: rgb(250, 250, 250, 0.9);
  
    }

    .navi ul li ul{

      width: 100%;
      background-color: rgba(0, 0, 0, .8);
      border: none;
      
    }

   .navi ul li ul li{
    margin: 1% auto;
    }

    .navi ul{
      margin-left: 0;
    }

    .navi ul li{
      display: block;
      width: 100%;
      text-align: center;
      margin:20% auto ;
    }

    .navi ul li a{
      color: white;
    }
    .navi ul li:last-of-type{
      border: none;
    }
   .menu-toggle{
    display: flex;
    z-index: 9998;
   }

   .free-call{
    top: 85%;
    position: fixed;
   }
    .slide-text h1{
      font-size: 2.5em;
      margin-top: 20px;
    }

    .slide-text p{
      font-size: 1.2em;
      margin: 20px 0;
      letter-spacing: 2px;
    }

    .slide-text a{
      width: 50%;
    }

    .ponuda{
      flex-direction: column;
    }

    .onama-naslovna{
      background-attachment:scroll;
      height: 200px;
    }

    .onama-naslovna .container{
      flex-direction: column;
    }

    .onama-naslovna-text{
      width: 100%;
      left: 0;
      padding: 20px;
      height: 400px;
    }
    .onama-naslovna-text h2{
      font-size: 1.2em;
    }

    .laminati-layer{
      left: 0;
    }

    .laminati h2{
      top: 50%;
    }

    .ponuda a{
      width: 100%;
      margin: 5px 0;
    }

    .onama-naslovna-text a{
      margin-left: 10%;
    }

    .onama-naslovna-slika img{
      display: none;
    }

    .onama-naslovna-text p{
      font-size: 1em;
    }
    .naslovna-akcija-text{
      width: 100%;
    }

    .naslovna-akcija h2{
      font-size: 2em;
    }

    .bonitet{
      flex-direction: column;
      padding: 10px;
    }

    .bonitet-slika{
      margin-bottom: 30px;

    }
/*ONAMA*/

    .onama{
      flex-direction: column;
    }
    .o-nama-slika{
      width: 100%;
    }
    .o-nama-slika img{
      width: 100%;
    }

    .usluga-montaze{
      flex-direction: column;
    }

    .usluga-montaze-slika img{
      width: 100%;
      margin-left: 0;
    }

    .onama-ikonice{
      padding: 15px;
      width: 100%;
      margin: 4% auto;
    }
    .usluga-single{
      margin: 5px auto;
    }

   

  .onama-ikonice h2{
    font-size: 2em;
  }
  .onama-ikonice p{
    font-size: 1em;
  }
    .parralax-onama .container{
      flex-direction: column;
    }
   
    



   /*PROIZVODI*/
.proizvodi{
  height: 200px;
}
   .proizvodi h1{
    font-size: 1em;
    top: 22%;
    
   }

   .proizvodi h1 span{
    font-size: 2em;
   }

   .choose{
    top: 10%;
    margin: 0;
    padding: 0;
    flex-direction: column;
    width: 100%;
   }

   .choose a{
    width: 80%;
    margin: 0 auto;
   }

   .choose h2{
    font-size: 1.5em;
   }

   .choose img{
    max-width: 100%;
   }
   .laminat-info-slika img{
    width: 100%;
   }


   .laminat-info-info img{
    max-width: 100%;
  }

  .laminat-info-info ul li{
    margin: 10px;
  }


  /*VINYL*/
  .vinyl{
    flex-direction: column;
  }

  .vinyl-product{
    flex-direction: column;
  }
  .vinyl-product img{
    width: 100%;
  }

  .decking{
    flex-direction: column;
  }

  .decking-product{
    flex-direction: column;
  }

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

   .parketi{
    flex-direction: column-reverse;
   }

   .parketi-slika img{
    width: 100%;
   }
   .parket-spec{
    flex-direction: column;
   }

   .parket-spec-single{
    width: 100%;
    margin: 10px;
   }

   .parket-spec-single img{
    width: 100%;
   }

   .prednosti-tarketa{
    flex-direction: column;
   }

   .prednosti-tarketa h3, .prednosti-tarketa h5{
    width: 100%;
   }

   .tarket-laminat{
    flex-direction: column;
   }

   .owl-carousel .item img {
    width: 100%;
    height: auto;
    display: block;
}

   /*KRONO*/

   .laminati1{
    flex-direction: column;
   }

   .laminati-pretraga{
    width: 100%;
    margin: 0;
   }

   .laminati-card{
    flex-basis: 100%;
   }
   .card-header img{
    width: 100%;
   }

   .laminat-info{
    flex-direction: column;
   }

   .laminat-info-info {
    width: 100%;
    
   }

   .laminat-info-slika button{
    top: 20px;
    right: 10%;
    font-size: 2em;
    position: relative;
   }

   .laminat-info-slika img:first-of-type{
    bottom: -4px;
   }

   .laminat-info-info a{
    margin: 5px;
   }

  
    /*KONTAKT*/
  .kontakt-naslovna{
    height: 200px;
  }

  .kontakt-naslovna h1{
    top: 30%;
    font-size: 1.2em;
  }
   .mape{
    flex-direction: column;
   }

   #maps h2{
    font-size: 1.4em;
   }

   .mapa1{
    width: 100%;
   }

   .forma{
    width: 100%;
   }

   .mapa1 ul{
    margin: 10px;
   }

    /*FOOTER*/

    footer .container{
      flex-direction: column;
      text-align: center;
    }

    .footer-logo{
      width: 95%;
      margin: 0;
    }
    footer ul{
      margin: 20px 0;
    }
  }


  
