* {
  box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #fff;
    color: #000;
    margin: 0;
    padding: 0;
    margin: auto;
  }

header div img {
  width: 220px;
  height: 49px;
  
  alt: "test";
}

.pozadina {
  background-image: url('img/main-vijci-u-pec.jpg'); 
  background-size: auto;
  background-position: top;
  background-repeat: no-repeat;
}

.zaglavlje {
  max-width: 1313px;
  margin: auto;
  background: #fff;
  padding: 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-slika{
  width: 220px;
  height: auto;
  display: block;
  margin-left: 2rem;
}
  

.main-nav {
  list-style: none;
  display: flex;
  gap: 1rem;
}
  
.main-nav li {
  position: relative;
}

.main-nav a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  display: inline-block; /* bitno za border-bottom */
  border-bottom: 3px solid transparent; /* da ne skače kad hover počne */
  transition: border-bottom 0.2s ease;
}

.main-nav a:hover {
  background: #ffffff;
  border-bottom: 3px solid #dd3232;
}

.main-nav a.active {
color: #dd3232;
border-bottom: 3px solid #dd3232;
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu {
  display: none;
  position: absolute;
  background: #fff;
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%;
  left: 0;
}

.submenu li a {
  padding: 0.5rem 1rem;
  display: block;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1313px;
  width: 100%;
  margin: 0 auto;
}

.providno {
  max-width: 1313px;
  width: 100%;
  height: 290px;
  background-color: transparent;
  border: 1px dotted black;
  padding: 1rem 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


.dve-kolone {
  display: flex;
  flex-wrap: wrap;
  background: #fff;   
  max-width: 1313px;    
  width: 100%;
  gap: 40px;               /* razmak između kolona */
  padding: 3rem 3rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.kolona {
  flex: 1 1 45%;           /* raste, skuplja se, početna širina ~45% */
  min-width: 300px;        /* koliko minimalno može da se suzi pre preloma */
  display: flex;
  flex-direction: column;
}

.kolona img {
  width: 100%;
  height: auto;
  display: block; /* uklanja prazninu ispod slike */
}

.kolona-kontakt {
flex: 1 1 30%;
min-width: 250px;
}

.content-wrapper {
  flex-grow: 1; /* zauzima sav prostor i gura sliku na dno */
}

  
/* Dodatno za manji ekran, ako hoćeš garantovano jedno ispod drugog */
@media (max-width: 768px) {
  .kolona {
    flex: 1 1 100%;        /* kolone postaju 100% širine, tj. jedna ispod druge */
  }
}

.side-bar {
  text-align: left;
}

div {
  background-color: white;
}

.flex-kontejner {
display: flex; /* Ovo je ključna linija! Ona postavlja decu jedno pored drugog. */
gap: 20px;     /* Opciono: dodaje razmak od 20 piksela između kolona. */
max-width: 1280px;
}

.mapa {
max-width: 1280px;
padding: 0 2rem;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
border-radius: 0px;
overflow: hidden;
}


footer {
  text-align: center;
  padding: 1rem;
  background: #f4f4f4;
}
