@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    scrollbar-color: #1e474570;
}

header {
    display: flex; 
    justify-content: space-between;
    background-image: linear-gradient(-20deg, #616161 0%, #52a5a1 100%);
    height: 900px; 
    z-index: 3;
    overflow: hidden;
    position: relative;
}

@media (min-width: 1200px) {
    .poravnaj {
        width: 100%;
        max-height: 100px;
        display: flex;
        z-index: 10;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
        align-items: center;
        background-color: #1e474570;
    } 

    .ikone {
        display: flex;
        position: fixed;
        margin: 10px 0 0 0; 
        padding-right: 30px;
        width: 100%;
        z-index: 4;
        justify-content: flex-end;
    }

    nav {
        display: flex;
        position: fixed;
        z-index: 5;
    }
}

nav a {
    color: #fff;
    transition: color 0.5s;
}

nav a:hover {
    color: #1f3837;
}

ul {
    display: flex;
    list-style: none;
    }

    li {
        margin: 10px;
        font-size: 16pt;
}

a {
    text-decoration: none;
    color: white;
}

.fa-solid {
    margin-right: 20px;
}

#responzivni-kvadrat {
    display: none;
    overflow-y: scroll;
    position: absolute;
    height: 400px;
    width: 500px;
    top: calc(100% + 10px); /* Dodajte prilagođeni razmak ovisno o vašim potrebama */
    background-color: #f1f2f3;
    border-radius: 5px; 
    padding: 1%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    box-shadow: 30px 30px 52px #2c2c2c7a;
    opacity: 0; /* Dodajte početnu vrijednost za animaciju */
    transition: opacity 0.3s ease-in-out; /* Dodajte tranziciju za opacity */
}

#responzivni-kvadrat .sadrzaj-kvadrata {
    padding: 1%;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}   

#responzivni-kvadrat .sadrzaj-kvadrata h1 {
    margin-bottom: 10%;
}

.slika_ime {   
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    padding: 2%;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #9292921e;
} 

#responzivni-kvadrat .sadrzaj-kvadrata img {
    height: 50px;
    width: 50px;
    margin-right: 30%;
}

#responzivni-kvadrat button {
    background-color: #52a5a1;
    color: #fff;
    border: none;
    width: 100%;
    margin-top: 10%;
    height: 50px;
    font-size: 18pt;
    border-radius: 10px;
    margin-bottom: 10%;
    cursor: pointer;
}


header svg {
    position: absolute;
    width: 110%;
    height: 110%;
    top: 50%; 
    left: 40%;
    transform: translate(-30%, -60%);
    z-index: 0;
}

header img.graficka-kartica {
    position: absolute;
    top: -20%;
    left: 50%;
    width: 60%;
    z-index: 1;
    transition: transform 0.5s ease-out;
}

header img.graficka-kartica:hover {
    transform: scale(1.03);
}

header img.logo {
    position: absolute;
    width: 30%;
    height: 30%;
    top: 20%;
    left: 6%;  
    z-index: 2;
}

.tekst {
    position: absolute;
    text-align: left;
    color: white;
    top: 50%;
    left: 6%; 
}

.tekst p {
    font-size: 10pt;
}

.randomi {
    width: 100%;
    height: 100%; 
    background-color: #fff9f9;
    padding: 2%;
}

.randomi img { 
    width: 20%;
    height: 20%;
    -webkit-box-shadow: 0px 100px 100px -39px rgba(122, 122, 122, 0.27);
    -moz-box-shadow: 0px 100px 100px -39px rgba(122, 122, 122, 0.27);
    box-shadow: 0px 100px 100px -39px rgba(122, 122, 122, 0.27);
} 

.slike_rand {
    margin-left: -10px;
    padding: 1%;
    width: 100%;
    height: 100%;
    margin: 10px;
    background-color: transparent;
    border-radius: 40px;
    align-items: center;
    display: inline-flex;
    justify-content: flex-start;
}

.slike_rand img {
    margin: 2%;
    width: 300px;
    height: 300px;
    padding: 2%;    
    border-radius: 40px;
    background-color: #f0e8e8;
    transition: transform 0.5s ease-out;
}

.slike_rand img:hover {
    transform: scale(1.04);
}

.slike_rand p {
    font-size: 16pt;
}

/* .kupovina {
    width: 100px;
    height: 100px;
} */

.randomi button {
    padding: 1%;
    height: 100%;
    text-align: center;
    width: fit-content;
    border-radius: 10px;
    color: #000;
    background-color: #616161;
    border: 0;
}
    
.shop {
    background-color: #fff9f9;
    padding: 2%; 
}

.okvir_trazilica {
    display: flex;
    padding: 2%;
    width: 100%;
    height: 100px;
    justify-content: center;
    background-color: #fff9f9;
}

.trazilica {
    margin: 0 auto;
    height: 100px;
    background-color: #fff9f9;
}

.trazilica input {
    width: 500px;
    height: 50px;
    font-size: 16pt;
    text-align: center;
    background-color: #f0e8e8;
    border-radius: 10px;
    border-bottom: none;
    border: none;
    outline: none;
}   

.trazilica input:focus {
    border-bottom: solid 2px black;
}

.trazilica button {
    background-color: transparent;
    display: inline-flex;
    border: none;
    outline: none;
    width: 50px;
    height: 20px;
}

.trazilica button i {
    width: 60%;
    margin: 0 auto;
}

/* Stilovi za rezultate pretrage */
.search-results {
    display: none;
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 1000;
}

.result-item {
    padding: 8px 12px;
    cursor: pointer;
}

.result-item:hover {
    background-color: #f5f5f5;
}

.filter-section {
    padding: 2%;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #fff9f9;
}

.kategorije {
    display: grid;
    grid-template-columns: repeat(6, 2fr); 
}

.filter-form {
    width: 300px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    background-color: #fff9f9;
}

.filter-form label {
    margin: 5px;
    display: flex;
    align-items: center;
}

.filter-form label input {
    cursor: pointer;
    background-color: #f0e8e8;
    outline: none;
    border-radius: 10px;
    width: 25px;
    height: 25px;
}

.filter-form label input p {
    padding-left: 1%;
}

.dugme {
    width: 100%;    
    height: 50px;
    display: flex;
    justify-content: center;
    background-color: #fff9f9;
}

.filtriraj {
    background-color: #52a5a1;
    color: #fff;
    border: none;
    width: 50%;
    height: 50px;
    font-size: 18pt;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.5s ease;
}

.filtriraj:hover { 
    background-color: #37615f;
}

.dugme input[type="reset"] {
    background-color: #52a5a1;
    color: #fff;
    border: none;
    margin-left: 1%;
    width: 100px;
    height: 50px;
    font-size: 18pt;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.5s ease;
}

.dugme input[type="reset"]:hover {
    background-color: #37615f;
}

.shoph1 {
    font-size: 24pt;
}

/* Osnovni stil za širinu od 70% i 4 kolone */
.card-slider {
    width: 100%; 
    display: grid; 
    grid-template-columns: repeat(4, 2fr); 
    margin: 0 auto;
}

.card {
    width: 100%;
    width: 300px;
    padding: 20px;
    margin: 30px;
    display: block;
    background: #fff9f9;
    box-shadow: none;
    border-radius: 10px; 
    scroll-snap-align: start;
    height: 450px;
    padding-right: 0%;
    position: relative;
    text-align: center;
    z-index: 0; 
    transition: box-shadow 0.3s, width 1s cubic-bezier(.25,.8,.25,1),padding-right 1s  cubic-bezier(.25,.8,.25,1),  z-index 1s cubic-bezier(.25,.8,.25,1);
}

.card:hover { 
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;
    width: 700px;
    padding-right: 70%;
    }

    .card .kartica_tekst {
        width: 250px;
    }

    .cijena {
        font-size: 24pt;
    }

    .extra-info {
        opacity: 0;
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        padding: 20px;
        border-radius: 10px;
        transition: opacity 0.5s 0.5s cubic-bezier(.25,.8,.25,1);
    }

    .extra-info.show {
        opacity: 1; 
    }

    .extra-info p { 
        text-align: left;
        padding-top: 10px;
        overflow-y: scroll;
    }

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

.card h3 {
    margin-top: 10px;
    font-size: 18px;
}

.card p {
    font-size: 14px;
    
} 

.proizvodi {
        height: 250px;
        width: 250px;
        padding: 20px; 
        border-radius: 50px;
        margin: 0 auto;
        background-color: #f0e8e8;
        transition: transform 0.4s ease-out;
    }

.proizvodi:hover {
    transform: scale(1.04);
} 

.proizvodi img {
    transition: transform 0.5s ease-out;
}

.proizvodi img:hover {
    transform: scale(1.05);
} 

    .duzi_opis {
        display: none;
    }

    .sifra {
        display: none;
    }

    .kartica_tekst  {
        min-width: 100%;
    }

.shop button {
    align-items: center;
    background-color: transparent;
    color: #000;
    cursor: pointer;
    display: flex;
    font-family: ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 18pt;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;
    outline: 0;
    border: 0;
    padding: 1rem;      
}

.shop button:before {
    background-color: #fff;
    content: "";
    display: inline-block;
    height: 1px;
    margin-right: 10px;
    transition: all .42s cubic-bezier(.25,.8,.25,1);
    width: 0;
}

.shop button:hover:before {
    background-color: #000 ;
    width: 3rem;
} 

.shop button a {
    text-decoration: none;
    color: black;
}

.informacije {
    z-index: 5;
    font-size: 16pt;
    min-height: 700px;
    padding: 2%;
}

.informacije p {
    z-index: 10;
}
 
svg {
    position: absolute;
    z-index: 0;
    width: 60%;
    height: 100%;
    left: 50%;
}

.informacije .mala_galerija {
    margin-top: 2%;
    margin-bottom: 2%;
    display: flex;
    z-index: 5;
    flex-direction: row;
    align-items: center;
    padding: 2%;
}

.informacije .mala_galerija img {
    z-index: 5;
    margin-right: 1%;
    -webkit-box-shadow: 0px 100px 100px -39px rgba(122, 122, 122, 0.27);
    -moz-box-shadow: 0px 100px 100px -39px rgba(122, 122, 122, 0.27);
    box-shadow: 0px 100px 100px -39px rgba(122, 122, 122, 0.27);
    border-radius: 50px;
    transition: transform 0.5s ease-out;
}

.informacije .mala_galerija img:hover {
    transform: scale(1.01);
}

#poseban {
    text-align: center;
    font-size: 14pt;
    background-color: #D0C9C9;
    padding:2%;
    border-radius: 20px;
}
  
  .column {
    padding: 2%;
    display: flex;
    float: left;
    width: 33.3%;
    margin-bottom: 16px;
    padding: 0 8px;
  }
  
  @media (max-width: 650px) {
    .column {
      width: 100%;
      display: block;
    }
  }
  
  .radnik {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    height: 180px;
    width: 700px;
    padding: 2%;
  }

  .container {
    padding: 0 16px;
  }
  
  .container::after, .row::after {
    content: "";
    clear: both;
    display: table;
  }
  
  .title {
    color: grey;
  }
  
  .button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 100%;
  }
  
  .button:hover {
    background-color: #555;
  }

  .obrazac {
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2%;
    background-color: #fff9f9;
  }

  .obrazac form {
    padding: 1%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .obrazac form input[type='text'] {
    margin: 10px;
    width: 500px;
    height: 50px;
    font-size: 10pt;
    background-color: #f0e8e8;
    border-radius: 10px;
    border-bottom: none;
    border: none;
    outline: none; 
  }

  .obrazac form input[type='email'] {
    margin: 10px;
    width: 500px;
    height: 50px;
    font-size: 10pt;
    background-color: #f0e8e8;
    border-radius: 10px;
    border-bottom: none;
    border: none;
    outline: none; 
  }

  .obrazac form input[type='submit'] {
    margin: 10px;
    width: 500px;
    height: 40px;
    font-size: 16pt;
    color: white;
    background-color: #52a5a1;
    border-radius: 5px;
    border-bottom: none;
    border: none;
    outline: none; 
  }

  .obrazac form input:focus {
    border-bottom: solid 2px black;
 }   

 .posalji {
    height: 100px;
 }

footer {
    height: 200px;
    width: 100%;
    padding-right: 10%;
    padding-left: 10%;
    padding-top: 3%;
    display: grid;
    grid-template-columns: repeat(3, 10fr);
    background-color: #141414;
    }

    footer h1 {
        color: white;
        opacity: 50%;
        font-size: 12pt;
    }

    footer p {
        color: white;
        opacity: 50%;
        font-size: 10pt;
    }

    footer a {
        opacity: 50%;
        transition: opacity 0.5s ease;
    }
    
    footer a:hover {
        cursor: pointer;
        opacity: 100%;
    }
    /* top | right | bottom | left */
    .lijeva_strana {
        height: 100%;
        width:  100%;
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
    }

    .centar {
        height: 100%;
        width:  100%;
        padding: 2%;
        display: flex; 
        flex-direction: column;
        justify-content: flex-start;
    }

    .desna_strana {
        height: 100%;
        width:  100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-left: 40%;
    }

    .desna_strana div {
        opacity: 50%;
        display: inline;
        word-spacing: 10px;
    }

    @media only screen and (max-width: 768px) {
        /* Prilagodba headera */
        header {
            height: auto;
            padding: 20px; /* Dodaj malo prostora oko sadržaja u headeru */
            text-align: center; /* Centriraj sadržaj */
        }
    
        header img.graficka-kartica {
            display: none; /* Sakrij sliku grafičke kartice na mobilnim uređajima */
        }
        
        header svg {
            display: none;
        }
        
        .ikone {
            display: flex;
            top: 50%;
        }

        .tekst {
            display: none;
        }

        header img.logo {   
            width: 50%;
            left: 40%; 
            top: 20%;
        }
        
        .poravnaj {
            display: flex;
            width: 100%;
            z-index: 50;
        }

        nav {
            margin-top: 20px;
        }
    
        nav ul {
            flex-direction: column;
        }
    
        nav a {
            font-size: 20 px;
            margin: 10px 0;
        }
    
        .randomi {
            width: 20%;
            height: 20%;
        }

        .slike_rand {
            width: 20%;
            height: 20%;
            display: grid;
            grid-template-columns: repeat(1, 2fr); 
        }

        .card-slider {
            overflow-x: scroll;
            grid-template-columns: repeat(1, 2fr);
        }
    
        .card p {
            font-size: 14px;
        }
        
        .mala_galerija {
            flex-direction: column;
        }

        .informacije {
            display: grid;
            grid-template-columns: repeat(1, 2fr); 
        }

        .obrazac {
            width: 50%;
        }

        footer {
            padding: 5%;
            height: 100%;
            width: 100%;
            display: grid;
            grid-template-columns: repeat(1, 2fr); 
        }

        .desna_strana {
            width: 100%;
        }
    }
            