@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital@1&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
}

.navbar-custom {
    background-color: rgba(255,255,255,0.4);
    border-bottom: 1px solid #0012FF;
    padding-top: 25px;
    padding-bottom: 25px;
    transition: all 0.3s;
}

.navbar-custom .navbar-toggler {
    border-color: #000000;
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(0,0,0)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    padding-left: 10px;
}

/* change the brand and text color */
.navbar-custom .navbar-brand,

.navbar-custom .navbar-text {
    color: #000000;
}

/* active link color */
.navbar-custom .navbar-nav .nav-link.active {
    color: #0012FF;
    border-bottom: 3px solid red;
}

/* change the link color */
.navbar-custom .navbar-nav .nav-link {
    color: #000000;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

/* change the color of active or hovered links */
.navbar-custom .nav-item.active .nav-link,

.navbar-custom .nav-item:hover .nav-link {
    color: #0012FF;
    border-bottom: 3px solid red;
}

/* for dropdown only - change the color of droodown */
.navbar-custom .dropdown-menu {
    background-color: #ff5500;
}

.navbar-custom .dropdown-item {
    color: #0012FF;
}

.navbar-custom .dropdown-item:hover,

.navbar-custom .dropdown-item:focus {
    color: #0012FF;
    background-color: rgba(255,255,255,.5);
}

.navbar-custom .navbar-nav .nav-link {
    color: #333333;
    text-transform: uppercase;
    font-family: 'Archivo Black', sans-serif;
    text-align: center;
}

.navbar.compressed {
    padding-top: 10px;
    padding-bottom: 10px;
    background: white;
    color: #6dcc7c;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.carousel-item {
    height: 85vh;
    min-height: 350px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* .carousel-control {
 
  position: absolute;
  width: 50px;
  height: 50px;
  top: 50%;
  margin-top: -35px;
  line-height: 50px;
  border-radius: 50%;
  color: inherit;
  background: #1b1b1b;
  border: 0;
  opacity: 0.5;
  text-shadow: none;
  z-index: 500;
  color: #fff;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s; }

  .carousel-control:hover {
 
  position: absolute;
  width: 50px;
  height: 50px;
  top: 50%;
  margin-top: -35px;
  line-height: 50px;
  border-radius: 50%;
  color: inherit;
  background: black;
  border: 0;
  opacity: 0.9;
  text-shadow: none;
  z-index: 500;
  color: #fff;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
  cursor: pointer; }


 .carousel-control .icon-next,
 .carousel-control .icon-prev {
  margin-top: -18px;
  font-size: 40px;
  line-height: 27px; }

.carousel-control.right {
  right: 0;
  margin-right: 2.5rem; }

.carousel-control.right::before {
     font-family: "Font Awesome 5 Free"; 
     font-weight: 900; 
     content: "\f35a";
     color: white;
   
    width: 100%;
    height: 100%;
    font-size: 2.5em;
    text-align: center;
    display: block;

       
}

 .carousel-control.left {
  left: 0;
  margin-left: 2.5rem; }

  .carousel-control.left::before{
     font-family: "Font Awesome 5 Free"; 
     font-weight: 900; 
     content: "\f359";
     color: white;
    
    width: 100%;
    height: 100%;
    font-size: 2.5em;
    text-align: center;
    display: block;
  } */
/* ---------------- CAROUSEL ------------------------------ */
.carousel-item {
    height: 100vh;
    min-height: 450px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.carousel-control {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    margin-top: -35px;
    line-height: 50px;
    border-radius: 50%;
    color: inherit;
    background: #1b1b1b;
    border: 0;
    opacity: 0.5;
    text-shadow: none;
    z-index: 500;
    color: #fff;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

.carousel-control:hover {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    margin-top: -35px;
    line-height: 50px;
    border-radius: 50%;
    color: inherit;
    background: black;
    border: 0;
    opacity: 0.9;
    text-shadow: none;
    z-index: 500;
    color: #fff;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
    cursor: pointer;
}

.carousel-control .icon-next,

 .carousel-control .icon-prev {
    margin-top: -18px;
    font-size: 40px;
    line-height: 27px;
}

.carousel-control.right {
    right: 0;
    margin-right: 2.5rem;
}

.carousel-control.right::before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    content: "\f138";
    color: white;
    width: 100%;
    height: 100%;
    font-size: 2.5em;
    text-align: center;
    display: block;
}

.carousel-control.left {
    left: 0;
    margin-left: 2.5rem;
}

.carousel-control.left::before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    content: "\f137"; 
    color: white;
    width: 100%;
    height: 100%;
    font-size: 2.5em;
    text-align: center;
    display: block;
}

.banner-cnt {
    position: absolute;
    left: 0;
    right: 0;
    top: 200px;
    text-align: center;
}

.banner-cnt h1 {
    color: #ffffff;
    font-size: 80px;
    font-weight: 700;
    line-height: 80px;
    text-transform: uppercase;
}

.banner-cnt h1 span {
    display: block;
    color: #ed4a00;
}

.banner-cnt p {
    color: #ffffff;
    font-size: 20px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    padding: 0 0 15px 0;
    position: relative;
    width: auto;
    display: inline-block;
}

.banner-cnt p:after {
    position: absolute;
    content: '';
    left: 40%;
    bottom: 0;
    background: #ffffff;
    width: 60px;
    height: 3px;
}

.banner-cnt-btn {
    display: inline-block;
    margin: 30px 0 0 0;
}

.banner-cnt-btn a {
    color: #ffffff;
    font-size: 18px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 12px 0 0;
    padding: 20px 50px;
    text-align: center;
    background: #ed4a00;
    border-radius: 3px;
}

.banner-cnt-btn a:hover {
    background: #001e4c;
}

.banner-cnt-btn a:last-child {
    margin: 0;
}

.banner-cnt-btn a.contactus-btn {
    background: #ffffff;
    color: #09316f;
}

.banner-cnt-btn a.contactus-btn:hover {
    background: #001e4c;
    color: #ffffff;
}

.banner-cnt-btn a .fa {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    font-size: 15px;
    margin-left: 5px;
}

/* ------------------ Responsive ------------------------- */
@media only screen and (max-width: 400px) {
    .banner-cnt h1 {
        color: #ffffff;
        font-size: 40px;
        font-weight: 700;
        line-height: 80px;
        text-transform: uppercase;
    }

    .banner-cnt h1 span {
        display: block;
        color: #ed4a00;
    }
}

@media only screen and (min-width: 401px) and (max-width: 960px) {
    .banner-cnt h1 {
        color: #ffffff;
        font-size: 60px;
        font-weight: 700;
        line-height: 80px;
        text-transform: uppercase;
    }

    .banner-cnt h1 span {
        display: block;
        color: #ed4a00;
    }
}

@media (max-width: 767px) {
    .carousel-control {
        top: auto;
        bottom: 30px;
    }

    .carousel-control:hover {
        top: auto;
        bottom: 30px;
    }

    .carousel-img {
        width: 20%;
    }
}

.parallax {
    /* The image used */
    background-image: url("../images/montage2.jpg");
  
    /* Set a specific height */
    min-height: 500px; 
  
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

/*FancyBox*/
a[data-fancybox] img {
    cursor: zoom-in;
  }
  
  .fancybox__container {
    --fancybox-bg: rgba(17, 6, 25, 0.85);
  }
  
  .fancybox__container .fancybox__content {
    box-sizing: content-box;
    padding: 1rem;
    border-radius: 6px;
    color: #374151;
    background: #fff;
    box-shadow: 0 8px 23px rgb(0 0 0 / 50%);
  }
  
  .fancybox__container .fancybox__content > .carousel__button.is-close {
    top: 0;
    right: -38px;
  }
  
  .fancybox__caption {
    max-width: 80%;
  
    /* Prevent opacity change when dragging up/down */
    --fancybox-opacity: 1;
  }  

/* ----------- sekcije ---------------- */
#onama {
    height: auto;
    background-image: url('../images/about_bgr.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom;
    padding-top: 70px;
    padding-bottom: 100px;
}

#proizvodnja {
    height: auto;
    background-color: gray;
    padding-top: 70px;
    padding-bottom: 100px;
}

#montaza {
    height: auto;
    background-color: rgba(104,104,104,0.5);
    padding-top: 70px;
}

#kontakt {
    height: auto;
    background-color: rgba(90, 166, 252, 0.5);
    padding-top: 70px;
}

/* ----------- naslovi sekcija ---------------- */
.sekcija {
    width: 100%;
    padding-bottom: 1.4em;
    background-color: #ffffff;
    margin-bottom: 1.4em;
}

.title h1 {
    font-weight: 700;
    color: #232044;
    text-transform: uppercase;
    line-height: 1.3em;
    font-size: 32px;
    padding-bottom: 10px;
    margin-left: 2em;
}

.sekcija .title h1 b {
    color: #26BAFF;
}

.title .underline {
    width: 220px;
    height: 5px;
    background-color: #26BAFF;
    position: relative;
    margin-left: 2em;
    margin-bottom: 10px;
}

.title .underline:after {
    content: '';
    width: 4px;
    height: 5px;
    position: absolute;
    right: -6px;
    top: 0;
    float: left;
    background-color: #26BAFF;
}

.title .underline:before {
    content: '';
    width: 4px;
    height: 5px;
    position: absolute;
    right: -12px;
    top: 0;
    float: left;
    background-color: #26BAFF;
}

.tekast {
    position: relative;
    width: 100%;
    height: auto;
    background: #fff;
    margin: 40px auto;
    padding: 10px;
    border: gray solid 1px;
    border-radius: 4px;
}

.tekast img {
    float: right;
    max-height: 300px;
}

.tekast p {
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    line-height: 2.3em;
}

.shadow {
    position: relative;
}

.shadow:before,
.shadow:after {
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 15px;
    left: 10px;
    width: 50%;
    top: 80%;
    max-width: 300px;
    background: #777;
    -webkit-box-shadow: 0 15px 10px #777;
    -moz-box-shadow: 0 15px 10px #777;
    box-shadow: 0 15px 10px #777;
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
}

.shadow:after {
    -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
    -o-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    transform: rotate(3deg);
    right: 10px;
    left: auto;
}
