/* Reset i osnovni stilovi */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-display: swap !important;
  
}

body {
  font-family: 'Times New Roman', serif;
  background-color: #fffea5; /* Wolt-ova svetlo siva pozadina */
  color: #1F2A44; /* Tamno siva za tekst */
  line-height: 1.6;
  font-size: 1.1rem; 
  
}



.banner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.banner h1 {
  font-size: 36px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-title {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.banner-title:hover {
  color: #E5E7EB; /* Svetlo siva za hover efekat */
}

.banner p {
  font-size: 18px;
  font-weight: 400;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Glavni sadržaj */
main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 6px;
}

/* Naslovi */
h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1F2A44;
  margin-bottom: 24px;
  text-align: center;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1F2A44;
  
  text-align: center;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1F2A44;
  margin-bottom: 12px;
}

/* Kategorije sekcija */
.kategorije {
  text-align: center;
  padding: 24px 0;
}

.kategorije-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.kategorija-button {
  display: inline-block;
  
  background: #009DE0; /* Wolt plava */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 1.1rem;
  border: 2px solid #000000;
}

.kategorija-button:hover {
  background: #0081B8;
  transform: scale(1.05);
}

.cta-container {
  display: flex;
  justify-content: center;
}

/* CTA dugme */
.cta {
  display: inline-block;
  padding: 12px 24px;
  background: #FF5E62; /* Wolt koralna za CTA */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta:hover {
  background: #E64448;
  transform: scale(1.05);
}

/* LinkedIn link u footer-u */
.linkedin-link {
  color: #009DE0; /* Wolt plava */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.linkedin-link:hover {
  color: #0081B8; /* Tamnija plava za hover */
}

/* Choices.js stilovi */
.wolt-choices {
  max-width: 300px;
  margin-bottom: 16px;
}

.wolt-choices-inner {
  padding: 12px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
}

.wolt-choices-input {
  font-size: 16px;
  border: none;
  background: transparent;
}

.wolt-choices-input:focus {
  outline: none;
}

.wolt-choices-dropdown {
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.wolt-choices .choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: #009DE0;
  color: #FFFFFF;
}

/* Filter sekcija */
section {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: contents;
  
}

label {
  display: block;
  
  font-size: 1.2rem;
  color: #000000; /* Crna za labele */
  
}

select {
  width: 100%;
  max-width: 300px;
  padding: 6px;
  
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 16px;
  background: #FFFFFF;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #000000;
}

select:focus {
  outline: none;
  border-color: #009DE0;
  box-shadow: 0 0 0 3px rgba(0, 157, 224, 0.2);
}

/* Kartice za majstore i firme */
#majstori-lista {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 2px solid #000000;
}

.majstor-kartica {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 2px solid #000000;
  border-radius: 12px;
  
  margin-bottom: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.majstor-kartica:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}



.majstor-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.majstor-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1F2A44;
  margin-bottom: 8px;
  text-align: center;
}

.majstor-content p {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 12px;
}

.majstor-content a {
  display: inline-block;
  padding: 10px 20px;
  background: #009DE0; /* Wolt plava */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  text-align: center;
}

.majstor-content a:hover {
  background: #0081B8;
  transform: scale(1.05);
}


.majstor-profil {
  max-width: 800px;
  margin: 0 auto;
  
}

.back-button {
  display: inline-block;
  margin-bottom: 20px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.back-button:hover {
  text-decoration: underline;
}

.majstor-image {
  max-width: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.majstor-details {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 8px;
}

.majstor-details p {
  margin: 30px 0;
}

.majstor-details a {
  color: #007bff;
  text-decoration: none;
}

.majstor-details a:hover {
  text-decoration: underline;
}

.majstor-details h2 {
  font-size: 1.5rem;
  margin-top: 20px;
  color: #333;
}


/* Poruka kada nema rezultata */
#nema-rezultata {
  color: #6B7280;
  font-size: 16px;
  text-align: center;
  padding: 24px;
}

/* Footer */
footer {
  background: #FFFFFF;
  text-align: center;
  padding: 24px;
  border-top: 1px solid #E5E7EB;
  margin-top: 40px;
  
}

footer p {
  color: #000000;
  font-size: 14px;
}



/* Responsive dizajn */
@media (min-width: 768px) {
  section {
    padding-top: 1.3rem;
    flex-wrap: wrap;
    gap: 24px;
    
    
  }

  select {
    flex: 1;
    max-width: 220px;
  }

  #kartice-kontejner {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kartice po redu na desktopu */
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .banner h1 {
    font-size: 28px;
  }

  .banner p {
    font-size: 16px;
  }

  main {
    margin: 20px auto;
  }

  select {
    max-width: 100%;
  }

  .kategorije-buttons {
    flex-direction: column;
    align-items: center;
  }

  .wolt-choices {
    max-width: 100%;
  }

  #kartice-kontejner {
    display: flex;
    flex-direction: column; /* 1 kartica po redu na mobilnom */
    gap: 16px;
  }

  .majstor-kartica {
    display: flex;
    flex-direction: column;
    align-items: center;
  
  }
  .majstor-content a {
    max-width: 100%;
    text-align: center;
  }

  .majstor-image {
    width: 45%; /* Povećano za mobilni za bolju vidljivost */
    max-width: 60px;
    margin-right: 12px;
  }

  .majstor-profil {
  
  padding: 20px 5px;
}
}




.back-button {
  display: inline-block;
  margin-bottom: 20px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.back-button:hover {
  text-decoration: underline;
}

.majstor-image {
  max-width: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
}



.majstor-details p {
  margin: 30px 0;
}

.majstor-details a {
  color: #007bff;
  text-decoration: none;
}

.majstor-details a:hover {
  text-decoration: underline;
}

.majstor-details h2 {
  font-size: 1.5rem;
  margin-top: 20px;
  color: #333;
}

.additional-images {
  margin-top: 20px;
}

.additional-images h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery-image:hover {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #ccc;
}