header {
  background:#f0f0f0;
  color:#2c3e50;
  padding:20px;
  display:flex;
  align-items:center;
  justify-content:space-between; /* logo levo, naslov centriran */
}

header .logo {
  flex:0 0 auto; /* logo ostaje levo */
}

header .logo img {
  height:80px;
}

header .title {
  flex:1;              /* zauzima preostali prostor */
  text-align:center;   /* centriran naslov */
}

header .title h1 {
  margin:0;
  font-size:2rem;
}

/* Osnovni stil tela */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #2c3e50;
}

/* Header */
header {
  background: #f0f0f0;
  color: #2c3e50;
  padding: 20px;
  text-align: center;
}
header h1 {
  font-size: 2rem;
  font-weight: 700;
}

/* Navigacija */
nav {
  background: #34495e;
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
nav ul li a {
  display: block;
  padding: 14px 20px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
}
nav ul li:hover {
  background: #1abc9c;
}

/* Sekcije */
section {
  padding: 20px;
}
section h2, section h3 {
  margin-bottom: 10px;
  color: #2c3e50;
}
section p {
  margin-bottom: 10px;
}

/* Tabele */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
}
table th, table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}
table th {
  background: #f0f0f0;
  font-weight: 600;
}
table tr:nth-child(even) {
  background: #f9f9f9;
}

/* Liste */
ul {
  margin-left: 20px;
}
li {
  margin-bottom: 8px;
}

/* Footer */
footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}
footer p {
  margin: 5px 0;
}
footer a {
  color: #1abc9c;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Responsive dizajn */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }
  nav ul li a {
    text-align: center;
    border-top: 1px solid #2c3e50;
  }
  header h1 {
    font-size: 1.5rem;
  }
}
