/* -----------------------------*/
/* NAVBAR:                      */
/* -----------------------------*/
nav {
  width: 100%;
  z-index: 1000;
  position: sticky;
  top: 0;
  background-color: var(--eb-white);
  display: flex;
  flex-direction: column;
}
nav .main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav hr {
  height: 5px;
  background-color: var(--eb-gray-dark);
  border: 0;
  position: relative;
  z-index: 999;
}
nav hr::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--scroll-progress, 0%); /* Varijabla kojom upravlja JS */
  z-index: 1000;
  background-color: var(--eb-orange);
  transition: width 0.1s ease-out;
}
/* -----------------------------*/
/* SEKCIJA 1.1.                 */
/*                              */
/* LOGO I NAZIV FIRME           */
/* -----------------------------*/
nav .logo {
  display: flex;
  flex-direction: row;
  align-items: center;
}
nav .logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  object-position: center;
}
nav .logo h3 {
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
/* -----------------------------*/
/* SEKCIJA 1.2.                 */
/*                              */
/* LINKOVI STRANICE             */
/* -----------------------------*/
nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-right: 15px;
}
/* -----------------------------*/
/*                              */
/* 1.2.1. - LINKOVI             */
/*                              */
/* -----------------------------*/
nav ul a {
  text-decoration: none;
  font-weight: 500;
  padding: 5px 8px;
  color: var(--eb-gray-dark);
  opacity: 0.6;
  font-size: 1rem;
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    text-shadow 0.25s ease;
}
nav ul a:hover {
  color: var(--eb-orange);
  opacity: 1;
  /* Optički bold efekt koji se glatko animira bez skakanja/pomicanja susjednih linkova */
  text-shadow: 0 0 0.65px var(--eb-orange);
}
nav ul a.aktivno {
  color: var(--eb-orange);
  opacity: 1;
  font-weight: 600;
  text-shadow: 0 0 0.65px var(--eb-orange);
}
/* -----------------------------*/
/*                              */
/* 1.2.2. - GUMB ZA OTVARANJE   */
/*                              */
/* -----------------------------*/
.hamburger-ikona {
  display: none; /* na računalu se ne vidi */
  width: 40px;
  margin-right: 15px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-top: 3px solid var(--eb-gray-dark);
  border-bottom: 3px solid var(--eb-gray-dark);
  background-image: url("../ikonice/munja.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
/* -----------------------------*/
/*                              */
/* 1.3. - MOB NAVIGACIJA        */
/*                              */
/* -----------------------------*/
.mob-navigacija {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2000;
  /* Manja prozirnost pozadine (prije: #000000cc = 80%) */
  background-color: rgba(0, 0, 0, 0.95);
  /* Zatvoreno: izvan ekrana s desne strane */
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.4s ease,
    visibility 0s linear 0.4s;
}
/* Otvoreno: klizi s desna na lijevo */
.mob-navigacija.is-open {
  transform: translateX(0);
  visibility: visible;
  transition:
    transform 0.4s ease,
    visibility 0s linear 0s;
}
/* Zabrana skrolanja stranice dok je izbornik otvoren */
body.nav-otvoren {
  overflow: hidden;
}
/* -----------------------------*/
/*                              */
/* 1.3.1. - MAIN CONTENT        */
/*                              */
/* -----------------------------*/
.mob-navigacija .main {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}
.mob-navigacija .main .akcije {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: right;
  padding: 30px 0;
}
/* -----------------------------*/
/*                              */
/* 1.3.2. - GUMB ZA ZATVARANJE  */
/*                              */
/* -----------------------------*/
.mob-navigacija .main .akcije .zatvori {
  width: 40px;
  margin-right: 15px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-top: 3px solid var(--eb-white);
  border-bottom: 3px solid var(--eb-white);
  background-image: url("../ikonice/close.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
/* -----------------------------*/
/*                              */
/* 1.3.3. - POPIS LINKOVA       */
/*                              */
/* -----------------------------*/
.mob-navigacija .main ul {
  display: flex;
  flex-direction: column;
  width: 90%;
  margin: 0 auto;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 25px;
}
/* -----------------------------*/
/*                              */
/* 1.3.3.1. - LINKOVI           */
/*                              */
/* -----------------------------*/
.mob-navigacija .main ul a {
  font-size: 1.1rem;
  padding: 10px;
  color: var(--eb-white);
  text-decoration: none;
  border-radius: 5px;
  background-color: var(--eb-orange-soft);
  width: 100%;
  text-align: center;
  border: 1px solid var(--eb-orange);
}
/* -----------------------------*/
/* FOOTER:                      */
/* -----------------------------*/
footer {
  width: 100%;
  background-color: var(--eb-black);
  display: flex;
  flex-direction: column;
}
/* -----------------------------*/
/* 2.1. NASLOV:                 */
/* -----------------------------*/
footer .naslov {
  width: 100%;
  margin: 0 auto;
  padding: 50px;
  text-align: center;
}
/* -----------------------------*/
/* 2.1.1. TEKST 1               */
/* -----------------------------*/
footer .naslov h2 {
  font-size: 1.5rem;
  color: var(--eb-white);
  text-transform: uppercase;
  letter-spacing: 2px;
}
/* -----------------------------*/
/* 2.2. LINKOVI:                */
/* -----------------------------*/
footer ul {
  width: 95%;
  margin: 0 auto;
  margin-top: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 25px;
  gap: 15px;
  align-items: center;
  justify-content: center;
  border-top: 2px solid var(--eb-gray-dark);
  border-bottom: 2px solid var(--eb-gray-dark);
}
/* -----------------------------*/
/* 2.2.1. TEKST 2:              */
/* -----------------------------*/
footer ul a {
  font-size: 1rem;
  padding: 5px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--eb-gray-light);
  transition: 0.25s ease-in-out;
  font-weight: 600;
}
footer ul a:hover {
  color: var(--eb-orange);
}
/* -----------------------------*/
/* 2.3. KONTAKTI:               */
/* -----------------------------*/
footer .kontakti {
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 50px;
}
/* -----------------------------*/
/* 2.3.1. TEKS 3:               */
/* -----------------------------*/
footer .kontakti a {
  font-size: 0.875rem;
  padding: 5px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--eb-gray-light);
  transition: 0.25s ease-in-out;
  font-weight: 600;
  align-items: center;
  display: flex;
}
footer .kontakti a img {
  width: 30px;
  height: 30px;
  margin-right: 5px;
}
footer .kontakti a:hover {
  color: var(--eb-orange);
}
/* -----------------------------*/
/* 2.4. PRAVA PRIDRZANA:        */
/* -----------------------------*/
footer .prava {
  width: 100%;
  background-color: var(--eb-gray-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
}
/* -----------------------------*/
/* 2.4.1. TEKST 4:              */
/* -----------------------------*/
footer .prava span {
  font-size: 0.875rem;
  text-align: center;
  padding: 5px;
  color: var(--eb-gray-light);
}
footer .prava span a {
  text-decoration: none;
  color: var(--eb-white);
}

@media (max-width: 900px) {
  nav ul {
    display: none;
  }
  .hamburger-ikona {
    display: flex;
  }
}
/* Iznad 900px mobilna navigacija se nikad ne prikazuje */
@media (min-width: 901px) {
  .mob-navigacija {
    display: none;
  }
}
@media (max-width: 768px) {
  /* -----------------------------*/
  /* NAVBAR:                      */
  /* -----------------------------*/
  nav .main {
    justify-content: space-between;
  }
  nav hr {
    height: 3px;
  }
  /* -----------------------------*/
  /* SEKCIJA 1.1.                 */
  /*                              */
  /* LOGO I NAZIV FIRME           */
  /* -----------------------------*/
  nav .logo img {
    width: 80px;
    height: 80px;
  }
  nav .logo h3 {
    font-size: 1rem;
  }
  /* -----------------------------*/
  /* SEKCIJA 1.2.                 */
  /*                              */
  /* LINKOVI STRANICE             */
  /* -----------------------------*/
  /* -----------------------------*/
  /*                              */
  /* 1.2.2. - GUMB ZA OTVARANJE   */
  /*                              */
  /* -----------------------------*/
  .hamburger-ikona {
    width: 35px;
    height: 35px;
    border-top: 2px solid var(--eb-gray-dark);
    border-bottom: 2px solid var(--eb-gray-dark);
  }
  /* -----------------------------*/
  /*                              */
  /* 1.3.1. - MAIN CONTENT        */
  /*                              */
  /* -----------------------------*/
  .mob-navigacija .main {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .mob-navigacija .main .akcije {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 20px 0;
  }
  /* -----------------------------*/
  /*                              */
  /* 1.3.2. - GUMB ZA ZATVARANJE  */
  /*                              */
  /* -----------------------------*/
  .mob-navigacija .main .akcije .zatvori {
    width: 35px;
    margin-right: 15px;
    height: 35px;
    border-top: 2px solid var(--eb-white);
    border-bottom: 2px solid var(--eb-white);
  }
  /* -----------------------------*/
  /*                              */
  /* 1.3.3. - POPIS LINKOVA       */
  /*                              */
  /* -----------------------------*/
  .mob-navigacija .main ul {
    gap: 20px;
  }
  /* -----------------------------*/
  /*                              */
  /* 1.3.3.1. - LINKOVI           */
  /*                              */
  /* -----------------------------*/
  .mob-navigacija .main ul a {
    font-size: 1rem;
    padding: 10px;
  }
  /* -----------------------------*/
  /* 2.1. NASLOV:                 */
  /* -----------------------------*/
  footer .naslov {
    padding: 35px;
  }
  /* -----------------------------*/
  /* 2.1.1. TEKST 1               */
  /* -----------------------------*/
  footer .naslov h2 {
    font-size: 1.25rem;
  }
  /* -----------------------------*/
  /* 2.2. LINKOVI:                */
  /* -----------------------------*/
  footer ul {
    flex-direction: row;
    padding: 20px;
    gap: 15px;
  }
  /* -----------------------------*/
  /* 2.2.1. TEKST 2:              */
  /* -----------------------------*/
  footer ul a {
    font-size: 0.875rem;
  }
  /* -----------------------------*/
  /* 2.3. KONTAKTI:               */
  /* -----------------------------*/
  footer .kontakti {
    gap: 15px;
    padding: 35px;
    flex-direction: column;
    align-items: start;
  }
  /* -----------------------------*/
  /* 2.3.1. TEKS 3:               */
  /* -----------------------------*/
  footer .kontakti a {
    font-size: 0.75rem;
  }
  footer .kontakti a img {
    width: 25px;
    height: 25px;
    margin-right: 5px;
  }
  footer .kontakti a:hover {
    color: var(--eb-orange);
  }
  /* -----------------------------*/
  /* 2.4. PRAVA PRIDRZANA:        */
  /* -----------------------------*/
  footer .prava {
    padding: 20px;
  }
  /* -----------------------------*/
  /* 2.4.1. TEKST 4:              */
  /* -----------------------------*/
  footer .prava span {
    font-size: 0.75rem;
  }
}
@media (max-width: 500px) {
  /* -----------------------------*/
  /* NAVBAR:                      */
  /* -----------------------------*/
  nav .main {
    justify-content: space-between;
  }
  nav hr {
    height: 3px;
  }
  /* -----------------------------*/
  /* SEKCIJA 1.1.                 */
  /*                              */
  /* LOGO I NAZIV FIRME           */
  /* -----------------------------*/
  nav .logo img {
    width: 60px;
    height: 60px;
  }
  nav .logo h3 {
    font-size: 0.875rem;
    padding-right: 10px;
  }
  /* -----------------------------*/
  /* SEKCIJA 1.2.                 */
  /*                              */
  /* LINKOVI STRANICE             */
  /* -----------------------------*/
  /* -----------------------------*/
  /*                              */
  /* 1.2.2. - GUMB ZA OTVARANJE   */
  /*                              */
  /* -----------------------------*/
  .hamburger-ikona {
    width: 30px;
    height: 30px;
    border-top: 2px solid var(--eb-gray-dark);
    border-bottom: 2px solid var(--eb-gray-dark);
  }
  /* -----------------------------*/
  /*                              */
  /* 1.3.1. - MAIN CONTENT        */
  /*                              */
  /* -----------------------------*/
  .mob-navigacija .main {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .mob-navigacija .main .akcije {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 15px 0;
  }
  /* -----------------------------*/
  /*                              */
  /* 1.3.2. - GUMB ZA ZATVARANJE  */
  /*                              */
  /* -----------------------------*/
  .mob-navigacija .main .akcije .zatvori {
    width: 30px;
    height: 30px;
  }
  /* -----------------------------*/
  /*                              */
  /* 1.3.3. - POPIS LINKOVA       */
  /*                              */
  /* -----------------------------*/
  .mob-navigacija .main ul {
    gap: 15px;
  }
  /* -----------------------------*/
  /*                              */
  /* 1.3.3.1. - LINKOVI           */
  /*                              */
  /* -----------------------------*/
  .mob-navigacija .main ul a {
    font-size: 0.875rem;
    padding: 10px;
  }
  /* -----------------------------*/
  /* 2.1. NASLOV:                 */
  /* -----------------------------*/
  footer .naslov {
    padding: 20px;
  }
  /* -----------------------------*/
  /* 2.1.1. TEKST 1               */
  /* -----------------------------*/
  footer .naslov h2 {
    font-size: 1.1rem;
  }
  /* -----------------------------*/
  /* 2.2. LINKOVI:                */
  /* -----------------------------*/
  footer ul {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }
  /* -----------------------------*/
  /* 2.2.1. TEKST 2:              */
  /* -----------------------------*/
  footer ul a {
    font-size: 0.75rem;
  }
  /* -----------------------------*/
  /* 2.3. KONTAKTI:               */
  /* -----------------------------*/
  footer .kontakti {
    gap: 15px;
    padding: 25px;
    flex-direction: column;
    align-items: start;
  }
  /* -----------------------------*/
  /* 2.3.1. TEKS 3:               */
  /* -----------------------------*/
  footer .kontakti a {
    font-size: 0.75rem;
  }
  footer .kontakti a img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
  }
  /* -----------------------------*/
  /* 2.4. PRAVA PRIDRZANA:        */
  /* -----------------------------*/
  footer .prava {
    padding: 15px;
  }
}
