.site-header {
  background: #fff;
  width: 100%;
  box-shadow: 0 2px 12px 0 rgba(19,21,31,.07);
  border-bottom: 0;
  z-index: 100;
  position: relative;
}

.header-inner {
  margin: 0 auto;
  padding: 18px 30px 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 250px;
}

.custom-logo-link {
  width: 100%;
}
.custom-logo-link img {
  width: 250px !important;
  height: 100px !important;
  object-fit: contain;
}

.site-title {
  font-size: 1.52rem;
  font-weight: 700;
  color: #182750;
}

/* Desktop meni */
.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.menu-list {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-list li {
  position: relative;
}
.menu-list li a {
  text-decoration: none;
  color: #182750;
  font-size: 1.13rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color .18s;
}
.menu-list li a:hover,
.menu-list li.current-menu-item > a {
  color: #ff3951;
}
.menu-list li ul {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px #18275014;
  min-width: 180px;
  z-index: 10;
}
.menu-list li:hover > ul {
  display: block;
}
.menu-list li ul li a {
  padding: 12px 18px;
  display: block;
  font-size: 1.08rem;
  color: #182750;
  border-radius: 12px;
  white-space: nowrap;
}
.menu-list li ul li a:hover {
  background: #f6f7fa;
  color: #ff3951;
}
.header-cta {
  margin: 0 !important;
}

/* Hamburger dugme - krug, bijele linije, glow */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 56px;
  height: 56px;
  background: #ff3951;
  border-radius: 50%;
  border: none;
  box-shadow: 0 0 24px 0 #ff39515d;
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 12001;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.25s;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  transition: all 0.25s;
}
.hamburger:hover,
.hamburger:focus {
  box-shadow: 0 0 36px 0 #ff395185;
}

/* Overlay meni - fullscreen, blur, fade-in */
.mobile-overlay-menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(18px) saturate(180%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(.72,0,.28,1);
  z-index: 12000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mobile-overlay-menu.active {
  opacity: 1;
  pointer-events: all;
}

/* Meni lista u overlayu */
.mobile-overlay-nav {
  width: 100%;
  display: flex;
  justify-content: center;
}
.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: center;
}
.mobile-menu-list li a {
  font-size: 2.2rem;
  font-weight: 700;
  color: #23263b;
  text-decoration: none;
  transition: color 0.17s;
  letter-spacing: 1px;
}
.mobile-menu-list li a:hover {
  color: #ff3951;
}

/* Overlay close dugme (X) */
.mobile-overlay-close {
  background: none;
  border: none;
  font-size: 48px !important;
  color: #23263b !important;
  cursor: pointer;
  line-height: 1;
  padding: 0 10px;
  z-index: 9999;
  box-shadow: none;
  appearance: none;
  transition: background .13s;
  position: absolute;
  top: 36px;
  right: 36px;
}

.mobile-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90vw;
  max-width: 1500px;
  position: absolute;
  top: 0;
  left: 0;
  padding: 24px 28px 0 28px;
  min-height: 72px;
}

/* Responsive 1080px */
@media (max-width: 1080px) {
  .header-inner {
    padding: 14px 12px 10px 12px;
    gap: 16px;
    width: 90%;
  }
  .menu-list { gap: 22px; }
  .btn-primary.header-cta { padding: 12px 18px; font-size: 1rem;}
  .custom-logo-link img { width: 200px !important; height: 80px !important;}
}

/* Mobilni prikaz */
@media (max-width: 900px) {
  .main-nav, .header-cta { display: none !important; }
  .hamburger { display: flex; }
  .site-header {
    padding-bottom: 20px;
    padding-top: 20px;
  }
  .header-inner {
    padding-right: 72px; /* prostor za hamburger */
  }
}

/* FINE-TUNING for very small screens */
@media (max-width: 540px) {
  .site-branding { gap: 6px;}
  .custom-logo-link img { height: 60px !important; object-fit: contain;}
  .site-title { font-size: 1.05rem;}
  .header-inner { padding: 8px 2vw 6px 2vw;}
  .mobile-overlay-header { padding: 12px 18px 0 18px; }
}
@media (min-width: 1500px) {
  .container { width: 80%; }
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
