body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #21F8F6;
}

a { 
  color: inherit;
  text-decoration: none; 
}

.map {
  width: 600px;
  height: 450px;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.mobile-number, .email, .social-icons {
  flex: 1;
  text-align: center;
}

.h1 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 30px;
  font-weight: bold;
  text-align: center;
  font-style: inherit;
  color: #54595F;
  font-size: 35px;
}

.bh1 {
  margin: 30px;
  font-weight: 620;
  text-align: center;
  font-style: inherit;
  color: #54595F;
  font-size: 30px;
}

.btext {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 620;
  margin: 40px;
  margin-left: 120px;
  letter-spacing: 1px;
  text-align: center;
  color: #54595F;
  font-size: 20px;
}


.kh1 {
  font-weight: bold;
  text-align: left;
  font-style: inherit;
  color: #fff;
  font-size: large;
}

.kh2 {
  font-weight: bold;
  text-align: left;
  font-style: inherit;
  color: #54595F;
  font-size: x-large;
}

.ktext {
  line-height: 22px;
  letter-spacing: 1px;
  text-align: left;
  font-style: inherit;
  color: #54595F;
  font-size: medium;
}

.text {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 620;
  margin: 60px;
  margin-left: 150px;
  letter-spacing: 1px;
  text-align: center;
  color: #54595F;
  font-size: medium;
}

.header-container {
  font-weight: bold;
  background-color: #06ACAA;
  color: #fff;
  display: flex;
  justify-content: space-around;
  padding: 10px 20px;
  text-decoration: none;
}

.header-image {
  width: 100%;
  height: auto;
  overflow: hidden;
}


.kheader-image img {
  width: 100%;
  height: 700px;
  border-bottom-left-radius: 50px; /* Radius za donji levi ugao */
  border-bottom-right-radius: 50px; /* Radius za donji desni ugao */
}

.main-header-menu .menu-item a {
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}

.home-page .main-header-menu .menu-item.active a {
    color: orange; /* Boja teksta za aktivnu stavku */
    background-color: transparent; /* Osjenčenje za aktivnu stavku */
}

.contact-page .main-header-menu .menu-item.active a {
    color: orange; /* Boja teksta za aktivnu stavku */
    background-color: transparent; /* Pozadinska boja za aktivnu stavku */
}

.gallery-page .main-header-menu .menu-item.active a {
    color: orange; /* Boja teksta za aktivnu stavku */
    background-color: transparent; /* Pozadinska boja za aktivnu stavku */
}

.onama-page .main-header-menu .menu-item.active a {
    color: orange; /* Boja teksta za aktivnu stavku */
    background-color: transparent; /* Pozadinska boja za aktivnu stavku */
}

.bunjani-page .main-header-menu .sub-menu .menu-item.active > a {
  color: orange; /* Boja teksta za aktivnu stavku */
  background-color: transparent; /* Pozadinska boja za aktivnu stavku */
}

.dekorativni-page .main-header-menu .sub-menu .menu-item.active > a {
  color: orange; /* Boja teksta za aktivnu stavku */
  background-color: transparent; /* Pozadinska boja za aktivnu stavku */
}

.mozaik-page .main-header-menu .sub-menu .menu-item.active > a {
  color: orange; /* Boja teksta za aktivnu stavku podmenija */
  background-color: transparent; /* Pozadinska boja za aktivnu stavku podmenija */
}

.stokovani-page .main-header-menu .sub-menu .menu-item.active > a {
  color: orange; /* Boja teksta za aktivnu stavku podmenija */
  background-color: transparent; /* Pozadinska boja za aktivnu stavku podmenija */
}

.spicani-page .main-header-menu .sub-menu .menu-item.active > a {
  color: orange; /* Boja teksta za aktivnu stavku podmenija */
  background-color: transparent; /* Pozadinska boja za aktivnu stavku podmenija */
}

.plavi-page .main-header-menu .sub-menu .menu-item.active > a {
  color: orange; /* Boja teksta za aktivnu stavku podmenija */
  background-color: transparent; /* Pozadinska boja za aktivnu stavku podmenija */
}

.ponarudzbi-page .main-header-menu .sub-menu .menu-item.active > a {
  color: orange; /* Boja teksta za aktivnu stavku podmenija */
  background-color: transparent; /* Pozadinska boja za aktivnu stavku podmenija */
}

.header-image img {
  width: 100%;
  height: auto;
}

.contact-info p {
  margin: 0;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 20px;
}

.contact-details {
  margin: 20px;
  display: flex;
  flex-direction: column;
  width: 50%;
}

.contact-details p {
  margin: 10px;
}

.container {
  width: 100%;
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

.social-icons img {
  width: 24px;
  margin-top: 10px;
  margin-left: 10px;
}

.logo-menu-container {
  display: flex;
  justify-content: space-around;
  margin-left: 0px;
  background-color: #06ACAA;
  padding: 10px 20px;
}

.logo img {
  width: 150px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

nav ul li {
  position: relative;
  margin-right: 100px;
}

nav ul li:last-child {
  margin-right: 0;
}

nav ul li a {
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}

nav ul li button {
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  padding: 10px 15px;
}

nav ul li ul {
  width: 180px;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  text-decoration-color: #a2dddc;
  list-style: none;
  padding: 0;
  margin: 10;
  z-index: 1000;
  white-space: nowrap;
}

nav ul li ul li a {
  padding: 10px 15px;
  background-color: transparent;
  display: block;
  color: #06ACAA;
}

nav ul li ul li a:hover {
  color: orange;
}

nav ul li:hover ul {
  display: block;
}

nav ul li:hover > a {
  background-color: transparent;
}

.image-links {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  padding: 20px;
}

.image-item {
  text-align: center;
  max-width: 200px;
}

.image-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.caption {
  margin-top: 10px;
  font-size: 1.2em;
  color: #54595F;
}

.caption_p {
  letter-spacing: 1px;
  text-align: center;
  margin-top: 10px;
  margin-left: 10px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: medium;
  padding: 5px 0;
  color: #54595F;
  font-weight: 620;
}

.footer {
  font-weight: bold;
  background-color: #06ACAA;
  color: #fff;
  display: flex;
  justify-content: space-around;
  padding: 10px 20px;
  text-decoration: none;
}

.main {
  display: flex;
  justify-content: space-between;
}

.textt {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 620;
  margin-top: 35px;
  margin-left: 150px;
  letter-spacing: 1px;
  text-align: center;
  color: #54595F;
  width: 42%;
  font-size: x-large;
}

.image {
  margin-top: 90px;
  width: 1000px;
  height: auto;
  max-width: 80%;
}

.oimage {
  margin: 30px;
  margin-top: 35px;
  margin-right: 100px;
  width: auto;
  height: auto;
  max-width: 100%;
}

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

.image-grid img {
  display: block;
  border-radius: 8px;
  width: 100%;
  height: 350px;
  object-fit: cover;
  touch-action: manipulation; /* Onemogući zoom prilikom dodira */
  -webkit-user-drag: none; /* Onemogući povlačenje slike */
  pointer-events: none; /* Omogući skrolovanje nakon klika */
}


.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
}

.modal-content {
  display: block;
  margin: auto;
  width: 80%;
  max-width: 800px;
  margin-top: 50px;
}

.modal-content img {
  width: 100%;
  height: auto;
}

.contact-info-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin: 20px;
}

.map {
  width: 38%;
  height: 100%;
}

.contact-details {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
}

.contact-item {
  margin: 10px 0;
}

.ktext a {
  text-decoration: none;
  color: inherit;
}

.container {
  background-color: transparent;
  width: 100%;
  max-width: 600px;
  margin-top: 30px;
  box-shadow: none;
}

form {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    margin-bottom: 25px; /* Dodaj razmak između polja */
}

.form-group input,
.form-group textarea,
.form-group label {
    color: #333; /* Promeni boju teksta */
}

.form-group label {
  display: none;
}

input, textarea {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

button {
  padding: 15px;
  background-color: #06ACAA;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

button:hover {
  background-color: #06aca9bd;
}

.response {
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
}

.response.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.response.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


@media screen and (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .header-image img {
    width: 100%;
    height: auto;
  }

  .kheader-image img {
    width: 100%;
    height: auto;
    border-bottom-left-radius: 10px; /* Radius za donji levi ugao */
    border-bottom-right-radius: 10px; /* Radius za donji desni ugao */
  }

  .logo-menu-container {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .text {
    margin: 10px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
  }

  .btext {
    margin: 10px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
  }

  .image-item {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .caption h3 {
    font-size: 1.2em;
  }

  .caption p {
    font-size: 0.9em;
  }

  .h1 {
    font-size: 30px;
  }

  .image-grid {
    grid-template-columns: 1fr;
    margin: 10px;
    grid-gap: 10px;
  }

  .textt {
    margin: 20px;
    font-size: 18px;
    width: 100%;
    text-align: center;
  }

  .image {
    width: 100%;
    max-width: 100%;
    margin: 20px;
  }

  .main {
    flex-direction: column;
    align-items: center;
    margin: 20px;
  }

  .textt {
    margin: 5px 0;
    font-size: 18px;
  }

  .h11 {
    font-size: x-large;
  }

  .oimage {
    margin: 5px 0;
  }

  .image {
    margin: 10px 0;
    width: 100%;
    height: auto;
  }

  .logo {
    display: none;
  }
  
  .contact-info-container {
    flex-direction: column;
    align-items: center;
}

.map {
    width: 100%;
    margin-bottom: 10px;
}

.contact-details {
    width: 90%;
    align-items: center;
    margin: 20px;
}

.contact-row {
    flex-direction: column;
    align-items: center;
}

.contact-item {
    width: 100%;
    text-align: center;
}

.container {
    width: 95%;
    margin-top: 20px;
    padding: 0 20px;
}
}

@media (min-width: 768px) {
  .image-item {
    max-width: 300px;
  }

}
