

@font-face {
    font-family: "Futura Md BT Medium";
    src: url("../Assets/FuturaMdBTMedium.woff2") format('woff2');
}

@font-face {
    font-family: "Montserrat Regular";
    src: url("../Assets/MontserratRegular.woff2") format('woff2');
}
@font-face {
    font-family: "Montserrat Thin";
    src: url("../Assets/MontserratThin.woff2") format('woff2');
}

:root{
    --primary:#323232;
    --secondary:#EDEDED;
    --third:#685B5B;
    /* Velicina fontova */
    --font-size-sm: clamp(0.4rem, 0.17vw + 0.76rem, 0.89rem);
    --font-size-base: clamp(1rem, 0.34vw + 0.91rem, 1.19rem);
    --font-size-md: clamp(1.25rem, 0.61vw + 1.1rem, 1.58rem);
    --font-size-lg: clamp(1.56rem, 1vw + 1.31rem, 2.11rem);
    --font-size-xl: clamp(1.95rem, 1.56vw + 1.56rem, 2.81rem);
    --font-size-xxl: clamp(2.44rem, 2.38vw + 1.85rem, 3.75rem);
    --font-size-xxxl: clamp(3.05rem, 3.54vw + 2.17rem, 5rem);

    --swiper-pagination-color: var(--secondary);
    --swiper-pagination-bottom: 0;


    --swiper-navigation-top-offset: 50%;
    --swiper-navigation-color: var(--secondary);
}
* {
    /*outline: 1px solid red;*/
    box-sizing: border-box; 
  }
body{
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden  !important;
}


/* Stilovi za fontove  */
html {font-size: 100%; scroll-behavior: smooth;} /*16px*/

body {
  background: white;
  font-family: 'Montserrat Regular', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  color: #000000;
  text-align: center;
}
article{
    width: 80%;
}
p {margin-bottom: 1rem; font-size: var(--font-size-base);}

h1, h2, h3, h4, h5 {
  margin: 3rem 0 1.38rem;
  font-family: 'Futura Md BT Medium', sans-serif;
  font-weight: bold;
  line-height: 1.3;
}

h1 {
    margin-top: 0;
    font-size:var(--font-size-xxxl);
  }
  
  h2 {font-size: var(--font-size-xl)}
  
  h3 {font-size: var(--font-size-lg)}
  
  h4 {font-size: 1.563rem;}
  
  h5 {font-size: 1.25rem;}
  
  small, .text_small {font-size: 0.8rem;}
  span{font-size: var(--font-size-sm);}

  

header{

    text-align: center;
    background-image: linear-gradient(rgba(237, 237, 237, .75), rgba(237, 237, 237, .75)) ,url("../Assets/Slike za pozadine i slicno/IMG_20210213_163333.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-left: 1rem;
    padding-right: 1rem;
    height: 90vh;
}



.menu{
 top: 3%!important;
 left: 5%; 
 font-size: 48px; 
 position: absolute;
 z-index:999;
 transform: translateY(0%);
 transition:all 0.3s ease   ;
}

.menu:hover{
    opacity: 0.6!important;
    cursor: pointer!important;
}
.menu.fixed {
    position: fixed;
  transform: translateY(0); /* Start with no vertical transformation */
  z-index: 1000; /* Ensure the menu is on top of other content */
  }

  .side-nav{
    width: 100vw;
    height: 100vh;
    transition: all 03s ease;
    transform:translateX(-100%);
    transition: transform 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    overflow: scroll;
    -ms-overflow-style:hidden;
  }
  .side-nav::-webkit-scrollbar{
        display: none !important;
  }
  .activated{
    transform:translateX(0%);
    transition: transform 0.3s ease;
  }
  .nav-close{
    font-size:48px;
    position: fixed;
    left: 1rem;
    top:1rem;
  }
  .nav-close:hover{
        cursor: pointer !important;
        opacity: 0.6;
  }
  .navigation ul{
    padding: 0;
    margin: 0;
  }
  .navigation ul li{
    text-decoration: none;
    list-style: none;
    font-size: var(--font-size-lg);
    padding: 2rem;
    overflow: hidden;
    color: var(--primary);
  }
  .navigation ul li a{
    color: var(--primary);
    transition: all 0.3s ease;
  }
  .navigation ul li a:hover{
    color:#685B5B !important;
  }
  .navigation ul li a:visited{
    color: var(--primary);
  }
  .navigation .dropdown li{
    padding: 0;
    font-size: var(--font-size-base);
    height: fit-content;
    transition: all 0.3 ease;
    border-radius: .5rem !important;
  }
  .navigation .dropdown li a{
    width: 100%;
    color: var(--primary);
  }

  .dropdown li:hover{
    color: var(--secondary) !important;
    background-color: var(--primary) !important;
    
    transition: all .4s ease;
 }
 
 
  .navigation .dropdown li a:visited{
    width: 100%;
    color: var(--primary);
  }
  .navigation .dropdown{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }
 
  .arrow{
    transition: all 0.5s ease-out;
    vertical-align: middle;
    
  }
  .arrow-rotation{
    transform: rotate(-180deg);
  }
  

header>div{
    position: relative;
    height: inherit;
}
header h1{
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    color: var(--primary);
}
header h2{
    font-family:"Montserrat Regular";
    color:#685B5B;
    font-size: var(--font-size-md);
    margin-bottom: 15%;
}

header img{
    margin-top: -.5rem;
    margin-left: auto;
    margin-right: auto;
}


header a{
    text-decoration: none;
    color:var(--secondary);
    background-color:var(--primary);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    border-radius: .6rem;
    font-size: var(--font-size-base);
    font-family: "Montserrat Thin";
    font-weight: 700;
    
}

.hero-line-deco{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
}
.hero-line{
    width: 25%;
    height: .1rem;
    background-color: var(--primary);
    
}
.hero-circle{
    background-color: var(--primary);
    width: .2rem;
    height: .2rem;
}

.arrow-pointer-down{
    width: 3.2rem;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,0)
}


.zasto-mi{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: var(--secondary);
    gap:5rem;
    padding-top: 2rem;
}

article h3{
    margin: 0;
}
.container{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: var(--secondary);
    gap:5rem;
    margin-top: 5rem;
}
.zasto-mi h2{
    text-align: center;
    color: var(--primary);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

article img{
    color:var(--primary);
    width:6rem;
}
article h3{
    color: var(--primary);
}
.zasto-mi article{
    margin-top: -2rem;
}
.zasto-mi p{
    color:var(--third);
}
article img{
    margin-bottom: -2rem;
}

article{
    border-bottom: 1px solid #CECECE;
    padding-bottom: 1rem;
}
article:last-child{
    border-bottom: none;
    padding-bottom: 5rem;
}

/* KRAJ ZASTO MI SEKCIJE*/


.kontakt{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'	width='100%25' height='100%25' style='background: rgba(50, 50, 50, 1); min-height: 100vh;'%3E%3Cdefs%3E%3Cpattern id='hexagons' width='50' height='43.4' patternUnits='userSpaceOnUse' patternTransform='scale(6) translate(2) rotate(45)'%3E%3Cpolygon points='24.8,22 37.3,29.2 37.3,43.7 24.8,50.9 12.3,43.7 12.3,29.2' id='hex' style='fill: rgba(50, 50, 50, 1); stroke-width: .7; stroke: rgb(56, 56, 56);'/%3E%3Cuse xlink:href='%23hex' x='25' /%3E%3Cuse xlink:href='%23hex' x='-25' /%3E%3Cuse xlink:href='%23hex' x='12.5' y='-21.7' /%3E%3Cuse xlink:href='%23hex' x='-12.5' y='-21.7' /%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23hexagons)' /%3E%3C/svg%3E");
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: cover;
    align-items: center;
}


.kontakt-btn{
    display: inline-block;
    transition: transform .2s;
    
}
.kontakt-btn:hover{
    transform: scale(1.1);
}
.contact-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kontakt h2{
    color: var(--secondary);
    
}
.kontakt input{
    width: 85%;
    height: 2rem;
    margin-bottom: 1rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-top: none;
    border-left:none;
    border-right: none;
    background-color: rgba(237, 237, 237, 0);
    color:var(--secondary);
    font-family: "Montserrat Regular";
    transition:transform 300ms;
    transform: scale(0.97);
}
.kontakt input:hover,.kontakt input:focus{
    transform: scale(1);

}
::placeholder{
    color:var(--secondary)
}
textarea{
    font-family: "Montserrat Regular";
    transform: scale(0.97);
    transition: transform 300ms;
}
textarea:hover,textarea:focus{
    transform: scale(1);
}   
textarea::placeholder{
    color:#6C5454;
}
.kontakt{
    padding-bottom: 2rem;
}
.kontakt textarea{
    width: 85%;
    height: 5rem;
    border-radius: .5rem;
}
.kontakt button{
    display: block;
    padding:.5rem 2rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.25rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    background-color:lightgrey;
    border: none;
    color: var(--primary);
    font-family: "Montserrat Regular";
    letter-spacing:1.3px ;
    transition: transform 200ms;
}

.kontakt button:hover{
    background-color: white;
    transform: scale(1.2);
}

.contact-nav {
  display: flex;
  flex-direction: row;
  gap: .5rem;
  align-items: center;
  color:var(--secondary);
  margin-bottom: 0;
}
.contact-nav-link{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    color:var(--secondary);

}
.contact-nav-link:visited{
    color:var(--secondary);
}

.contact-nav img{
    height: 2.5rem
}
.contact-socials {
    display: flex;
    justify-content: space-around;
    gap: 3rem;
}
.contact-socials .fb,.instagram{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    color: var(--secondary);
}
.contact-socials span{
    font-size: var(--font-size-sm);
    
}

.posetite-nas{
    background-color: var(--secondary);
    color: var(--primary);
    margin: 0;
    padding-bottom: 3rem;
}
.posetite-nas h2{
    margin-top:0;
    padding-top:3rem;
}


iframe{
    width: 90vw;
    height: 30rem;
    border: 1;
    margin-top: 1.5rem;
    
}
@media (max-width:301px) {
    body{
        width: 100vw;
    }
   
    iframe{
        width: 100vw;
        height: 20rem;
        border: 1;
        margin-top: 1rem;
    }
}


.mobile-footer{
    display: flex;
    color: white;
    flex-direction: column;
    padding-bottom: .4rem;
    padding-left: .5rem;
    padding-right: .5rem;
    
}
.desktop-footer{
    display: none;
}
.socials-container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items:center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.time{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.socials{
    display: flex;
    gap: 1rem;
}
.socials img{
    width: 2rem;
}

.proizvodi{
    height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'	width='100%25' height='100%25' style='background: rgba(50, 50, 50, 1); min-height: 100vh;'%3E%3Cdefs%3E%3Cpattern id='hexagons' width='50' height='43.4' patternUnits='userSpaceOnUse' patternTransform='scale(6) translate(2) rotate(45)'%3E%3Cpolygon points='24.8,22 37.3,29.2 37.3,43.7 24.8,50.9 12.3,43.7 12.3,29.2' id='hex' style='fill: rgba(50, 50, 50, 1); stroke-width: .7; stroke: rgb(56, 56, 56);'/%3E%3Cuse xlink:href='%23hex' x='25' /%3E%3Cuse xlink:href='%23hex' x='-25' /%3E%3Cuse xlink:href='%23hex' x='12.5' y='-21.7' /%3E%3Cuse xlink:href='%23hex' x='-12.5' y='-21.7' /%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23hexagons)' /%3E%3C/svg%3E");
    color: var(--secondary);
}
.proizvodi h2{
    margin-top: 0;
    padding-top: 3.25rem;
    margin-bottom: 0;
}
.swiper{
   max-height: 40rem;
   margin-top: 5rem;
}


.swiper-slide{
    max-width: 450px;
    padding-bottom: 2rem;
}

figure{
    box-shadow: 1px 5px 10px 5px rgba(0, 0, 0, 0.5); 
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    transition: transform 300ms;

}

figure:hover{
    transform: scale(1.2);  
}
figure img{
    width: 100%;
    object-fit: cover;
    display: block;
    
    
}
figcaption{
    background-color: var(--secondary);
    color: #393939;
    font-size: var(--font-size-lg);
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, .75); 
    background-clip: content-box;
}
.card{
    background-color: var(--secondary);
    padding: 10px;
    padding-bottom: 0;
}
a {
    text-decoration: none;
}


.hidden{
    position: relative;
    opacity: 0;
    transform: translateY(150px); /* You can adjust the value as needed for the desired effect */
    transition: opacity 1s ease, transform 1s ease;
}
.hidden.active{
    transform:translateY(0px);
    opacity: 1;

}

 header a:first{
    all: unset;
 }


#result {
    z-index: 10000;
    color: var(--secondary);
    max-height: 3rem;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}



/* RESPONSIVE */
@media screen and (max-width:361px){
    .menu{
        left: 0;
    }
}

@media  screen and (width>500px) and (height<900px){
    .swiper{
        margin-top: .5rem !important;
    }
    header h2{
        margin-bottom: 3rem;
    }
}

@media screen and (min-width:768px){
    :root{
        --swiper-pagination-bottom: .5rem;
        --swiper-navigation-top-offset: 48%;
        --swiper-navigation-sides-offset: 1rem;
    }
    header{
        height: 90vh;
    }
    figure{
        margin-top: 0!important;
        margin-bottom: 1rem !important;
    }
    .swiper-slide{
        margin-bottom: 1rem !important;
    }
    .proizvodi{
        height: 75vw;
        padding-left: 2rem;
        padding-right: 3rem;

    }
    .swiper{
        margin-top: 2rem;
    }
   
    .proizvodi-img{
        margin: 1rem;
    }
    .swiper-slide{
        padding-bottom: 1rem;
    }
    figcaption{
        font-size: var(--font-size-md);
    }

    .container {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .container article{
        width: 40%;
        
    }

    .mobile-footer{
        display: none;
    }
    .desktop-footer {
        display: flex;
        justify-content: space-between;
        position: relative;
        color: white;
        align-items: center;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
    .desktop-footer .cpr{
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
        .desktop-footer .socials{
            margin-left:7rem;
        }
        .desktop-footer .time{
            margin-right: 7rem;
        }
   
}
@media (hover: none) {
    figure:hover { transform:scale(1); }
    .dropdown li:hover{
        background-color: none;
        color: var(--primary);
    }
  }
@media screen and (min-width:1024px){
    .arrow-pointer-down{
        margin-top: 3em !important;
    }
    .swiper{
        max-height: 30rem !important;
    }
    .contact-container{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
    }
    .contact-socials{
        margin-top: 5rem;
    }
    .address-container{
        margin-top: 5rem;
    }
    .zasto-mi{
        padding-top: 2rem;
    }
    .container{
        margin-top: 6rem;
        margin-bottom: 1rem;
    }
    .container article{
        border: none;
    }
    .container article img{
        width: 4rem;
    }
    .container article h3{
        font-size: var(--font-size-base);
    }
    .container article p{
        font-size: var(--font-size-sm);
    }

    .desktop-footer .socials{
        margin-left:10rem;
    }
    .desktop-footer .time{
        margin-right: 10rem;
    }
}
@media screen and (min-width:1280px){
    .proizvodi{
        padding-left: 5rem;
        padding-right: 5rem;
        height: 40rem;
    }
    .proizvodi h2{
        padding-top: 5rem;
    }
    .swiper{
        margin-top: 4rem!important;
    }
    
    .container article{
        width:25%;
        height: 20.625rem;
    }
    article:last-child{
        border-bottom: none;
        padding-bottom: 0rem;
    }

    .swiper-slide {
        max-width: 25% !important; 
    }
    .swiper{
        max-width: 60rem!important;
    }
    .contact-container{
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        width: 100vw;
    }
    .swiper-slide {
        padding-bottom: 2.5 rem;
    }
    .menu{
        top: 3%!important;
        left: 3%; 
        font-size: 48px; 
        position: absolute;
        z-index:100;
        transform: translateY(0%);
        transition:all 0.3s ease   ;
       }
       .menu.fixed {
           position: fixed;
         transform: translateY(50%); 
         z-index: 100; 
         }


    .side-nav{
        width: 20vw !important  ;
        justify-content: center;
        align-items:flex-start;
        padding-top: 4rem;
    }
    .navigation ul li{
        font-size: var(--font-size-md);
        padding: 2rem;
      }

    .desktop-footer .socials{
        margin-left:15rem;
    }
    .desktop-footer .time{
        margin-right: 15rem;
    }
}

@media  screen and (min-width:1600px) {
    .container article{
        width: 15%;
    }
    iframe{
        width: 65%;
    }
    header h1{
        margin-top: 5rem;
        
    }

    
}
@media screen and (min-width:2400px){
    header{
        height: fit-content;
    }
}


@media screen and (max-width:1024px) and (orientation:landscape) {
    header{
        height: 30rem;
    }
    .swiper{
        height: 100vh;

    }
    .swiper-slide{
        height: 200px !important;
    }
}

@media screen and (max-width:740px){
   .navigation{
    padding-top: 5rem;
   }
}

@media screen and (max-width: 740px) and (orientation: landscape) {

    :root{
        --swiper-pagination-bottom: .5rem;
    }

    .proizvodi {
        transform: scale(1); 
        height: 120vh;
        padding-bottom: 2rem;
    }
    .proizvodi h2{
      padding-top:0;
    }

    .slider-card{
        width: 80% !important;
        
    }
    .swiper {
        max-height: 25rem; 
        margin-top: 2rem; 
    }
    .swiper-slide {
        max-width: 90%; 
        padding-bottom: 1rem;
    }
}