* {
    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*/

.cover {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.cover img {
    height: 80vh;
    width: 100%;
    margin: auto;
    object-fit: cover;
    animation: fadeIn 1.5s ease-out forwards;
    opacity: 0;
    transform: scale(1.02);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(1.02); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
    .cover img {
        height: auto;
        max-height: 60vh;
        object-fit: contain;
    }
}

.onama {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    padding-top: 40px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.onamanas {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px; 
    margin-bottom: 20px; 
}

.logo2 {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

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

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

.onama p {
    max-width: 1160px;
    font-size: 18px;
    line-height: 1.6;
    color: grey;
    text-align: justify;
    background-color: #f0f8ea;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 40px;
}


@media (max-width: 768px) {
    .onamanas {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px; 
    }

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

    .onama p {
        font-size: 16px;
        padding: 15px;
        margin-bottom: 30px;
    }
}

.vrednosti {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
    flex-wrap: wrap;
}

.kolona {
    flex: 1;
    min-width: 250px;
    padding: 60px 20px 20px;
    border: 1px solid #eee;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #f0f8ea;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.kolona:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(255, 89, 65, 0.3);
    border-color: #ff5941;
}

.badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 50px;
    width: 180px;
    background-color: #ff5941;
    border-bottom-left-radius: 100px 30px;
    border-bottom-right-radius: 100px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease;
}

.kolona:hover .badge {
    background-color: #e34a32; 
}

.badge h3 {
    color: #f0f8ea;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.kolona ul {
    padding: 0 20px;
    list-style: none;
}

.kolona ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kolona ul li::before {
    content: "✔";
    color: #ff5941;
    font-weight: bold;
}

@media (max-width: 768px) {
    .vrednosti {
        flex-direction: column;
        align-items: center;
    }
    .kolona {
        width: 100%;
        max-width: 400px;
    }
}


/*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);
}