       @font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

    @font-face {
  font-family: 'Montserrat-Bold';
  src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

:root {
  --card-bg: #ffffff;
  --card-placeholder-bg: #E0E0E0;
  --text-color: #333333;
  --text-light: #666666;
  --accent-color: #212529;
  --star-color: #FFC107;
  --rating-text-color: #ffffff;
  --footer-icon-color: #ffffff;
            --font-family: 'Montserrat', sans-serif; /* <<< IZMENJENO: Postavljen Montserrat kao glavni font */
  --border-radius-large: 16px;
  --border-radius-medium: 12px;
  --border-radius-small: 8px;
  --border-radius-pill: 50px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  --shadow-light: 0 3px 10px rgba(0, 0, 0, 0.12);
  --main-padding-mobile: 1.5rem;
  --main-padding-desktop: 2rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family) !important;
  color: #ffffff;
  line-height: 1.6;
  padding-bottom: 90px;
  overflow-x: hidden;
  min-height: 100vh;
  background: #000000 !important;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem var(--main-padding-mobile);
  top: 0;
  z-index: 1000;
  color: #ffffff;
}

.logo img {
  height: 50px;
}

.main-nav {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  padding: 0 20px;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: #f0f0f0;
  white-space: nowrap;
}

.language-selector {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.language-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
}

#jeziciIcon {
  height: 30px;
}

.language-dropdown {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  background-color: rgba(20, 20, 20, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-medium);
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  min-width: 120px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1100;
}

.language-dropdown.active {
  display: block;
}

.language-dropdown li a {
  display: block;
  padding: 0.75rem 1.2rem;
  color: #f0f0f0;
  font-size: 0.95rem;
}

main.menu-page-main {
  padding: 1.5rem var(--main-padding-mobile);
  position: relative;
  z-index: 1;
}

.menu-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
  background-image: linear-gradient(180deg, #FEE9F2 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: 'Montserrat-Bold', sans-serif;
  letter-spacing: -1px;
}

.menu-container {
  display: grid;
  gap: 0.5rem;
}

.menu-category {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-medium);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-title {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
}

.arrow {
  transition: transform 0.4s ease-out;
  width: 1.2em;
  height: 1.2em;
  stroke-width: 2;
  flex-shrink: 0;
}

.arrow.open {
  transform: rotate(180deg);
}

.menu-item-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, margin-top 0.4s ease-out;
  margin-top: 0;
  padding: 0 0.5rem;
}

.menu-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-item:last-child {
  border-bottom: none;
}

.item-main-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.item-name {
  font-weight: 500;
  color: #f0f0f0;
}

.item-normativ {
  font-size: 0.8rem;
  color: #a0a0a0;
  margin-left: 5px;
}

.item-price {
  font-weight: 600;
  color: #eacea5;
  white-space: nowrap;
}

.item-options {
  font-size: 0.85rem;
  color: #b0b0b0;
  line-height: 1.4;
  padding-left: 0.2rem;
  margin-top: 0.4rem;
}

.menu-item .item-name[style*="italic"] {
  color: #a0a0a0;
}

/* === APP FOOTER (samo za mobilne uređaje) === */
.app-footer {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 5rem);
  max-width: 500px;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0;
  z-index: 1000;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(6px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: none; /* Podrazumevano sakriveno */
}

.app-footer a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease-in-out;
  gap: 8px;
  color: #fff;
}

.app-footer a img {
  height: 15px;
  flex-shrink: 0;
}

.app-footer a span {
  display: none;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.app-footer a.active {
    background-color: rgba(255, 255, 255, 1); /* Potpuno bela pozadina */
    color: #000; /* Crna boja za tekst i ikonicu */
    border-radius: 30px; /* Menjamo u oblik pilule */
    padding: 7px 16px; /* Povećavamo padding horizontalno */
}


.app-footer a.active img {
  filter: invert(1);
}

.app-footer a.active span {
  display: inline;
}

/* === MEDIA PRAVILA === */

/* Prikazuj futer SAMO na uređajima do 768px */
@media (max-width: 768px) {
  .app-footer {
    display: flex !important;
  }
}

/* Sakrij futer na širim ekranima */
@media (min-width: 769px) {
  .app-footer {
    display: none !important;
  }
}

/* Desktop podešavanja */
@media (min-width: 768px) {
  main.menu-page-main {
    max-width: 1200px;
    margin: 0 auto;
  }

  .main-nav {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}
