@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
    margin: 0;
    background-color: #0A233F;
    font-family: "Arimo", sans-serif;
}
p {
    margin: 0;
}
#lang {
    position: absolute;
    top: 50px;
    right: 50px;
    display: flex;
    z-index: 55;
    color: #fff;
}
a {
    text-decoration: none;
}
#lang a {
    color: #fff;
    display: flex;
    align-content: center;
    column-gap: 5px;
}
#lang div:nth-child(2) {
    margin: 0 15px;
}
#en svg {
    margin-bottom: -10px;
    margin-left: 5px;
  }
  #en, #srb {
    display: flex;
    align-content: center;
    column-gap: 5px;
  }
  #srb svg {
    margin-left: 5px;
  }
.wrapper {
    max-width: 1500px;
    width: 90%;
    margin: 0 auto;
}
.iskljuceno {
    filter: saturate(0);
}
#hero {
    padding: 180px 0 60px 0;
    background-size: cover;
    position: relative;
    z-index: 1;
    background-color: #000;
}
#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
    z-index: -1;
}
#logo {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}
#footer {
    background-color: #1A1A1A;
}
#pokretacka {
    text-align: center; 
    font-size: 72px;
    text-transform: uppercase;
    color: #B08360;
    font-family: Arimo;
}
#snaga {
    font-size: 122px;
    font-weight: 600;
    color: beige;
    text-align: center;
    color: #B08360;
    text-transform: uppercase;
    font-family: Arimo;
}
#hero-text {
    margin: 0 auto;
}
#hero-logo {
    display: flex;
    max-width: 730px;
    margin: 0 auto;
    padding: 80px 0;
    justify-content: space-between;
    column-gap: 30px;
}
#reference {
    padding: 160px 0;
}
#napredak {
    text-align: center;
    color: #B08360;
    font-family: Lusitana;
    font-size: 92px;
}
#kombinujemo {
    text-align: center;
    color: #F2F2F2;
    font-size: 48px;
    font-family: Lusitana;
    display: block;
    margin-top: 30px;
    margin-bottom: 50px;
}
#ref {
    display: flex;
    justify-content: space-between;
    column-gap: 100px;
    margin-top: 70px;
}
#brojevi {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #555;
  padding-bottom: 50px;
  margin-bottom: 50px;
}
.holding p {
  font-size: 38px;
  line-height: 1.5em;
  color: #fff;
  font-weight: 400;
  font-family: Montserrat;
}
.broj {
  color: #B08360;
  font-size: 120px;
  font-weight: 600;
  font-family: Montserrat;
}
.broj-wrapper span {
  color: #fff;
  font-size: 36px;
}
.logo {
  display: flex;
  align-content: center;
  justify-content: center;
  flex: 1;
}
.logo img {
  object-fit: contain;
  max-height: 46px;
}
.logo:last-child img {
  max-width: unset;
}
#hero .wrapper {
    position: relative;
    z-index: 5;
}
#izgradnja {
  margin-top: 40px;
  display: table;
}
#izgradnja span {
  float: left;
  color: #B08360;
  font-size: 30px;
  position: relative;
  padding-right: 20px;
  margin-right: 20px;
  font-weight: 400;
  font-family: Montserrat;
  line-height: 1.7em;
}
#izgradnja span::after {
  content: '';
  height: 70%;
  width: 1px;
  background-color: rgba(255,255,255,0.5);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
#myVideo {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    opacity: .4;
  }
.ref-slika {
    position: relative;
  }
  .ref-slika-mala {
    position: absolute;
    left: -10%;
    bottom: 10%;
  }
  .ref-text {
    color: #fff;
    margin: 40px 0;
  }
  #ref1 {
    max-width: 370px;
  }
  #ref2 {
    max-width: 540px;
  }
  #ref3 {
    max-width: 400px;
  }
  #ref4 {
    max-width: 540px;
  }
  button {
    background-color: #fff;
    border-radius: 0;
    padding: 15px 35px;
    color: #000;
    transition: all .2s;
    border: none;
    cursor: pointer;
  }
  button:hover {
    color: #fff;
    background-color: #000;
  }
  .ref {
    margin-top: 150px;
  }
  #footer {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  #footer .wrapper {
    display: flex;
    justify-content: space-between;
  }

  #footer p {
    color: #fff;
    font-size: 14px;
    display: block;
    margin-bottom: 20px;
  }
  #footer .footer-heading {
    border-bottom: 1px solid #777;
    margin-bottom: 15px;
    padding-bottom: 15px;
    color: #B08360;
    font-size: 21px;
  }
  #footer svg {
    margin-right: 5px;
  }
  #footer .wrapper > div:not(:first-child) {
    border-left: 1px solid #777;
  }
  #f1, #f2, #f3 {
    flex: 1;
    padding: 0 10%;
  }
  #f1 {
    padding-left: 0;
  }
  #f3 {
    padding-right: 0;
  }
  #f3 a {
    font-weight: 500;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
  }
  #f3 a:hover {
    opacity: 0.6;
  }
  #footer .wrapper {
    max-width: 1560px;
  }
  #galerija {
    display: flex;
    height: 700px;
  }
  .gal-col {
    flex: 1;
    background-size: cover;
    display: flex;
    position: relative;
  }
  .gal-item {
    position: relative;
  }
  #galerija a {
    width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 555;
  }
  #gal-col-1::after,
  #gal-col-2 .gal-item::after,
  #gal-col-3 .gal-item::after {
    position: absolute;
    background: rgba(10,50,63,0.5);
    content: '';
    z-index: 3;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: background 0.4s ease;
  }
    #gal-col-4 .gal-item::after {
    position: absolute;
    background: rgba(10,50,63,0.3);
    content: '';
    z-index: 3;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: background 0.4s ease;
  }
   #gal-col-4 .gal-item:hover::after,
  #gal-col-2 .gal-item:hover::after,
  #gal-col-3 .gal-item:hover::after, 
  #gal-col-1:hover::after {
  background: linear-gradient(to top, rgba(14, 62, 118, 1), rgba(14, 62, 118, 0));
  }
.gal-col svg {
  z-index: 7777;
  position: relative;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
  .gal-col .gal-item {
    margin: auto;
  }
  .footer-heading,
  #izgradnja span,
  .broj,
  .gradient {
    background: -webkit-linear-gradient(#C79A78, #B67D68);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  #gal-col-1 {
    background-image: url(img/extrabg.png);
  }
  #item1 {
    background-image: url(img/zgopbg.png);
    width: 100%;
    height: 100%;
    display: flex;
    background-size: cover;
    align-items: center;
    justify-content: center;
  }
  #item2 {
    background-image: url(img/josbg.png);
    width: 100%;
    height: 100%;
    display: flex;
    background-size: cover;
    align-items: center;
    justify-content: center;
  }
  #item3 {
    background-image: url(img/agrarbg.png);
    width: 100%;
    height: 100%;
    display: flex;
    background-size: cover;
    align-items: center;
    justify-content: center;
  }
  #item4 {
    background-image: url(img/verdebg.png);
    width: 100%;
    height: 100%;
    display: flex;
    background-size: cover;
    align-items: center;
    justify-content: center;
  }
  #gal-col-2 {
      flex-direction: column;
  }
  #gal-col-3 {
    flex-direction: column;
  }
  #gal-col-4 {
    flex-direction: column;
  }
  #gal-col-4 img {
    position: relative;
    z-index: 5;
  }
  #gal-col-4 .gal-item:nth-child(1) {
    background-image: url(img/kranovi-1.avif);
  }
  #gal-col-4 .gal-item:nth-child(2) {
    background-image: url(img/resavska31.webp);
  }
  #gal-col-4 .gal-item {
    height: 100%;
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
    background-size: cover;
  }
  #f1 img {
    max-width: 150px;
  }
  @media (max-width: 1400px) {
    .wrapper {
        width: 90%;
    }
    .broj {
        font-size: 100px;
    }
    .broj-wrapper span {
        font-size: 24px;
    }
  }
  @media (max-width: 1200px) {
    .broj {
        font-size: 80px;
    }
    .broj-wrapper span {
        font-size: 18px;
    }
  }
  @media all and (max-width: 767px) {
    #f1 img {
      max-width: 100px;
    }
    #brojevi {
      flex-direction: column;
      row-gap: 30px;
    }
    #reference {
      padding: 70px 0;
    }
    .broj {
      font-size: 90px;
    }
    .broj-wrapper span {
      font-size: 25px;
    }
    #ref img {
        width: 100%;
      }
    #ref {
        display: flex;
        flex-direction: column;
      }
      #galerija {
         height: auto;
         display: block;
      }
      #gal-col-1 {
        height: 300px;
      }
      #gal-col-2, #gal-col-3, #gal-col-4 {
        height: 600px;
      }
    #logo img {
        height: 200px;
        margin-top: 20px;
      }
      #logo {
        margin-bottom: 40px;
      }
      body #hero {
        padding-top: 100px !important;
      }
      #f1 {
        padding-left: 10%;
      }
      #f3 {
        padding-right: 10%;
      }
      #hero-logo {
        padding: 50px 0;
        max-width: 80%;
      }
      .logo {
        flex: unset;
        width: 25% !important;
      }
      #izgradnja span {
        font-size: 16px;
        display: block;
        margin-bottom: 15px;
        padding: 0;
        margin-right: 0 !important;
        font-family: Arimo;
      }
      .holding p {
        font-size: 20px;
      }
      #izgradnja span {
        display: block;
      }
      #izgradnja span::after {
        display: none;
      }
    #spajamo {
        transform: none;
        text-align: center;
        font-size: 24px;
    }
    #pokretacka {
        text-align: center;
        font-size: 30px;
    }
    #snaga {
        font-size: 44px;
        padding: 0px 0;
    }
    #napredak {
        font-size: 36px;
    }
    #kombinujemo {
        font-size: 18px;
    }
    #lang {
        left: 50%;
        right: unset;
        transform: translateX(-50%);
    }
    .logo:last-child {
      order: 5;
    }
    .logo:nth-child(5) {
      order: 6;
    }
  #hero-logo {
    flex-wrap: wrap;
    row-gap: 40px;
    justify-content: center;
  }
    #ref1 {
        margin-top: 40px;
    }
    #footer .wrapper {
        display: flex;
        flex-direction: column;  
        row-gap: 30px;
    }
    #footer .wrapper > div:not(:first-child) {
        border: none;
    }
    .ref-slika-mala {
        left: -5%;
        bottom: 5%;
      }
  }