/* =================================================================
   header-fix.css
   Override Proty template's "scroll-to-reveal" sticky header behaviour.
   The template hides .header-sticky (opacity:0, translateY(-120%),
   visibility:hidden) and reveals it only via .is-sticky on scroll.
   We want the header always visible as primary navigation.
   ================================================================= */

/* 1) Make .header-sticky always visible */
.header.header-sticky {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
  transition: none !important;

  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* Ensure all children visible too (Proty sometimes animates children) */
.header.header-sticky * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* 2) Body padding for fixed header offset */
body { padding-top: 92px; }
html, body { height: auto; }
#wrapper { overflow: visible; }

/* 3) Inner layout */
.header.header-sticky .header-inner {
  padding: 10px 0;
  display: block;
}
.header.header-sticky .tf-container,
.header.header-sticky .tf-container.xl,
.header.header-sticky .row,
.header.header-sticky .col-12 {
  display: block;
}
.header.header-sticky .header-inner-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* 4) Logo */
.header.header-sticky .header-logo,
.header.header-sticky .site-logo {
  display: flex;
  align-items: center;
}
.header.header-sticky .logo_header {
  height: 60px;
  max-height: 60px;
  width: auto;
  display: block;
  filter: none;
  mix-blend-mode: normal;
}

/* 5) Desktop navigation */
.header.header-sticky .main-menu {
  display: block;
  position: static;
  height: auto;
  width: auto;
  overflow: visible;
}
.header.header-sticky .main-menu .navigation {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header.header-sticky .main-menu .navigation > li { display: block; }
.header.header-sticky .main-menu .navigation a {
  display: inline-block;
  padding: 10px 6px;
  font-weight: 900;
  color: rgba(0,0,0,.78);
  text-decoration: none;
  white-space: nowrap;
}
.header.header-sticky .main-menu .navigation a:hover { color: #ff6400; }

/* 6) Right side (language flags + mobile button) */
.header.header-sticky .header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header.header-sticky .mobile-button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 7) Language switcher */
.gqLang--header {
  display: flex;
  align-items: center;
  gap: 6px;
}
.gqLang__a {
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .12s ease, background .12s ease;
}
.gqLang__a:hover {
  transform: translateY(-1px);
  background: rgba(0,0,0,.04);
}
.gqLang__a.is-active {
  background: rgba(0,53,128,.10);
  border-color: rgba(0,53,128,.18);
}

/* 8) Mobile: hide desktop menu, show burger */
@media (max-width: 992px) {
  .header.header-sticky .main-menu { display: none !important; }
}

/* 9) Mobile offcanvas overrides */
.gqLogoMobile {
  height: 48px;
  width: auto;
}
.gqMobileMenu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gqMobileMenu .menu-item {
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.gqMobileMenu .item-menu-mobile {
  display: block;
  padding: 14px 16px;
  font-weight: 700;
  color: rgba(0,0,0,.8);
  text-decoration: none;
}
.gqMobileMenu .item-menu-mobile:hover {
  background: rgba(0,0,0,.03);
}
.gqMobileMenu .current-menu-item .item-menu-mobile {
  color: #ff6400;
  font-weight: 900;
}
.gqMobileLangs .gqLang__a {
  font-size: 18px;
}
