body {
  font-family: 'Manrope', sans-serif;
}
*{
  margin: 0;
  padding: 0;
}
 nav a:hover {
  background-color: #0663c7;        
 transform: scale(1.2);
 } 

.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

#logo {
  width: 250px;
  height: auto;
}


ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #0A2A43;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

li {
  float: none;
  font-size: 20px;
}

li a,
.dropbtn {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #0A2A43;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  padding: 12px 16px;
  display: block;
  text-align: left;
}

.dropdown:hover .dropdown-content {
  display: block;
}

#naslov{ 
  color: white;
  text-align: center;
  font-size: 35px;
}
#naslov1{ 
  color: white;
  text-align: center;
  font-size: 25px;
}
#header{
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(primer1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


#glaven_paragraf {
  max-width: 800px;
  text-align: center;
  font-size: 1.3rem;
  padding: 20px;
  color: white;
}

 .container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 30px;
  padding: 20px;
}

    @media (max-width: 768px) {
      .container {
        grid-template-columns: 1fr;
      }
    }

    .card {
      background: white;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.08);
      margin-bottom: 15px;
      transition: 0.3s ease;
    }

    .card:hover {
      transform: translateY(-5px);
    }

    .featured {
      border-left: 6px solid #ef4444;
      background: #fff5f5;
    }

    .badge {
      display: inline-block;
      padding: 5px 10px;
      background: red;
      color: white;
      border-radius: 20px;
      font-size: 12px;
      margin-bottom: 10px;
    }

    #news-list {
      max-height: 500px;
      overflow-y: auto;
      padding-right: 5px;
    }

    button {
      width: 100%;
      padding: 10px;
      border: none;
      border-radius: 10px;
      background: #1e293b;
      color: white;
      cursor: pointer;
      margin-top: 10px;
      transition: 0.3s;
    }

    button:hover {
      background: #334155;
    }

    .date {
      font-size: 14px;
      color: gray;
      margin-bottom: 10px;
    }

.footer {
  background: linear-gradient(135deg, #0A2A43, #071c2c);
  color: white;
  padding-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding: 0 40px 60px 40px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  margin-bottom: 20px;
  font-size: 20px;
  border-bottom: 2px solid #1e5b85;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-column p {
  line-height: 1.7;
  color: #d6d6d6;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #d6d6d6;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #4aa3df;
  padding-left: 5px;
}

.footer-column a {
  color: #4aa3df;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-column iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 10px;
  margin-top: 15px;
}

.footer-bottom {
  background-color: #05141f;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-column h3 {
    border: none;
  }

}


/* ================= ANIMACII =================== */

/* ===== Navbar underline animation ===== */
nav ul li a {
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 0%;
  height: 2px;
  background: #4aa3df;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}


/* ===== Hero Stagger Reveal ===== */
#naslov,
#glaven_paragraf {
  opacity: 0;
  transform: translateY(30px);
}

#naslov.show {
  animation: fadeUp 1s ease forwards;
}

#glaven_paragraf.show {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.4s;
}

#upcoming-list .card {
  border-left: 6px solid #22c55e;
  background: #f0fdf4;
}


/* ===== Smooth fade-up секции ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}


/* ===== Card Premium Hover ===== */
.info-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.info-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}


/* ===== Button subtle glow ===== */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn:hover {
  box-shadow: 0 0 15px rgba(74,163,223,0.6);
  transform: translateY(-3px);
}


/* ===== Footer fade ===== */
.footer {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.footer.show {
  opacity: 1;
  transform: translateY(0);
}


/* ===== Keyframes ===== */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Dropdown mobile support ===== */
.dropdown.active .dropdown-content {
  display: block;
}
