/* Base Styles */
body, html {
  font-family: Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6em;
  color: #656565;
  background-color: white;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* Shared Text Alignment */
.text-center {
  text-align: center;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10000;
  padding: 10px 5%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.main-logo img {
  max-width: 200px;
  height: auto;
  padding-left: 10px;
}

.navbar-buttons {
  display: flex;
  gap: 10px;
  padding-right: 10px;
}

.navbar-buttons.active {
  display: flex;
}

.button {
  background-color: white;
  border: none;
  color: black;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button:hover {
  background-color: #9AD7F7;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button.kontakt {
  background-color: #9AD7F7;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  color: black;
}

/* Hero Section */
.bgimg {
  background-image: url("../img/main.jpg");
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  text-align: center;
}

.caption-text {
  font-size: clamp(2rem, 6vw, 8rem);
  line-height: 1.2;
  color: white;
}

.brojtel {
  font-size: clamp(2rem, 6vw, 5rem);
}


/* Services Section */
.usluge {
  text-align: center;
  font-size: 3rem;
  color: black;
  margin-top: 100px;
}

.cont-usluge {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 5%;
}

.usluge-column {
  flex: 1 1 300px;
  max-width: 500px;
  box-sizing: border-box;
}

.usluge-list {
  list-style-type: none;
  padding: 0;
}

.usluge-text {
  font-size: 1.5rem;
  padding: 10px 0;
  display: flex;
  align-items: center;
  color:black;
}

.usluge-text::before {
  content: url('../img/hkig.png');
  display: inline-block;
  margin-right: 10px;
}

.separator {
  width: 2px;
  background-color: white;
}

/* Contact Section */
.kontakt-txt {
  text-align: center;
  font-size: 3rem;
  margin-top: 80px;
  color: black;
}

.iskustvo{
  text-align: center;
  font-size: 2rem;
  margin-top: 20px;
  color: black;
  border-radius:20px;
  background-color:#FFD700;
  color:white;
  width:350px;
  padding:25px;
}

.cont-kontakt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 5%;
  margin: 0 auto;
  max-width: 1200px;
  background-color: white;
  box-sizing: border-box;
}

.karta {
  flex: 1 1 400px;
  max-width: 600px;
  min-width: 300px;
  height: 400px;
  border: none;
}

.kontakt-tablica {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1 1 300px;
  max-width: 500px;
}

.kontakt-info {
  font-size: 1.5rem;
  margin: 5px 0;
  color: black;
}

/* Footer */
.footer {
  background-color: black;
  color: white;
  text-align: center;
  padding: 20px;
}

.footer-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-info {
  font-size: 0.9rem;
  margin: 5px 0;
}

/* Scroll Offset */
#usluge,
#kontakt {
  scroll-margin-top: 100px;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .caption-text {
    font-size: 8vw;
  }

  .usluge {
    font-size: 2.5rem;
  }

  .cont-usluge {
    flex-direction: column;
    align-items: center;
  }

  .usluge-column {
    width: 100%;
    max-width: 600px;
  }

  .separator {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .navbar-buttons {
    flex-direction: column;
    display: none;
    position: absolute;
    top: 60px;
    right: 5%;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 200px;
    padding: 10px;
    z-index: 9999;
    gap: 5px;
  }

  .button {
    width: 100%;
    font-size: 1rem;
  }

  .navbar {
    flex-wrap: wrap;
  }
}

.icon {
  height: 1.4em;
  width: auto;
  vertical-align: middle;
  margin-right: 10px;
}