*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', sans-serif;
    scroll-behavior: smooth;
}

.navbar {
    display: flex;
    background: #6495ED;
    height: 64px;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    position: sticky;
    top:0;
    z-index: 999;
}

.navbar__container {
display: flex;
justify-content: space-between;
height: 64px;
z-index: 1;
width: 100%;
max-width: 1300px;
margin: 0 auto;
padding: 0 50px;
}

#navbar__logo {
    background-color: rgb(29, 96, 154);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-image: linear-gradient(to top, #000046, #1cb5e0);
    background-size: 100%;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
}

.navbar__links{
    display: flex;
    color: #fff;
    justify-content:center;
    align-items: center;
    width: 125px;
    height: 100%;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 20px;    
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
padding: 10px 20px;
height: 100%;
width: 100%;
border: none;
outline: none;
border-radius: 4px;
background: #833ab4;
background: -webkit-linear-gradient(to right, #7f78c8, #4430ac, #080696);
background: linear-gradient(to right, #7f78c8, #4430ac, #080696);
color: #fff;
transition: all 0.3s ease;
}

.navbar__links:hover {
    color: #9518fc;
    transition: all 0.3s ease;
}



.hero {
    background-color: rgb(29, 96, 154) ;
    padding-top: 200px;
    padding-bottom: 200px;
    background-image:  linear-gradient(
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2)
    ),url("index_slike/index-slika1.jpg") ;
    background-size: cover;
    color: white;
}

.hero p {
  color:white;
  font-weight: 500;
}

.hero__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    
    padding: 30px;
}

.hero__heading {
    display: flex;
    font-size: 50px;
    margin-bottom:24px;
    text-align:left;
    color: rgb(29, 96, 154);
}

.hero__description {
    font-size: 20px;
    text-align: justify;
    text-justify: inter-word;
}

.services {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 10rem 0;
}

.services h1 {
    background-color: rgb(29, 96, 154);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-image: linear-gradient(to right, #000046, #1cb5e0);
    background-size: 100%;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    margin-bottom: 5 rem;
    font-size: 2.5rem;
    padding-bottom: 50px;

}

.services__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
}

.services__card {
    margin : 10px;
    height: 425px;
    width: 300px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background-image:linear-gradient(to right, #00dbde 0%, #fc00ff 100%) ;
    transition: 0.3s ease-in;

}

#termoiz {
  background-image: url("index_slike/index-slika2.jpeg");
  background-size: cover;
  border-style: solid ;
  border-width: 3px;
  border-color: #6495ED ;
}

#ostecenja {
  background-image: url("index_slike/index-slika3.jpg") ;
  background-size: cover;
  border-style: solid ;
  border-width: 3px;
  border-color: #6495ED;

}


#prikolice {
  background-image: url("index_slike/naslv2.jpeg") ;
  background-size: cover;
  border-style: solid ;
  border-width: 3px;
  border-color: #6495ED;
  

}


.services__card h2 {
    text-align: center; 
}

.services__card p {
    text-align: center;
    margin-top: 24px;
    font-size: 20px;
}

.services__btn {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.services__card button {
  color:black;
  padding: 14px 24px;
  border: none;
  outline: none;
  border-radius : 4px;
  font-size: 1 rem;
  font-weight: 600;
}

.services__card button:hover {
  cursor: pointer;
}

.services__card:hover {
  transform: scale(1.075);
  transition: 0.3s ease-in;
  cursor: pointer;
}




#find-us {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px;
  background-color: #f5f5f5;
  scroll-margin-top: 20px;
}

.text-section {
  text-align: center;
  margin-bottom: 30px;
}

.text-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.text-section p {
  font-size: 18px;
  margin-bottom: 5px;
}


/* karta */
.map-section {
  width: 100%;
  max-width: 800px;
  height: 450px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}



/*footer*/

footer {
  background: #6495ED;
  height: auto;
  width: 100vw;
  padding-top: 30px;
  padding-bottom: 30px;
  color: white;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding-top: 20px;
  
}

.footer-content h3 {
  font-size: 1.5rem;
  color: white;  
}

.footer-content p {
  max-width: 500px;
  margin: 5px auto;
  font-size: 14px;
  text-justify: auto;
}

.footer-bottom {
  background: #6495ED;
  width: 100vw;
  padding: 20px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.footer-bottom p {
  font-size: 14px;
  word-spacing: 2px;
  padding: 2px 0;
}

.footer-bottom span {
  text-transform: uppercase;
  opacity: .4;
  font-weight: 200;
}


@media (max-width : 1800px){
  .hero p{
    color: white;
  }
  
  .hero__heading {
    color:rgb(29, 96, 154);
  }
}

@media(max-width: 1650px) and (min-width: 1100px){
   .hero p{
    color: white;
  }
  
  
  .hero__heading {
    color:rgb(29, 96, 154);
  }
}


@media screen and (max-width: 1300px) {
  .services__wrapper {
    grid-template-columns: 1fr 1fr ;
  }
}

@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
      }
    
      .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: -1;
      }
    
      .navbar__menu.active {
        background: #131313;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 60vh;
        font-size: 1.6rem;
      }
    
      #navbar__logo {
        padding-left: 25px;
      }
    
      .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
      }
    
      .navbar__item {
        width: 100%;
      }
    
      .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
      }
    
      .navbar__btn {
        padding-bottom: 2rem;
      }
    
      .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
      }
    
      #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
      }
    
      .navbar__toggle .bar {
        display: block;
        cursor: pointer;
      }
    
      #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
      }
    
      #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
      }
    
      #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
      }

}



@media screen and (max-width: 768px) {
  .services__wrapper {
    grid-template-columns: 1fr;
  }
}
