* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

#page {
  display: flex;
  flex-direction: column;
}

header {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    flex-shrink: 0;
    z-index: 1001;
}

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

.nav-container {
    position: relative;
}

.nav-container nav ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.nav-container nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.nav-container nav ul li a:hover {
    color: #025d0b;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    z-index: 1001;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-container {
    position: absolute;
    top: 100%;
    right: 10px;
    width: 250px;
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    opacity: 0;
    padding: 0;
    z-index: 999;
  }

  .nav-container.active {
    max-height: 500px;
    opacity: 1;
  }

  .nav-container nav ul {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    padding: 20px;
  }

  .nav-container nav ul li {
    width: 100%;
    text-align: right;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .nav-container nav ul li:last-child {
    border-bottom: none;
  }

  .nav-container nav ul li a {
    color: #333;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .nav-container nav ul li a:hover {
    background-color: #e0f2f1;
    color: #025d0b;
  }
}


main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

main h1 {
     font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  text-align: center;
  color: #1a3e72;
  margin-bottom: 10px;
}

.opis-naslov {
    font-family: 'Playfair Display', serif;
  text-align: center;
  font-style: italic;
  font-size: clamp(14px, 1.6vw, 18px);
  color: #4a6fa5; 
  margin: 10px 0 40px 0;
}

.sekcija {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
  background-color: #f2f9ff;
  padding: 30px;
  border-radius: 12px;
}

.sekcija.obrnut {
  flex-direction: row-reverse;
}

.slika img {
  width: 100%;
  max-width: 450px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.tekst {
  flex: 1;
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .sekcija,
  .sekcija.obrnut {
    flex-direction: column;
    text-align: center;
  }

  .slika img {
    max-width: 100%;
    height: auto;
  }

  .tekst {
    font-size: 17px;
  }

}

footer {
    background-color: #f2f9ff;
    color: #333;
    padding: 40px 20px 20px;
    font-family: Arial, sans-serif;
    border-top: 2px solid #0288d1;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-left, .footer-middle, .footer-right, .footer-sestrinska {
    flex: 1;
    min-width: 250px;
}

.footer-left h3 {
    color: #025d0b;
    margin-bottom: 10px;
}

.footer-middle h4,
.footer-right h4,
.footer-sestrinska h4 {
    margin-bottom: 12px;
    color: #0288d1;
}

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

.footer-middle ul li {
    margin-bottom: 8px;
}

.footer-middle ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-middle ul li a:hover {
    color: #025d0b;
}

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

.footer-sestrinska a:hover {
    color: #025d0b;
}

.footer-sestrinska p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #777;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left, .footer-middle, .footer-right, .footer-sestrinska {
        margin-bottom: 20px;
    }
}
