/* Stilovi za zaglavlje */
header {
    background-color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pomaže u razdvajanju logotipa i desne slike */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .logo img {
    height: 50px;
    width: auto;
}

header .right-image img {
    height: 50px; /* Možete promeniti visinu prema potrebama */
    width: auto;
}


/* Reset osnovnih stilova */
body, h1, h4, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
  }
  
/* Stil za telo stranice */
body {
    display: flex; /* Fleksibilni raspored */
    flex-direction: column; /* Vertikalno poravnavanje */
    min-height: 100vh; /* Visina tela stranice jednaka visini prozora */
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
  }
  
/* Galerija */
.gallery {
    display: grid; /* Postavljamo grid raspored */
    grid-template-columns: repeat(4, 1fr); /* 4 kolone, svaka zauzima četvrtinu širine */
    gap: 20px; /* Razmak između elemenata */
    padding: 20px;
}

.gallery-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 2px solid #ddd; /* Diskretan border oko slike i teksta */
    border-radius: 10px; /* Zaobljeni uglovi */
    padding: 10px; /* Prostor između border-a i sadržaja */
    background-color: #fff; /* Pozadina oko slike i teksta */
}

.gallery-item img {
    width: 100%; /* Slika ispunjava prostor stavke */
    border-radius: 10px;
    height: auto;
}

.gallery-item p {
    margin-top: 10px;
    font-size: 1rem;
    color: #555;
}

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



.highlight {
    display: inline-block;
    padding: 5px;
    border: 1px solid #000000; /* Plava boja okvira */
    border-radius: 5px;
    background-color: #f1f4f6; /* Svetloplava pozadina */
    color: #3d3c3c; /* Boja teksta */
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.highlight:hover {
    background-color: #262627; /* Tamnoplava pozadina na hover */
    color: #ffffff; /* Bela boja teksta na hover */
}





/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    margin-top: auto; /* Guranje footer-a na dno stranice */
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }
#footer-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px 0;
}
footer h4 {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0.5px;
    margin: 5px 0;
  }
  
footer p {
    margin: 5px 0;
    /* font-size: 15px; */
    letter-spacing: 0.3px;
  }
  
footer a {
    color: gray;
    text-decoration: none;
    letter-spacing: 0;
  }

footer a:hover {
    text-decoration: underline;
  }

footer .contact-info,
footer .address {
    margin-bottom: 15px;
    
  }
  footer .address p {
    font-size: 15px;
  }
.copyright {
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    color: gray;
}

@media (min-width: 768px) {
    footer {
      text-align: left;
    }
   
     #footer-info {
        display: flex;
        flex-direction: row;
     }
     .copyright {
        margin-top: 0;
    }
}

@media (max-width: 768px) {

    header {
        flex-direction: column; /* Postavlja slike jednu ispod druge */
        align-items: center; /* Poravnava slike centrirano */
    }
    
    header .logo img, header .right-image img {
        margin-bottom: 10px; /* Dodaje razmak između slika */
    }

    .gallery {
        grid-template-columns: 1fr; /* Jedna kolona na manjim ekranima */
    }
    
    .gallery-item:nth-child(2n) {
        background-color: rgba(0, 0, 0, 0.1); /* Blago zatamnjena pozadina */
    }
    
    .gallery-item:nth-child(2n):hover {
        background-color: rgba(0, 0, 0, 0.2); /* Pojačano zatamnjena pozadina pri hoveru */
    }



}
#icon {
    position: relative;
    margin: 20px 0;
    display: flex;

}
#phone1 {
    z-index: 100;
    width: 90px;
    height: 90px;
    background-color: rgb(62, 123, 184);
    background-color: rgb(62, 123, 184);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 50%;
}
#phone2 {
    width: 90px;
    height: 90px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50%;
    z-index: 2;
    background-color: rgb(62, 123, 184);
    opacity: 0.3;
    animation: phone2 3s ease-in-out infinite normal both;
    display: flex;
}
#phone3 {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    background-color: rgb(62, 123, 184);
    opacity: 0.2;
    animation: phone3 2s ease-in-out infinite normal both;
    display: flex;
}

@keyframes phone2 {
    0% {
        transform: scale(1.1, 1.1);
    }
    
    100% {
        transform: scale(1.8, 1.8);
    }
}
@keyframes phone3 {
    0% {
        transform: scale(1.1, 1.1);
    }
    
    100% {
        transform: scale(1.8, 1.8);
    }
}