/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #222;
  background: linear-gradient(135deg, #ffffff, #f3f7fb);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  backdrop-filter: blur(6px);
  background: linear-gradient(145deg, #f0f0f0a0, #cacaca86);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  box-shadow: 22px 22px 39px #b1b1b18a,
              -22px -22px 39px #ffffffb2;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  padding: 14px 20px;
}

/* Logo */
#logo img { 
  height: 6rem;
  display: block; 
}

/* Desktop nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  text-decoration: none;
  color: #262f41;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
}

.lang-btn {
  background: transparent;
  border: none;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 8px;
   font-family: 'Nunito', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.lang-btn:hover, .nav-link:hover { background: rgba(0,0,0,0.04) }

/* Hover linija efekt desktop */
@media (min-width: 769px) {
  .nav-link,
  .lang-btn {
    position: relative;
    overflow: hidden;
  }

  .nav-link::after,
  .lang-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(80deg, #193864, #911a24);
    transition: width 0.3s ease;
    border-radius: 2px;
  }

  .nav-link:hover::after,
  .lang-btn:hover::after {
    width: 100%;
  }

  .lang-btn:hover,
  .nav-link:hover {
    background: transparent;
  }
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.hamburger-box { width: 28px; height: 18px; display: inline-block; position: relative; }

.hamburger-inner {
  display: block;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: #262f41;
  box-shadow: 0 6px 0 #262f41, 0 -6px 0 #262f41;
  transition: transform .25s ease, box-shadow .25s ease;
}

.hamburger[aria-expanded="true"] .hamburger-inner {
  transform: rotate(45deg);
  box-shadow: none;
}

/* ===== Mobile menu ===== */
.mobile-menu {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(180deg,#dad7d3,#e1e1e1);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  text-align: center;
  transition: background 0.4s ease;
}

.mobile-menu.open {
  background: linear-gradient(90deg, rgba(0,89,255,0.95) 0%, rgba(255,0,68,0.95) 100%);
}

.mobile-menu .mobile-link,
.mobile-menu .mobile-lang {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 8px;
  border-radius: 8px;
  text-decoration: none;
  color: #262f41;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
   font-family: 'Nunito', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.mobile-menu .mobile-link::after,
.mobile-menu .mobile-lang::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: #7373737c;
  opacity: 0.5;
}

.mobile-menu .mobile-link:hover,
.mobile-menu .mobile-lang:hover,
.mobile-menu .mobile-link:active,
.mobile-menu .mobile-lang:active {
  background: linear-gradient(135deg, #23487581 0%, #ce243562 100%);
  color: white !important;
  border-radius: 8px;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ===== Contact form ===== */
.contact-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* POZADINA */
  background-image: url("/contactBckg.jpg"); /* promeni ime slike */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 120px 16px 90px;
}
.contact-section {
  width: 100%;
  max-width: 700px;
  background: #fff;
  padding: 32px;
  border-radius: 5px;
 /* box-shadow: 0 10px 30px rgba(2,6,23,0.06);*/
  background: rgba(255, 255, 255, 0.283);
backdrop-filter: blur(4px);
margin-top: 40px;
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}
.contact-section h1 {
  text-align: center;
  color: #003366;
  margin-bottom: 10px;
  font-size: 2rem;
}

.contact-section p {
  text-align: center;
  color: #000000;
  margin-bottom: 22px;
}

.contact-form .form-group { margin-bottom: 18px; }

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #000000;
}

/* ===== Minimalistički inputi sa donjom linijom ===== */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid #262f41c2;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}



.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: #6e0f0f;
}

#contactSubtitle { text-align: justify; }

.submit-btn {
  width: 100%;
  background: #ab232ee5;
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

.submit-btn:hover {
  background: #224876;
  transform: translateY(-2px);
}

/* ===== Footer ===== */
footer {
  background: #e0e0e0;
  padding: 24px 20px;
  border-top: 1px solid rgba(0,0,0,0.04);
 background: linear-gradient(145deg, #cacaca, #f0f0f0);

}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo img { height: 110px; width: 15rem; }

.footer-text {
  color: #000;
  line-height: 1.6;
  text-align: justify;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-inner { padding: 12px 16px; }
  .main-nav { display: none; }
  .hamburger { display: block; }
  .mobile-menu { display: block; }

  .contact-section { padding: 22px; }

  .footer-content { flex-direction: column; text-align: center; }
  .footer-text { text-align: center; }
}
#formMessage {
      margin-top: 10px;
      font-weight: bold;
      transition: opacity 0.4s ease;
      opacity: 0;
    }
    #formMessage.show {
      opacity: 1;
    }