/* Opšte stilizacije */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.navbar{
  background-color: #333;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
 
}
.navbar .logo{
  height: 80px;
  
}
.navbar img{
  height: 50px;
}
.navbar a{
  color: #ffffff;

}
@media (max-width: 576px) {
  .navbar-nav {
    gap: 1px;
    font-size: 19px;
    flex-direction: row !important;
  }

  .navbar-nav .nav-link img {
    max-height: 45px;
  }
}

@media (max-width: 429px) {
  .navbar-nav {
    gap: 5px;
    font-size: 18px;
    flex-direction: row !important;
    flex-wrap: nowrap;
  }

  .navbar-nav .nav-link img {
    max-height: 40px;
  }
}

@media (max-width: 392px) {
  .navbar-nav {
    gap: 8px;
    font-size: 18px;
    flex-direction: row !important;
    flex-wrap: nowrap;
  }

  .navbar-nav .nav-link img {
    max-height: 35px;
  }
}
/* Hero sekcija za desktop */
.hero-content {
  background-image: url("slike/banner.png"); /* Statični banner */
  background-size: cover;
  background-position: center;
  position: relative;
  width: 100%;
  height: 65vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.text-container {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 5px;
  color: #ffffff;
  text-align: center;
  text-shadow: 1px 1px 2px black;
  
  font-family: "Moul", serif;
  font-weight: 400;
}

.text-container .gtc {
  font-size: 29px;
}

.text-container .p1 {
  font-size: 19px;
}


/* Slideshow za talefon */
.slideshow {
  display: none; /* Sakrij slideshow na većim ekranima */
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
  z-index: 1;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(10px) brightness(0.7); 
  transform: scale(1.2); /* Početni efekat povećanja */
  opacity: 0; /* Početno skrivena slika */
  transition: opacity 2s ease-in-out, transform 6s ease-in-out; /* Glatki prelaz */
}

.slide.active {
  filter: blur(0); /* Uklanja blur kad je aktivna slika */
  transform: scale(1); /* Vraća na originalnu veličinu */
  opacity: 1; /* Prikazuje sliku */
}

/* Dodavanje "fade-out" efekta za prethodnu sliku */
.slide.previous {
  opacity: 0; /* Nestaje lagano */
  transform: scale(1.1); /* Blago povećanje dok nestaje */
  transition: opacity 2s ease-in-out, transform 3s ease-in-out;
}

/* Stil za cijeli slideshow */
.slideshow {
  display: block;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-content {
    display: none; /* Sakrij banner */
  }

  .slideshow {
    display: block; /* Prikaži slideshow */
  }
}

@media (min-width: 769px) {
  .hero-content {
    display: flex; /* Prikaži banner */
  }

  .slideshow {
    display: none; /* Sakrij slideshow */
  }
}
/* Hero tekst */
.hero-text {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  top: 50%;
  left: 50%;
  text-shadow: 1px 1px 2px black;
  padding: 15px;
  font-family: "Moul", serif;
  font-weight: 400;
  transform: translate(-50%, -50%);
  /*Centrirajtekst*/text-align: center;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  /*Dodajsjenkuzaboljuvidljivost*/z-index: 2;
  /*Postavitekstiznadslajdova*/
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  animation: fadeIn 3s ease-in-out;
  -webkit-animation: fadeIn 3s ease-in-out;
}

.hero-text p {
  font-size: 1.2rem;
  margin-top: 5px;
  animation: fadeIn 3s ease-in-out ;
  /*Kašnjenjezaanimacijuopisa*/
  -webkit-animation: fadeIn 3s ease-in-out ;
}

/* Animacija za tekst */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px); /* Tekst ulazi odozdo */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* Završna pozicija */
  }
}

/* Slideshow stil (dodatno za tekst) */
.slideshow {
  position: relative; /* Tekst će biti pozicioniran unutar slideshow-a */
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slide .hero-text {
  display: none; /* Sakrij tekst za neaktivne slajdove */
}

.slide.active .hero-text {
  display: block; /* Prikazuj tekst samo na aktivnom slajdu */
}


/* Stilizacija za meni */
.nav-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.nav-images .nav-item {
  width: 75px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-images .nav-item img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  animation: pulse 2s infinite;
}

.nav-images .nav-item p {
  margin: 5px 0 0;
  font-size: 13px;
  color: #333;
  font-family: "Moul", serif;
}
@media (max-width:390px) {
  .nav-images .nav-item p{
    font-size: 11px;
  }
}

.nav-images .nav-item:hover {
  text-decoration: underline;
  color: #ff9700;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

#guide {
  font-family: "Arial", sans-serif;
 
  font-size: 16px;

  color: #fff;

  background-color: #ff9800;
 
  padding: 10px 20px;

  border-radius: 5px;
  
  text-align: center;

  margin: 20px auto;

  width: fit-content;
  /*Širinaprilagođenatekstu*/
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /*Suptilnasjena*/
  animation: fadeOut 10s forwards;
  /* Animacija nestajanja nakon 5 sekundi */
  -webkit-animation: fadeOut 10s forwards;
}
@keyframes fadeOut {
  0% {
    opacity: 1; /* Vidljiv na početku */
  }
  80% {
    opacity: 1; /* Ostaje vidljiv veći dio vremena */
  }
  100% {
    opacity: 0; /* Nestaje */
    visibility: hidden; /* Potpuno se skriva */
  }
}
/* Meni kontejner */
.menu-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; 
  margin-top: 20px;
}

.menu-item {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px 20px;
  border-radius: 8px;
  width: calc(100% - 40px); /* Za manje uređaje */
  max-width: 400px; /* Maksimalna širina */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  display: none;
}

.menu-item.show {
  display: flex; /* Prikaz stavki */
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu-item a {
  font-size: 18px;
  color: #333;
  font-weight: 400;
  text-decoration: none;
  font-family: "Moul", serif;
  text-align: center;
}

.menu-item a:hover {
  color: #ff9700;
}

.menu-item a:hover::after {
  content: ""; 
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%; 
  height: 2px;
  background-color: #ff9700; 
}

.menu-item span {
  color: #ff9700;
  font-weight: bold;
  font-size: 18px;
}
.menu-category {
  width: 100%;
  text-align: center;
  margin: 20px 0 10px;
}

.highlight {
  background-color: #fffae6; 
  border: 2px solid #ff9700; 
  border-radius: 10px; 
  padding: 15px 20px;
  box-shadow: 0 4px 10px rgba(255, 151, 0, 0.3); 
  transform: scale(1.02); 
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Glatke tranzicije */
}

.highlight:hover {
  transform: scale(1.05); /* Još veće povećanje pri hoveru */
  box-shadow: 0 6px 15px rgba(255, 151, 0, 0.5); /* Naglašena sjena */
}

.highlight a {
  
  color: #d35400; 
  text-decoration: none;
}

.highlight a:hover {
  color: #e67e22; /* Svjetlija narandžasta pri hoveru */
}

.highlight span {
  font-size: 20px; /* Malo veći tekst za cijenu */
  color: green; /* Crvena boja za cijenu */
  font-weight: bold; /* Naglašen tekst */
}
.menu-icon {
  width: auto; /* Širina ikonice */
  height: 50px; /* Visina ikonice */
  margin-right: 8px; /* Razmak između ikonice i teksta */
  vertical-align: middle; /* Poravnanje ikonice sa tekstom */
}
.isotope-item {
  opacity: 0; /* Nevidljiv na početku */
  transform: scale(0.8); /* Manji element */
  transition: transform 0.3s ease, opacity 0.3s ease; /* Glatka tranzicija */
}

.isotope-item.show {
  opacity: 1; /* Vidljivo */
  transform: scale(1); /* Originalna veličina */
}

.content {
  height: 70vh;
}


/* Footer */
.footer-kebabhub {

  margin-top: 10px;
  background-color: #000000;
  background-size: cover;
  color: #ffffff;
  padding: 40px 0;
  font-size: 15px;
  backdrop-filter: blur(20px);
}

.footer-kebabhub h3 {
  color: #ff7e5f;
  margin-bottom: 15px;
}

.footer-kebabhub p {
  line-height: 1.8;
}

.halal-cert-img {
  max-width: 55px;
  margin-bottom: 10px;
}

.social-icons {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
}

.social-icons li a img {
  width: 40px;
  transition: transform 0.3s ease;
}

.social-icons li a:hover img {
  transform: scale(1.2);
}

.credit {
  color: #ff7e5f;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.credit:hover {
  border-bottom-color: #ff7e5f;
}

@media (max-width: 768px) {
  .footer-kebabhub .row {
    flex-direction: column;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}
