@font-face {
  font-family: 'TT_Prosto_Sans_Trial_Black'; /* Name of your font */
  src: url('../fonts/TT_Prosto_Sans_Trial_Black.otf') format('opentype'); /* Ispravljena formatna oznaka */
  font-weight: normal; /* Adjust as needed */
  font-style: normal; /* Adjust as needed */
}
@font-face {
  font-family: 'TT_Prosto_Sans_Trial_Light'; /* Name of your font */
  src: url('../fonts/TT_Prosto_Sans_Trial_Light.otf') format('opentype'); /* Ispravljena formatna oznaka */
  font-weight: normal; /* Adjust as needed */
  font-style: normal; /* Adjust as needed */
}
  
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* Hero sekcija */
.hero {
  position: relative;
  height: 100vh;
  background-image: url(/assets/img/strukturneSlike/naslovna5.jpg); /* Zamenite sa pravom slikom */
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: black;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Zatamnjenje (podesi nivo prozirnosti) */
  z-index: 1; /* Overlay je ispod sadržaja */
}

/* Navbar stil */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
  z-index: 2;
}

.navbar p {
  font-size: 22px;
  color: rgb(255, 255, 255);
  font-family: 'TT_Prosto_Sans_Trial_Light', sans-serif;
}

.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;
}

/* Tekst hero sekcije */
.hero-content {
  text-align: center;
  color: rgb(255, 255, 255);
  /* text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.8); */
  z-index: 2;
  font-family: 'TT_Prosto_Sans_Trial_Light', sans-serif;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
}

@media (max-width: 600px) {

.hero-content {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  text-align: center;
  color: rgb(255, 255, 255);
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    margin: 0 10px;
  }
  
  .hero-content p {
    font-size: 1rem;
  }

  /*  */

  .navbar {
    top: 30%;
    padding: 0;
    flex-direction: column;
    gap: 10px;
  }
  
  .navbar p {
    font-size: 24px;
    color: rgb(255, 255, 255);
    font-family: 'TT_Prosto_Sans_Trial_Light', sans-serif;
    font-weight: 700;
  }
  
  .navbar p:hover{
    transform: none;
    transition: none;
    text-shadow: none;
  }
  
  .navbar p:not(:hover){
    transform: none;
    transition: none;
  }

  .hero::before {
    background: rgba(0, 0, 0, 0.6); 
  }
  
}

@media (min-width: 601px) and (max-width: 900px) {
  .hero-content {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgb(255, 255, 255);
    }
    
    .hero-content h1 {
      font-size: 2rem;
      margin-bottom: 20px;
      margin: 0 10px;
    }
    
    .hero-content p {
      font-size: 1rem;
    }
  
    /*  */
  
    .navbar {
      top: 30%;
      padding: 0;
      flex-direction: column;
      gap: 10px;
    }
    
    .navbar p {
      font-size: 24px;
      color: rgb(255, 255, 255);
      font-family: 'TT_Prosto_Sans_Trial_Light', sans-serif;
      font-weight: 700;
    }
    
    .navbar p:hover{
      transform: none;
      transition: none;
      text-shadow: none;
    }
    
    .navbar p:not(:hover){
      transform: none;
      transition: none;
    }
  
    .hero::before {
      background: rgba(0, 0, 0, 0.6); 
    }
}

@media (min-width: 901px) and (max-width: 1200px) {
  
}

@media (min-width: 1201px) and (max-width: 1500px) {
  
}