html {
    scroll-behavior: smooth;
  }
/* Preloader->gif */
#pre-loader {
    background: white url('/images/ring.gif') no-repeat center center;
    background-size: 3%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 9999;
  }  
  #pre-loader.hidden {
    display: none !important;
}
.tp-bullet.selected {
    display: none !important;
}

.footer-top {
    background-color: rgb(255, 255, 255);
}
.footer-bottom {
    display: flex;
    justify-content: space-around;
}

   /*Bijela crta ispod nav-bar*/
  .main-bar .clearfix{
    border-bottom: 2px solid white ;
  }
  
  /*"O NAMA i KONTAKT"*/
.navbar-nav li a.has-mega-menu  {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    
}
/*-------------------SLIKE KAMIONA---------------*/
/*Slajder sa slikama kamiona*/
.dlab-media img {
    object-fit: contain;
    display: block;
    padding: 10px;
    border-radius: 15px;

}
  /*strelice lijevo desno ispod slika kamiona*/
.new-item .owl-nav{
    transform: translate(-50%, -50%);
    left: 50%;
    bottom: -21%;
}

/*--------------------O NAMA-------------------*/
#about-us {
    position: relative;
    background-image: url('/images/background/about-us.jpg') !important;
    background-position: bottom ;
    background-repeat: no-repeat;
    background-size: 100%;
    height: auto;
    min-height: 300px;
    padding: 20px;
}

/*"O NAMA"*/
.onama > .h3{  
    color: #393185;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
     font-weight: 650;
     margin-bottom: 15px; /* Dodaj malo prostora ispod naslova */
    }

/*Crta -> O NAMA*/
.col-md-12 .h3::after {
    width: 30% !important;
    background-color: #393185 !important; 
    margin-top: 10px !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
/*Div O NAMA*/
#about-us .about-us-info {
    text-align: center;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
/*O NAMA->Sadrzaj*/
#about-us .about-us-info p {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    color: #000000;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
    margin: 0;
    padding: 20px;
  
}

/*-----------------ZADOVOLJNI KLIJENTI-------------*/
/*Zadovoljni klijenti naslov*/
h3.text-uppercase {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 78px;
}

/* Bijela crta za elemente s klasom .h3 i .text-uppercase */
.h3.text-uppercase::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    margin-top: 10px; 
    width: 30%;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    margin-top: auto;
}
.testimonial-text {
    border-radius: 10px;
}
/*div imena zadovoljnih klijenata*/
.testimonial-box {
    display: flex;
    justify-content: center;
    align-items: center; 
    text-align: center;  
}

/*Tekst "Zadovoljni klijenti"*/
.testimonial-text {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.site-button:hover {
    background-color: #8D8D8D !important; /* Siva boja */
    transition: background-color 0.3s ease-in-out; /* Glatka animacija */
}
.icon-content a:hover img {
    transform: scale(1.2);
    filter: brightness(1.2);
}

a {
    transition: transform 0.3s ease, color 0.3s ease;
}

a:hover {
    transform: scale(1.1);
    color: #999999;
}
/*Razmak između brojeva u TELEFON*/
#brojevi {
    line-height: 2.75 !important; /* Povećava razmak između redaka */
}
/*Razmak između redova u PODATCI*/
#podatci {
    line-height: 2.1;
}

.dzSurname {
    display: none !important;
}


@media screen and (max-width: 600px) {
   
    
    #pre-loader {
        z-index: 9999;
        position: fixed !important;
    } 

    /*ZADOVOLJNI KLIJENTI*/
    h3.text-uppercase {
        color: #ffffff;
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 40px;
        line-height: 40px;
    }
    /*Pozadinska slika*/
    .section-full{
        background-image: url('/images/mercedes-truck\ –\ mob.jpg');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
      }
      .section-full {
        background-image: none;
      }
      /*CRTA -> zadovoljni klijenti*/
      .h3.text-uppercase::after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        margin-top: 10px; 
    }

    .new-item .owl-nav {
        position: absolute;
        top: 140px;
        left: 50%;
        width: 100%;
        z-index: 9999;
        transform: translateX(-50%); /* Centriraj .owl-nav unutar roditeljskog elementa */
    }

        .new-item .owl-nav .owl-prev,
        .new-item .owl-nav .owl-next {
            position: absolute; /* Postavi ih apsolutno unutar roditeljskog elementa */
            top: 50% !important; /* Početna visina */
            transform: translateY(-50%) translateY(-25%);
            background: transparent;
            border: none;
            width: 40px; /* Veličina gumba */
            height: 40px; /* Veličina gumba */
            border-radius: 50%;
        }

    /* Pomakni .owl-prev lijevo */
    .owl-prev {
        left: 45px; /* Povećaj razmak od lijevog ruba */
    }

    /* Pomakni .owl-next desno */
    .owl-next {
        right: -55px; /* Povećaj razmak od desnog ruba */
    }

/*O NAMA -> tekst*/
.about-us-info > p {
    width: 100% !important;
    text-align: center;
}
    #about-us {
        position: relative;
        background-image: url(/images/about-us-mobile.jpg);
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: 100%;
        height: auto;
        min-height: 300px;
        padding: 20px;
    }
    .about-us-info p {
        padding: 0 !important;
        font-weight: lighter !important;
    }
}
@media screen and (max-width: 769px) {
    h3.text-uppercase {
        font-size: 30px;
        line-height: 35px;
    }

    .h3.text-uppercase::after {
        width: 70%;
    }

    #about-us {
        min-height: 280px;
        padding: 20px;
    }


    /* POPRAVAK SLIDERA */
    .slider-section {
        width: 100%;
        overflow: hidden;
    }
    .slider-section .container,
    .slider-section .row {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    .owl-carousel {
        width: 100% !important;
    }
    .dlab-media img {
        width: 100%;
        height: auto;
        display: block;
    }
}
@media screen and (max-width: 1024px) {
    #pre-loader {
        z-index: 9999;
        position: fixed !important;
    } 

    /* ZADOVOLJNI KLIJENTI */
    h3.text-uppercase {
        color: #ffffff;
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 35px;
        line-height: 40px;
    }
    
    /* Pozadinska slika */
    .section-full {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    /* CRTA -> zadovoljni klijenti */
    .h3.text-uppercase::after {
        content: "";
        display: block;
        width: 80%;
        height: 2px;
        background-color: #ffffff;
        margin-top: 10px; 
    }

    .owl-nav {
        /*display: none !important;*/
    }     

    /* O NAMA -> tekst */
    .about-us-info > p {
        width: 100% !important;
        text-align: center;
        margin: auto;
    }

    #about-us {
        position: relative;
        background-image: url('/images/about-us-tablet.jpg');
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: 100%;
        height: auto;
        min-height: 350px;
        padding: 30px;
    }
}
@media screen and (min-width: 1025px) {
    h3.text-uppercase {
        font-size: 45px;
        line-height: 50px;
    }


    .h3.text-uppercase::after {
        width: 100%;
    }

    #about-us {
        min-height: 400px;
        padding: 40px;
    }
}
