/* Sticky Header animáció */
.site-header {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease;
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

html,
body {
  overscroll-behavior: none;
}

/*
.site-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(10, 20, 45, 0.12);
  animation: slideDownHeader 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.site-header.is-sticky .inside-header {
  padding-top: 10px;
  padding-bottom: 10px;
  transition: padding 0.3s ease;
}

.site-header.is-sticky .header-image {
  width: auto;
  max-height: 44px;
  transition: max-height 0.3s ease;
}
*/
/* WordPress Admin Bar korrekció */
.admin-bar .site-header.is-sticky {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header.is-sticky {
    top: 46px;
  }
}

@keyframes slideDownHeader {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/*
header .inside-header {
  padding-top: 0;
  padding-bottom: 0;
}
*/
html {
  scroll-behavior: smooth;
}

/* Alapértelmezett mobil toggle elrejtése */
.main-navigation .menu-toggle {
  display: none;
}

.main-navigation .inside-navigation {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.custom-hamburger-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.custom-talk-link {
  color: #777E81 !important;
  font-family: Inter;
  font-size: 16px !important;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

/* Hamburger: két csík */
.custom-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.custom-hamburger:hover,
.custom-hamburger:focus {
  background: transparent !important;
}

.custom-hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #222;
  transition: transform .3s ease;
}

.custom-hamburger[aria-expanded="true"] .custom-hamburger-line:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.custom-hamburger[aria-expanded="true"] .custom-hamburger-line:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Overlay */
.custom-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.custom-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.custom-overlay-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
}

.custom-overlay-list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.custom-overlay-list li {
  margin: 20px 0;
}

.custom-overlay-list a {
  color: #fff;
  font-size: 32px;
  text-decoration: none;
}

body.custom-overlay-active {
  overflow: hidden;
}

.pin-spacer {
  background: #383838;
}

.wpcf7 input[type="submit"]:hover {
  background-color: transparent !important;
}

/* Sima fókusz állapot */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  background: transparent !important;
  color: #FFF !important;
}

/* Automatikus kitöltés (autofill) felülbírálása */
.wpcf7 input:-webkit-autofill,
.wpcf7 input:-webkit-autofill:hover,
.wpcf7 input:-webkit-autofill:focus,
.wpcf7 input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px transparent inset !important;
  background-color: transparent !important;
  -webkit-text-fill-color: inherit !important;
  transition: background-color 5000s ease-in-out 0s;
  color: #FFF !important;
}

.most-footer__contacts a:hover {
  color: #e22b39 !important;
}