.hero-container{
    display: flex;
    width: 100%;
    position: fixed;
    top: 0;
    transition: background 0.5s ease-in-out, transform 0.5s ease-in-out, padding 0.5s ease-in-out;
    z-index: 6;
    background: rgba(43, 43, 43, 0);
    padding: 10px 0;
}

.hero-container.scrolled{
  background: rgba(43, 43, 43, 0.7);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.hero-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto;
    width: 70%;
}

.logo{
    vertical-align: middle;
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px; 
    width: auto; 
    vertical-align: middle;
}

.logo a {
    display: inline-block;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    
  }

  .navbar.hidden {
    transform: translateY(-100%); /* Pomeri header izvan ekrana kada se skroluje dole */
}

  .navbar-links{
    display: flex;
    flex-direction: row;
    gap: 20px;
  }
  
  .navbar p {
    font-size: 25px;
    color: rgb(255, 255, 255);
  }
  
  .navbar a{
    text-decoration: none;
    cursor: default;
  }
  
  .navbar p:hover{
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.8);
  }
  
  .navbar p:not(:hover){
    transform: scale(1);
    transition: transform 0.2s ease-in-out;
  }

  .highlight{
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.8);
}

/* Hamburger meni osnovni stil */
.hamburger {
  display: none;
  align-items: end;
  cursor: pointer;
  z-index: 10;
  margin-right: 20px;
  margin: auto 25px auto 0;  
}

#oNama{
  display: none;
}

.close-btn {
  top: 10px;
  right: 10px;
  margin: 15px 25px 0 0;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  display: flex;
  justify-content: end;
  z-index: 12;
  
}

.hamburger i {
  font-size: 40px; 
  color: white;   
  margin: auto 0;
}

/* Sidebar osnovni stil */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background-color: #181a1b;
  box-shadow: none;
  transition: right 0.3s ease, box-shadow 0.3s ease;
  z-index: 11;
}

.sidebar.open {
    right: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column; 
}

.sidebar ul {
  list-style: none;
  padding: 20px;
  margin: 0;
  text-align: left;
}

.sidebar ul li {
  padding: 15px 0;
  border-bottom: 1px solid #f1c40f;
}

.sidebar ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
}

/* Overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 8;
}

@media screen and (max-width: 1000px) {


   .hero-wrapper{
    width: 90%;
   }
    
  .navbar{
      justify-content: space-between;
      align-items: center;
  }
  .navbar-links {
    display: none !important; 
  }

  .hamburger {
    display: flex; /* Prikazi hamburger ikonu */
    margin-right: 0;
  }

  #oNama{
    display: block;
    margin: 0 0 0 20px;
    color: white;
  }
}
