* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}
html {
    scroll-behavior: smooth;
}
body {
  background-color: rgb(255, 255, 255);
  width: 100%;
  margin: 0;
  padding: 0;
}

main {
  margin: 0;
  padding: 0;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease-in-out, padding 0.3s, transform 0.5s ease-in-out;
  font-weight: 400;
  z-index: 1000;
  border-bottom: rgb(27, 25, 25) solid 1px;
  background-color: #fff;

}

.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-image: url(poz.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero h1 {
  margin: 0;
  padding: 0;
  font-size: 46px;
}

.hero h1,
.hero p,
.hero .cta-btn {
  color: white;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

.hero p {
  font-size: 21px;
  animation-delay: 0.4s;
}

.hero .cta-btn {
  font-size: 20px;
  text-decoration: none;
  border: 1px solid rgb(94, 88, 88);
  animation-delay: 0.8s;
  padding: 16px;
  padding-top: 8px;
  padding-bottom: 8px;

}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}








header.transparent {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}

header.solid {
  background-color: #ffffff;
  color: black;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

header.hidden {
  transform: translateY(-100%);
}



.exp{
  font-size: 20px;
  margin: 0;
  padding: 0;
  margin-left: 26px;
}




/* Boja burger ikone u transparentnom headeru (početno stanje) */
header.transparent .burger-menu i {
  color: rgb(26, 6, 82);
  /* Bela ikonica */
}

/* Boja burger ikone u solidnom headeru (posle skrolovanja) */
header.solid .burger-menu i {
  color: rgb(26, 6, 82);
  /* Crna ikonica */
}

nav {
  display: flex;
  justify-content: space-between;
  width: 90%;

  align-items: center;
}

nav ul {
  display: flex;
  gap: 15px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav li {
  font-size: 18px;
}

nav a {
  text-decoration: none;
  color: inherit;
  font-weight: 400;
  transition: color 0.3s;
}

nav a:hover {
  color: gray;
}

.burger-menu {

  display: none;
  cursor: pointer;
  font-size: 2rem;
  color: rgb(26, 6, 82);
}

@media (max-width: 760px) {
  .gallery .gallery-titl {
    width: 70%;
    font-size: 16px;
  }

  .gallery .gallery-titl h3 {
    font-size: 8vw;

  }

  /* Stil za navbar kad je zatvoren */
  /* Opšti stil za navbar kada je zatvoren */
  #navbar-links {
    position: fixed;
    top: -300px;
    left: 0;
    width: 100%;

    background: #007BFF;
    background: linear-gradient(180deg, rgba(0, 123, 255, 1) 0%, rgba(0, 123, 255, 1) 35%, rgba(0, 123, 255, 0.68) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    /* Razmak od vrha ekrana */
    padding-bottom: 0px;
    transition: top 0.5s ease-in-out;
    /* Glatka animacija za otvaranje */
    z-index: 9999;
  }

  /* Kada je meni otvoren */
  #navbar-links.open {
    top: 0;
    transition: top 0.5s ease-in-out;
    /* Glatka animacija za zatvaranje */
  }

  /* Stilizovanje liste sa stavkama menija */
  #navbar-links ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    /* Proširen razmak između stavki */
    margin: 0;
    padding: 0;
    animation: slideDown 0.6s ease-out;
    /* Efekat klizanja */
  }

  #navbar-links ul li {
    width: 100%;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    border-bottom: 0.3px solid rgba(255, 255, 255, 0.274);
  }


  #navbar-links ul li a {

    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  /* Hover efekat na linkovima */
  #navbar-links ul li a:hover {

    color: #7e7e7e;
  }

  /* Efekat klizanja stavki menija */
  @keyframes slideDown {
    0% {
      transform: translateY(-30px);
      opacity: 0;
    }

    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }


  .burger-menu {
    display: block;
    cursor: pointer;

    z-index: 10000;
  }

  .burger-menu i {
    font-size: 2rem;
    color: rgb(26, 6, 82);
    transition: all 0.3s ease;
  }


  #burger-menu.open i {
    color: #f0a500;
  }

  header {
    padding-top: 0;
    padding-bottom: 0;
  }
}

main {
  margin: 0;
  padding: 0;
}

.usluge-container {
  padding: 60px 20px;
  text-align: center;
}

.naslov-usluge {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #222;
}

.usluge {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.card {
  
   background-color: #e2e2e2bd;
  
  box-shadow: 0 8px 12px rgba(12, 12, 12, 0.315);
  border-radius: 10px;
  padding: 30px 20px;
  width: 48%;
  /* fiksirano da stane 2 */

  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.card:hover {
  transform: translateY(-5px);
}

.ikon {
  font-size: 64px;
  color: #007bff;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.card p {
  font-size: 15px;
  color: #555;
}




.logo img {
  margin-top: 2px;
  height: 100px;
}








.cenovnik-container {
  padding: 120px 20px;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.cenovnik-container h2 {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 32px;

  color: #222;
}

.tabela-cenovnik {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.red {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.usluga {
  font-weight: 600;
  font-size: 18px;
  color: #333;
}

.cena {
  font-size: 18px;
  color: #007bff;
}

.napomena {
  font-size: 14px;
  color: #777;
  margin-top: 30px;
}


.pre-posle {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.pre-posle h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 600;
}

.pre-posle-gallery {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.slika-kartica {
  flex: 1 1 300px;
  max-width: 400px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slika-kartica h3 {
  margin: 0;
  background-color: #333;
  color: #fff;
  padding: 10px 0;
  font-size: 1.2rem;
}

.slika-kartica img {
  width: 100%;
  height: auto;
  display: block;
}

.galerija {
  padding: 120px 20px;

  text-align: center;
}

.galerija h2 {
  font-size: 32px;
  margin-top: 30px;
  margin-bottom: 30px;

}

.galerija-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.galerija-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galerija-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}



.auto-kozmetika {
  padding: 120px 20px;
  background-color: #ffffff;
  text-align: center;
}

.auto-kozmetika h2 {
  font-size: 2em;
  margin-top: 30px;
  margin-bottom: 30px;
  color: #000000;
}

.kozmetika-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  justify-items: center;
}

.kartica {
  background-color: #e2e2e2bd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 12px rgba(12, 12, 12, 0.315);
  max-width: 250px;
  transition: transform 0.3s ease;
}

.kartica:hover {
  transform: translateY(-5px);
}

.kartica img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.kartica h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #222;
}

.kartica .cena {
  font-weight: bold;
  color: #007B5E;
}























.footer {
  background: #007BFF;
  background: linear-gradient(180deg, rgba(0, 123, 255, 1) 0%, rgba(0, 123, 255, 1) 35%, rgba(0, 123, 255, 0.68) 100%);
  color: #dcdcdc;
  padding: 60px 20px 30px;

}

.footer a {
  color: #e4e4e4;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-section h2,
.footer-section h3 {
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 32px
}

.footer-section p,
.footer-section li {
  margin-bottom: 10px;
  font-size: 18px;
  color: #e4e4e4;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.social-icons a {
  margin-right: 15px;
  font-size: 50px;
  color: #e4e4e4;
}

.social-icons a:hover {
  color: #007bff;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 22px;
  color: rgba(0, 0, 0, 0.884);
}







.telefon-navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.tel-link {
  font-size: 22px;
  color: #222;
  /* neutralna boja, izbegava plavu na Apple */
  text-decoration: none;
  font-weight: 600;

  -webkit-text-size-adjust: 100%;
  -webkit-user-select: none;
  user-select: none;
}

.tel-link i {

  color: #222;
}

/* SAKRIJ TELEFON na širim ekranima */
@media screen and (min-width: 760px) {
  .telefon-navbar {
    display: none;
  }
}


@media (max-width: 499px) {
  .kartica {
    max-width: 100%;
  }

}


@media (max-width: 810px) {
  .card {
    width: 100%;
  }

  .footer-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .footer-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;


  }

  .footer-section ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

  }

  .footer-opis {
    text-align: center;
  }

  .footer-mail,
  .footer-mobile {
    margin: 0;
  }
}


@media (max-width: 1024px) {

  .hero h1 {

    font-size: 4.8vw;
  }



  .hero p {
    font-size: 2.2vw;

  }

  .hero .cta-btn {
    font-size: 14px;


  }

}