@font-face {
    font-family: 'Font Awesome 5 Free';
    src: url('/fonts/fa-solid-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    src: url('/fonts/fa-solid-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/**************************HTML*TAGS********************************/
body {
    font-family: 'Montserrat', sans-serif;
    font-size: large;
    text-align: center;
    background-color: #F0EBE3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    font-weight: 900;
}

hr {
    width: 65%;
    margin: 0 auto;
    border: 1px solid black;
}

a {
    margin: 15px;
    font-size: x-large;
    color: black;
}

img {
    max-width: 100%;
}

/**************************CLASSES********************************/
.big-heading {
    font-size: 3.5rem;
    background-color: rgba(87, 110, 114, 0.9);
    border-radius: 0.5rem;
}

.md-heading {
    font-size: 3rem;
}

.sm-heading {
    font-size: 1.5rem;
}

.col-lg-6 {
    position: relative;
}

.container-fluid {
    padding: 5% 15%;
}

#title .container-fluid {
    padding: 3%;
    width: 100%;
}

.copyright {
    margin: 20px 0;
}

.colored-section {
    background-color: #576F72;
    color: white;
}

.carousel-item {
    padding: 2.5rem 0;
}

.white-section {
    background-color: #F0EBE3;
}

.feature-box {
    padding: 5%;
}

.features-icon {
    color: #7D9D9C;
    font-size: 4rem;
}

.features-icon:hover {
    color: #576F72;
}

.fa-arrow-right {
    padding: 0 0 0 0.5rem;
}

.gallery img {
    width: 100%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    object-fit: cover;
    height: 20rem;
}

.gallery-button {
    width: 100%;
    color: white;
    border: none;
    background-image: url("/dokumentacija/pic/Gumb_izrada_dark.webp");
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    height: 20rem;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .gallery-button {
        background-image: url("/dokumentacija/pic/Gumb_izrada_dark-720.webp");
    }
}

@media (max-width: 480px) {
    .gallery-button {
        background-image: url("/dokumentacija/pic/Gumb_izrada_dark-480.webp");
    }
}

.gallery-button:hover {
    background-color: rgba(128, 128, 128, 0.4);
    font-size: xx-large;
}

.navbar {
    padding: 0 1rem;
    background-color: #576F72;
}

.navbar-brand {
    width: 5rem;
}

.justifi {
    text-align: left;
}

.nav-item {
    display: flex;
    margin: auto 0;
    justify-content: right;
}

.nav-link {
    font-size: 1.3rem;
    font-weight: 500;
    color: white;
}

.desno {
    text-align: right;
}

.postupak {
    text-align: center;
    background-color: #E4DCCF;
    width: 60%;
    border-radius: 0.5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.naslov-pocetak {
    font-family: "Dancing Script";
    text-align: center;
    font-size: 6rem;
    margin: 0 auto;
    color: white;
    padding: 10px;
    width: 99%;
    letter-spacing: 7px;
}

.dodatni-tekst {
    font-family: "Montserrat";
    font-weight: 500;
    text-align: center;
    font-size: 1.5rem;
    margin: 0vh auto;
    color: white;
    opacity: 0.7;
    width: 99%;
}

.prica {
    font-size: 1.2rem;
    color: black;
    margin-bottom: 2.3rem;
}

.podaci-obrta {
    text-align: left;
    color: black;
}

.gallery div {
    margin-bottom: 1rem;
}

.upit {
    color: white;
    text-decoration: none;
}

.upit:hover i {
    color: black;
}

/**************************ID-S***********************************/
#greska {
    margin-top: 20px;
    color: white;
    font-size: 1.3rem;
}

#mail {
    color: #8f8f8f;
    font-size: 1rem;
}

#mini {
    font-size: x-small;
}

#usluge {
    position: relative;
    z-index: 1;
}

#press {
    padding-bottom: 3%;
}

#naslov {
    padding: 0;
    opacity: 0;
}

#naslov div {
    border: 2mm solid rgba(174, 174, 174, 0.6);
    border-radius: 20px;
    padding: 4rem 20px;
}

#Izrada-namjestaja a {
    margin-left: 0px;
    width: 100%;
    font-size: large;
    color: white;
}

#Obnova-namjestaja a {
    margin-left: 0px;
    font-size: large;
    color: black;
}

#Obnova-namjestaja .gallery-button {
    background-image: url("/dokumentacija/pic/Gumb_obnova_dark.webp");
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    #Obnova-namjestaja .gallery-button {
        background-image: url("/dokumentacija/pic/Gumb_obnova_dark-720.webp");
    }
}

@media (max-width: 480px) {
    #Obnova-namjestaja .gallery-button {
        background-image: url("/dokumentacija/pic/Gumb_obnova_dark-480.webp");
    }
}

#O-nama img {
    margin-top: 0;
    width: 20%;
    height: 20%;
}

#politika-privatnosti a {
    font-size: large;
    margin: 0;
}
#politika-privatnosti ul{
    margin-left: 2rem;
}

#sivi-tekst {
    margin-top: 2rem;
    background-color: rgba(87, 110, 113, 0.1);
    border-radius: 1em;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

#sivi-tekst p {
    width: 75%;
}

#sivi-tekst-dva {
    background-color: rgba(87, 110, 113, 0.1);
    border-radius: 1em;
    padding: 1rem;
    font-weight: 600;
}

#sivi-tekst-dva button,
#sivi-tekst button {
    background-color: #333;
    color: #fff;
    padding: 20px 10px;
    border: none;
    width: 15rem;
    border-radius: 5px;
    cursor: pointer;
    margin: 2rem;
    transition: all 0.3s ease;
}

#sivi-tekst-dva button:hover {
    font-size: large;
    color: black;
    background-color: #8f8f8f;
}

#natuknice-pocetak {
    margin: 2rem auto;
}

#pricing {
    padding: 5%;
}

#footer {
    padding: 2% 13%;
}

#O-nama .container-fluid {
        margin-top: 5rem;
    }

#title {
    background-image: url("/dokumentacija/pic/pozadina_kuhinja.avif");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    #title {
        background-image: url("/dokumentacija/pic/pozadina_kuhinja-720.avif");
    }
}

@media (max-width: 480px) {
    #title {
        background-image: url("/dokumentacija/pic/pozadina_kuhinja-480.avif");
    }
}

#Izrada-namjestaja .prica {
    color: white;
}

#izrada-namjestaja {
    height: 2vh;
    z-index: -5;
}

#obnova-namjestaja {
    height: 2vh;
    z-index: -5;
}

#postupak-narucivanja {
    height: 5vh;
    z-index: -5;
}

#kontaktirajte-nas {
    height: 2vh;
    z-index: -5;
}

#naslov button {
    background-color: transparent;
    font: bold 1rem 'Montserrat', sans-serif;
    padding: 10px 20px;
    border: 3px solid white;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 2rem auto 0;
    transition: all 0.3s ease;
}

#naslov button:hover {
    color: black;
    background-color: white;
    font-size: large;
}

#footer img {
    width: 18%;
    height: 18%;
    margin-right: 70px;
}

/**************************FORMS**********************************/
#form .container-fluid {
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    display: block;
    position: relative;
    width: 60%;
    padding: 10px;
    margin: 0 auto 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form input[type="radio"] {
    display: inline-block;
    width: 1rem;
}

.contact-form textarea {
    height: 200px;
}

.rdo {
    display: inline-block;
    width: 10rem;
}

.contact-form input[type="checkbox"] {
    display: inline-block;
    width: 2rem;
}

.contact-form button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    font-size: large;
    background-color: #8f8f8f;
}

.contact-form li {
    width: 70%;
    margin: 1rem auto;
    text-align: left;
}

#porukaPoslana {
    margin: 20px auto;
    width: 60%;
    padding: 5px;
    border-radius: 5px;
    color: #0A6F26;
    background-color: #C8FFD7;
}

#greskaSlanja {
    margin: 20px auto;
    width: 60%;
    padding: 5px;
    border-radius: 5px;
    color: #A70A0A;
    background-color: #FFBEBE;
}

#greskaSlanja li {
    width: 90%;
}

/**************************ANIMATIONS*******************************/
@keyframes fadeIn-prica {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*************************POPUP*MODAL*****************************/

.modal-layer {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#modalImage {
    margin-top: 5rem;
    width: 70vh
}

.modal-layer.active {
    display: flex;
}

.slide-img {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.slide-img img {
    margin: auto;
    display: block;
}

.modal-btn {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
}

#closeBtn {
    top: 5rem;
    right: 0rem;
    padding: 1rem;
    font-size: xx-large;
}

#prev {
    top: 50%;
    left: 1rem;
}

#next {
    top: 50%;
    right: 1rem;
}

/*********************************PAARTNERS*SLIDER********************************/
.partners-container {
    overflow: hidden;
    padding-top: 6rem;
    white-space: nowrap;
    background-color: #576F72;
}

.partners-slider {
    display: inline-block;
    padding: 3rem 0;
    animation: 25s partner-slider infinite linear;
}

.partners-container img {
    height: 5rem;
    margin: 0 2rem;
}

@keyframes partner-slider {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-159%);
    }
}

/********************IZRADA*NAMJEŠTAJA*GALERIJA**********************/
#Izrada-naslov-galerija p {
    margin: 1rem 2rem 5rem 0rem;
}

#sivi-tekst-dva p {
    margin: auto 0;
}

#natuknice-pocetak .col-lg-6 {
    padding-left: 0;
}

/********************CHECBOX*SUGLASNOST**********************/
.checkbox-container {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 10px 0;
    user-select: none;
}

.checkbox-label a {
    color: white;
    font-size: large;
    margin: 0;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    width: 25px;
    height: 25px;
    border: 3px solid #6f6f6f;
    background-color: #fff;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-container input:checked~.custom-checkbox {
    background-color: #2587d2;
    border-color: #2587d2;
}

.custom-checkbox::after {
    content: "✓";
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 36px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.checkbox-container input:checked~.custom-checkbox::after {
    opacity: 1;
}

/********************MEDIA**********************/

@media only screen and (max-width: 600px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-weight: 600;
    }

    .container-fluid {
        padding: 5% 6%;
    }

    #O-nama .container-fluid {
        margin-top: 8rem;
    }

    .prica-pocetak {
        font-size: 5rem;
        margin: 0 auto;
    }

    .lijevo {
        text-align: left;
        margin-top: rem;
    }

    .naslov-pocetak {
        letter-spacing: 2px;
        font-size: 3rem;
    }

    .partners-container img {
        height: 2rem;
    }

    #closeBtn,
    #prev,
    #next {
        background-color: rgba(0, 0, 0, 0.3);

    }

    #podaci {
        width: 99%;
    }

    #footer img {
        width: 60%;
        margin: 3rem auto 1rem;
    }

    #O-nama img {
        width: 70%;
        margin: 2rem auto 0.5rem;
    }

    #title .container-fluid {
        margin-top: 3rem;
    }

    .form {
        width: 80%;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
    }

    #upute-forma {
        width: 100%;
    }

    #upute-forma li {
        width: 100%;
    }

    .custom-checkbox {
        width: 48px;
    }

    section i {
        padding: 5px;
        z-index: 10;
    }

    #prev {
        padding: 3rem 1rem;
    }

    #next {
        padding: 3rem 1rem;
    }

    section .modal-layer .slide-img {
        background-size: 100%;
        width: 99%;
    }

    #modalImage {
        width: 100%;
    }

    .slide-img img {
        max-width: 100%;
        max-height: 100%;
    }
}