/*nav{
  position: fixed;    
  top: 0;              
  left: 0;
  width: 100%;         
  z-index: 1000;    
}
*/
body {
  font-family: 'Manrope', sans-serif;
}
*{
  margin: 0;
  padding: 0;
}
 nav a:hover {
  background-color: #0663c7;        
 transform: scale(1.2);
 } 


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;
}

#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;
}



.contact-direct {
  background: #f4f6f9;
  padding: 60px;
  border-radius: 12px;
  text-align: center;
}

.contact-direct h2 {
  margin-bottom: 20px;
}

.contact-direct p {
  margin-bottom: 30px;
  color: #555;
}

.contact-btn {
  display: inline-block;
  margin: 10px;
  padding: 14px 30px;
  background: #1c2e4a;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #0f1c2e;
}

.contact-btn.secondary {
  background: #ffffff;
  color: #1c2e4a;
  border: 2px solid #1c2e4a;
}

.contact-btn.secondary:hover {
  background: #1c2e4a;
  color: white;
}



/* ================= 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;
}


/* ===== 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;
}