/* ================================================
   GLOBAL STILOVI – ANIMIRANI GRADIENT POZADINA
================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: white;
  background: linear-gradient(-45deg, #001b44, #022c6e, #004080, #00214a);
  background-size: 400% 400%;
  animation: gradientMove 18s ease infinite;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* animacija */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 45px;
}

.logo span {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

.navbar {
  position: relative;
  
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.dropbtn {
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s ease;
}

.dropbtn:hover {
  color: #b6c9ff;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 10px;
  min-width: 250px;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  margin-top: 10px;
  animation: fadeIn 0.25s ease;
  
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-content.show {
  display: flex;
}

.dropdown-content a {
  display: block;
  padding: 0.8rem 1.2rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: white;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(25, 30, 43, 0.843);
    backdrop-filter: blur(20px);
    text-align: center;
    padding: 1.5rem 0;
    gap: 1rem;
    min-width: 200px;
  }

  .nav-links.active {
    display: flex;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    display: none;
  }

  .dropdown-content.show {
    display: flex;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
} 
/* ================================================
   SEKCIJA UPRAVA – KARTICE SA BLUR EFEKTOM
================================================ */
.uprava {
  text-align: center;
  padding: 80px 40px;
}

.uprava h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.uprava .card {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 40px 30px;
  margin: 20px;
  width: 300px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
  
}

.uprava .card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.uprava .card img {
  
  height: 280px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
  background-color: #e8ebf3;
}

.uprava .card h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.uprava .card hr {
  width: 50%;
  margin: 10px auto;
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.uprava .card h3 {
  font-weight: 400;
  font-size: 1rem;
}

/* ================================================
   SEKCIJA РЕЧ ДЕКАНА
================================================ */
.rec {
  text-align: center;
  max-width: 1000px;
  margin: 60px auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 50px 40px;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.rec h2 {
  margin-bottom: 25px;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
}

.rec p {
  line-height: 1.7;
  font-size: 1.05rem;
  color: #e8ebf3;
  margin-bottom: 25px;
}

.rec h3 {
  margin-top: 15px;
  font-weight: 500;
  font-size: 1.2rem;
}

/* ================================================
   FOOTER
================================================ */
footer {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 50px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 80px;
}

footer h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

footer h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

footer ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

footer p {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ================================================
   RESPONSIVE
================================================ */

/* TABLET */
@media (max-width: 1024px) {
  header {
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 40px;
  }

  ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .uprava {
    padding: 60px 20px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  #ime {
    font-size: 1.1rem;
  }

  ul li a {
    font-size: 0.9rem;
  }

  .uprava .card {
    width: 85%;
    margin: 15px auto;
    padding: 30px 20px;
  }

  .rec {
    padding: 40px 25px;
    width: 90%;
  }

  .rec p {
    font-size: 0.95rem;
  }

  footer h2 {
    font-size: 1.3rem;
  }

  footer h3 {
    font-size: 1rem;
  }

  footer ul {
    font-size: 0.9rem;
  }
}
