* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

body {
  background-color: #f9f9f9;
  font-family: 'QuickSand', sans-serif;
  padding-top: 80px; 
}

.hidden {
  display: none !important;
}


/*HEADER*/

.wrapper {
  width: 95%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center; 
  position: relative;
}

header {
  background-color: #f0f8ea;
  color: #ebebd3;
  padding: 1em 0;
  position: fixed;   
  top: 0;
  left: 0;
  width: 100%;       
  z-index: 1000; 
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);  
}

.logo {
  margin: 0;
}

.logo a {
  display: inline-block; 
  text-decoration: none; 
}

.logo img {
  height: 45px;     
  width: auto;
  display: block;
}

.main-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background-color: #f0f8ea;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.main-nav-open {
  height: auto;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  border-bottom: 1px solid #ff5941;
}

.main-nav li:last-child {
  border-bottom: none;
}

.main-nav a {
  color: #ff5941;
  font-weight: bold;
  display: block;
  padding: 1em;
  text-decoration: none;
  text-transform: uppercase;
}


.nav-icon {
  display: inline-block;
  font-size: 1.3em;
  margin-right: 0.5em;
  text-align: center;
  width: 1.1em;
  color: rgba(255, 89, 65, 1);
}

.menu-toggle {
  padding: 1em;
  cursor: pointer;
  z-index: 1010; 
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  background: #ff5941;
  height: 3px;
  width: 1.75em;
  transition: all ease-in-out 500ms;
}

.hamburger::before {
  transform: translateY(-6px);
}

.hamburger::after {
  transform: translateY(3px);
}

.open .hamburger {
  transform: rotate(45deg);
}

.open .hamburger::before {
  opacity: 0;
}

.open .hamburger::after {
  transform: rotate(90deg) translateY(3px);
}

@media only screen and (min-width: 700px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: relative;
    background: transparent;
    height: auto;
    overflow: visible;
    display: flex;
    justify-content: flex-end;
  }

  .main-nav ul {
    display: flex;
    gap: 2em;
  }

  .main-nav li {
    border: none;
  }

  .main-nav a {
    padding: 0;
    background: transparent;
  }

  .nav-icon {
    display: none;
  }
}


/*MAIN*/


main {
  background-color: #f9f9f9;
  padding-top: 50px;        
}

.loknas {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;

}

.logo2 img {
    max-height: 120px;
    width: auto;
    display: block;
}

h2 {
    font-size: 40px;
    color: #222;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
}

.kontakt-container {
  display: flex;
  justify-content: center; 
  align-items: stretch; 
  gap: 40px;
  flex-wrap: wrap;
  margin: 50px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.kartica {
  display: flex;
  flex-direction: column; 
  height: 450px;        
  padding: 25px;          
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.kartica:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.kartica .red {
  flex: 1;             
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 10px;    
}

.kartica .red:last-child {
  border-bottom: none;
}

.labela {
  font-weight: bold;
  color: #333;
  flex: 0 0 150px;         
}

.vrednost {
  color: #555;
  text-align: left;         
  flex: 1;                 
}

.vrednost i {
  margin-right: 8px;
  color: #ff5941;
}

.vrednost a {
  color: #555;
  text-decoration: none;
}

.vrednost a:hover {
  text-decoration: underline;
}

.kontakt-container iframe {
  flex: 2 1 600px; 
  max-width: 800px;
  width: 100%;
  height: 450px;          
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 50px;
}

.vrednost .kontakt {
  margin-bottom: 8px; 
}

.vrednost .kontakt:last-child {
  margin-bottom: 0;   
}


@media (max-width: 768px) {
    .loknas {
        flex-direction: column; 
        gap: 10px;
        align-items: center;
        margin-top: 20px;
    }

    .loknas h2 { font-size: 28px; }
    
}



@media (max-width: 900px) {
  .kontakt-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .kartica, .kontakt-container iframe {
    flex: none;
    width: 100%;
    max-width: 400px;
    height: auto;
    padding: 25px;          
  }

  .kontakt-container iframe {
    height: 350px;
  }

  .labela {
    flex: 0 0 120px;      
  }

  .vrednost {
    text-align: left;
  }

  .vrednost .kontakt {
    margin-bottom: 10px;    
  }

  .vrednost .kontakt:last-child {
    margin-bottom: 0;        
  }

  .kartica {
    padding: 25px;  
    height: auto;   
  }

  .kartica .red {
    flex: none;          
    padding: 18px 0;     
    border-bottom: 1px solid #e0e0e0;
  }

  .kartica .red:last-child {
    border-bottom: none;
  }

}




/*FOOTER*/


.footer {
    background-color: #222;
    color: #fff;
    font-family: Arial, sans-serif;
  }

  .footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 0;
  }

  .footer-left {
    text-align: left;
  }

  .footer-right {
    text-align: right;
  }

  .footer h3, .footer h4 {
    margin-bottom: 10px;
  }

  .footer p {
    margin: 6px 0;
    line-height: 1.5;
    display: flex;
    align-items: center;
  }

  .footer .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid #fff;
    border-radius: 4px;
    margin-right: 8px;
  }

  .footer .icon i {
    color: #fff;
    font-size: 14px;
  }

.footer-bottom {
    display: flex;
    flex-direction: column;   
    justify-content: center; 
    align-items: center;      
    padding: 20px 0;
    background-color: #1a1a1a;
    width: 100%;              
    box-sizing: border-box;
    gap: 5px;                
}

.footer-bottom .line {
    width: 50%;               
    max-width: 500px;
    height: 1px;
    background-color: #555;
    border-radius: 1px;
    margin-bottom: 10px;     
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    text-align: center;       
}

.footer-bottom i.fa-code {
    margin: 0 5px;
    color: #fff;
}


  @media (max-width: 600px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
    }
    .footer-left, .footer-right {
      text-align: center;
      margin: 10px 0;
    }
    .footer p {
      justify-content: center;
    }
    .footer-bottom .line {
      width: 60%;
    }
  }

/*STRELICA*/

.back-to-top {
  position: fixed;       
  bottom: 25px;          
  right: 25px;           
  background-color: #ff5941;
  color: white;
  font-size: 1.5em;      
  text-decoration: none;
  width: 40px;           
  height: 40px;          
  border-radius: 50%;    
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.3s;
}

.back-to-top:hover {
  opacity: 1;
  transform: translateY(-3px);
}