/* Uključi Roboto Light */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

* {
  margin: 0;
  padding: 0;
  outline: none;
  text-decoration: none;
  overflow-x: hidden;
  box-sizing: border-box;
  color: var(--grey);
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-style: italic;
}

/* Colors */
:root {
  --blue: rgb(44, 62, 80);
  --gold: rgb(243, 156, 18);
  --golda: rgb(243, 156, 18, 0.86);
  --white: rgb(242, 242, 242);
  --grey: rgb(127, 140, 141);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
}

img {
  cursor: pointer;
}

/* Prekrij celu stranicu */
#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white; /* ili možeš neku providnost: rgba(255, 255, 255, 0.9) */
  z-index: 9999; /* jako visoko da sve prekrije */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spinner animacija */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid lightgray;
  border-top: 5px solid var(--golda);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Rotacija */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Blokiraj skrol dok je loader aktivan */
body.loading {
  overflow: hidden;
}


/* NavBar */
.fix {
  position: relative;
  width: 100%;
  height: 86px;
  z-index: 99;
}

.top {
  position: fixed;
  width: 100%;
  height: 86px;
  background-color: var(--blue);
  overflow-y: hidden;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

#languageSelect {
  background-color: transparent;
  width: 64px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 24px;
  padding: 8px;
  font-size: 14px;
  border-radius: 4px;
  border: none;
  transition: 0.3s;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

#languageSelect:hover {
  cursor: pointer;
}

#languageSelect:focus {
  transition: 0.3s;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

/*NE KORISTI SE ZA SAD*/
h1 {
  text-align: left;
  margin-left: 24px;
  margin-right: 24px;
  font-size: 3rem;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
}

/*NE KORISTI SE ZA SAD*/
@media (max-width: 800px) {
  h1 {
    font-size: 2.4rem;
  }
}

.top img {
  position: absolute;
  width: 124px;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.top i {
  right: 24px;
  font-size: 1.6rem;
  color: var(--white);
  float: right;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s;
}

@media (max-width: 800px) {
  .top i {
    font-size: 1.4rem;
  }
}

.top i:hover {
  transition: 0.3s;
  color: var(--gold);
  cursor: pointer;
}

/* Text */
.welcomeInfo {
  text-align: center;
  font-size: 2rem;
  margin-top: 86px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .welcomeInfo {
    font-size: 1.2rem;
    margin-top: 48px;
    margin-left: 16px;
    margin-right: 16px;
  }
}

.welcome {
  font-size: 3rem;
  color: black;
}

@media (max-width: 800px) {
  .welcome {
    font-size: 2rem;
    margin-left: 16px;
    margin-right: 16px;
  }
}

/* Glyph, by Harry Roberts */
hr {
  overflow: visible;
  /* For IE */
  padding: 0;
  border: none;
  border-top: medium double #333;
  color: var(--blue);
  text-align: center;
  margin-top: 86px;
  width: 86%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 800px) {
  hr {
    margin-top: 48px;
  }
}

hr:after {
  font-style: normal;
  content: "🛎️";
  display: inline-block;
  position: relative;
  font-size: 36px;
  top: -36px;
  padding: 0;
  background-color: var(--white);
}

/* Stilizacija za select */
#table-number {
  position: relative;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: auto;
  height: 50px;
  /* Visina selecta */
  border-radius: 10px;
  /* Zaobljeni uglovi */
  border: none;
  padding: 0 20px;
  /* Padding unutar selecta */
  font-size: 1rem;
  /* Veličina fonta */
  appearance: none;
  /* Uklanjanje standardnog stila */
  background-color: white;
  /* Pozadina */
  cursor: pointer;
  /* Kursor kada se pređe mišem */
  transition: 0.3s;
  /* Efekat prelaza */
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

/* Stil prilikom fokusa */
#table-number:focus {
  outline: none;
  /* Uklanjanje standardnog fokusa */
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

/* Ovaj deo može biti potreban da se potpuno sakriju klizači */
select::-webkit-scrollbar {
  display: none;
  /* Sakriva scroll bar u WebKit (Chrome, Safari) */
}

/* Stil za placeholder */
option:disabled {
  display: none;
  /* Sakrij disabled opcije */
}

/* Buttons */
.service {
  display: flex;
  justify-content: center;
  height: 124px;
}

@media (max-width: 800px) {
  .service {
    flex-direction: column;
    /* Dugmad će biti jedno ispod drugog na užim ekranima */
    align-items: center;
    /* Centriraj dugmad vertikalno */
    height: 200px;
  }

  .service button {
    margin-bottom: 16px !important;
    width: 280px !important;
    height: 36px !important;
  }
}

button {
  width: 360px !important;
  height: 64px !important;
  margin: 0 36px !important;
  transition: 0.3s;
  font-size: 1rem;
}

/* Buttons NEW style */
.button-86 {
  font-weight: bold !important;
  all: unset;
  max-width: 360px;
  width: 80% !important;
  height: 30px;
  font-size: 16px;
  background: transparent;
  border: none;
  position: relative;
  color: var(--white);
  cursor: pointer;
  z-index: 1;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-86::after,
.button-86::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -99999;
  transition: all .4s;
}

.button-86::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background: var(--golda);
  border-radius: 10px;
}

.button-86::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  background: #ffffff15;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 50px;
}

.button-86:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
}

.button-86:hover::after {
  border-radius: 10px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

.button-86:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}

/* Call waiter window */
.waiter-win {
  position: fixed;
  width: 100%;
  height: 80%;
  background-color: var(--white);
  z-index: 99;
  bottom: 0;
  box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
  transform: translateY(100%); /* Početno stanje - van ekrana */
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.show {
  transform: translateY(0); /* Pomeri na vidljivo */
  opacity: 1;
  visibility: visible;
}

.fa-xmark {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--blue);
  transition: 0.3s;
  font-size: 2.4rem;
}

@media (max-width: 800px) {
  .fa-xmark {
    top: 16px;
    right: 16px;
    font-size: 1.6rem;
  }
}

.fa-xmark:hover {
  color: var(--gold);
  transition: 0.3s;
  cursor: pointer;
  transform: scale(1.1);
}

.cwh2 {
  text-align: center;
  margin-left: 16px;
  margin-top: 48px;
  margin-right: 16px;
  font-size: 2.4rem;
  position: relative;
  color: black;
}

@media (max-width: 800px) {
  .cwh2 {
    font-size: 2rem;
  }
}

.waiter-win p {
  text-align: center;
  line-height: 1.6;
  font-size: 1.6rem;
  margin-top: 24px;
  margin-left: 16px;
  margin-right: 16px;
}

@media (max-width: 800px) {
  .waiter-win p {
    font-size: 1.2rem;
  }
}

.hrmargin {
  margin-top: 24px;
}

.waiter-win textarea {
  display: block;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  resize: none;
  max-width: 480px;
  width: 80%;
  height: 20%;
  padding: 16px;
  line-height: 1.6;
  font-size: 1rem;
  box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
  border: none;
}

.waiter-win button {
  display: block !important;
  margin: auto !important;
  margin-top: 48px !important;
  margin-bottom: 48px !important;
  text-align: center;
}

@media (max-width: 800px) {
  .waiter-win button {
    width: 240px !important;
    height: 36px !important;
  }
}

/* Call request bill */
.request-bill-win {
  position: fixed;
  width: 100%;
  height: 80%;
  background-color: var(--white);
  z-index: 99;
  bottom: 0;
  box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
  transform: translateY(100%); /* Početno stanje - van ekrana */
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.rbh2 {
  text-align: center;
  margin-left: 16px;
  margin-top: 48px;
  margin-right: 16px;
  font-size: 2.4rem;
  position: relative;
  color: black;
}

@media (max-width: 800px) {
  .rbh2 {
    font-size: 2rem;
  }
}

.request-bill-win p {
  text-align: center;
  line-height: 1.6;
  font-size: 1.6rem;
  margin-top: 24px;
  margin-left: 16px;
  margin-right: 16px;
}

@media (max-width: 800px) {
  .request-bill-win p {
    font-size: 1.2rem;
  }
}

/* Skrivamo originalni radio dugme */
input[type="radio"] {
  display: none;
}

/* Stilizacija za label (radio dugme) */
label {
  display: inline-block;
  background-color: #f0f0f0;
  border: 2px solid #ccc;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  position: relative;
  cursor: pointer;
  margin-right: 10px;
}

/* Unutrašnji krug radio dugmeta kada je selektovan */
label:after {
  content: "";
  width: 12px;
  height: 12px;
  background-color: var(--gold);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Povezivanje labela i radio dugmeta */
input[type="radio"]:checked+label:after {
  opacity: 1;
}

.centered {
  display: flex;
  justify-content: center;
}

/* Stilizacija za tekst pored dugmića */
.radio-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 24px;
  margin-right: 24px;
}

.radio-text {
  margin-left: 5px;
  width: 72px;
}

.request-bill-win button {
  display: block !important;
  margin: auto !important;
  margin-top: 48px !important;
  margin-bottom: 48px !important;
  text-align: center;
}

@media (max-width: 800px) {
  .request-bill-win button {
    width: 240px !important;
    height: 36px !important;
  }
}

.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1001;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.close {
  position: absolute;
  top: 5px;
  right: 16px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  transition: color 0.2s ease;
  padding: 3px;
}

.close:hover {
  color: #ff8080;
}

.counter {
  color: var(--grey) !important;
}
