/**
 * Aydıntaş Vinç: mobile navigation experience.
 * The desktop navigation is deliberately untouched.
 */
.aydintas-mobile-menu-actions {
  display: none;
}

.aydintas-mobile-menu-branding {
  display: none;
}

.aydintas-mobile-language-bar {
  display: none;
}

@media screen and (max-width: 1200px) {
  #pxl-header-mobile .aydintas-mobile-language-bar,
  #pxl-header-default > .aydintas-mobile-language-bar {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    box-sizing: border-box;
    background: #000;
  }

  .aydintas-mobile-language-bar .secginpro-language-selector {
    max-width: 100%;
    gap: clamp(6px, 1.8vw, 9px);
    color: #fff;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: clamp(13px, 4.2vw, 16px);
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.1px;
  }

  .aydintas-mobile-language-bar .secginpro-language-selector__items {
    gap: clamp(8px, 2.7vw, 12px);
  }

  .aydintas-mobile-language-bar .secginpro-language-selector__item {
    min-height: 48px;
    gap: 3px;
    padding: 0 1px;
    line-height: 18px;
  }

  .aydintas-mobile-language-bar .secginpro-language-selector__item > span:not(.secginpro-language-selector__flag) {
    height: 18px;
    line-height: 18px;
  }

  .aydintas-mobile-language-bar .secginpro-language-selector__flag {
    width: clamp(18px, 5.4vw, 22px);
    height: clamp(18px, 5.4vw, 22px);
    flex-basis: clamp(18px, 5.4vw, 22px);
  }

  /* Keep the compact header logo aligned with the overlay logo scale. */
  #pxl-header-mobile .pxl-header-mobile-default .pxl-header-branding a {
    display: inline-flex;
    align-items: center;
  }

  #pxl-header-mobile .pxl-header-mobile-default .pxl-header-branding img {
    display: block;
    width: min(205px, 52vw);
    max-width: 100%;
    height: auto;
    max-height: 54px;
  }

  body.aydintas-mobile-menu-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  #pxl-header-mobile #pxl-nav-mobile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 6px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
    font: inherit;
    line-height: 1;
    cursor: pointer;
  }

  #pxl-header-mobile #pxl-nav-mobile:focus-visible {
    outline: 2px solid #f8b81b;
    outline-offset: 5px;
  }

  #pxl-header-mobile #pxl-nav-mobile .pxl-nav-mobile-button {
    display: flex;
    width: 25px;
    height: 19px;
    flex-direction: column;
    justify-content: space-between;
  }

  #pxl-header-mobile #pxl-nav-mobile .pxl-icon-line,
  #pxl-header-mobile #pxl-nav-mobile .pxl-icon-line::before,
  #pxl-header-mobile #pxl-nav-mobile .pxl-icon-line::after {
    background-color: #f8b81b;
  }

  #pxl-header-mobile .aydintas-mobile-menu-label {
    color: inherit;
    font-family: "Barlow Semi Condensed", "Exo 2", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
  }

  #pxl-header-mobile .pxl-header-menu-backdrop {
    display: none !important;
  }

  #pxl-header-mobile .pxl-header-menu {
    position: fixed !important;
    z-index: 10001;
    inset: 0;
    display: flex;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-transform: scale(1.015);
    transform: scale(1.015);
    -webkit-transition: opacity 0.32s ease, visibility 0s linear 0.32s, -webkit-transform 0.32s ease;
    transition: opacity 0.32s ease, visibility 0s linear 0.32s, transform 0.32s ease;
  }

  #pxl-header-mobile .pxl-header-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: opacity 0.32s ease, visibility 0s linear 0s, -webkit-transform 0.32s ease;
    transition: opacity 0.32s ease, visibility 0s linear 0s, transform 0.32s ease;
  }

  #pxl-header-mobile .pxl-header-menu-scroll {
    display: grid;
    grid-template-rows: 100px minmax(0, 1fr) auto;
    width: 100%;
    height: 100dvh;
    min-height: 100%;
    max-height: 100dvh;
    box-sizing: border-box;
    align-items: center;
    overflow: hidden;
    padding: 0;
  }

  #pxl-header-mobile .pxl-header-mobile-search {
    display: none;
  }

  #pxl-header-mobile .pxl-menu-close {
    position: absolute;
    z-index: 2;
    top: clamp(18px, 5vw, 30px);
    right: clamp(18px, 5vw, 30px);
    display: block !important;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(17, 17, 17, 0.16);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
  }

  #pxl-header-mobile .pxl-menu-close::before,
  #pxl-header-mobile .pxl-menu-close::after {
    position: absolute;
    top: 19px;
    left: 10px;
    width: 20px;
    height: 2px;
    content: "";
    background: #111;
  }

  #pxl-header-mobile .pxl-menu-close::before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #pxl-header-mobile .pxl-menu-close::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  #pxl-header-mobile .pxl-menu-close:focus-visible {
    outline: 2px solid #f8b81b;
    outline-offset: 3px;
  }

  #pxl-header-mobile .pxl-logo-mobile {
    display: block !important;
    margin: 0 0 clamp(28px, 6vw, 46px);
    text-align: center;
  }

  #pxl-header-mobile .pxl-logo-mobile img {
    display: inline-block;
    width: auto;
    max-width: min(235px, 65vw);
    max-height: 68px;
  }

  /* Overlay header: the logo owns its own row, separate from the menu. */
  #pxl-header-mobile .aydintas-mobile-menu-branding {
    grid-row: 1;
    display: flex;
    width: 100%;
    height: 42px;
    align-self: start;
    align-items: center;
    justify-content: center;
    margin-top: clamp(18px, 5vw, 30px);
    padding: 0 clamp(72px, 18vw, 110px);
    box-sizing: border-box;
  }

  #pxl-header-mobile .aydintas-mobile-menu-branding a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #pxl-header-mobile .aydintas-mobile-menu-branding img {
    display: block;
    width: min(205px, 52vw) !important;
    max-width: min(205px, 52vw);
    height: auto !important;
    max-height: 54px;
  }

  #pxl-header-mobile .pxl-header-nav {
    grid-row: 2;
    display: flex;
    width: 100%;
    max-width: 480px;
    min-height: 0;
    align-self: stretch;
    justify-self: center;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px clamp(24px, 8vw, 52px) 10px;
    box-sizing: border-box;
    scrollbar-width: thin;
  }

  #pxl-header-mobile .pxl-menu-primary {
    display: flex;
    width: 100%;
    margin: auto 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    list-style: none;
  }

  #pxl-header-mobile .pxl-menu-primary > li.menu-item {
    width: 100%;
    margin: 0 0 4px;
    opacity: 0;
    -webkit-transform: translateY(16px);
    transform: translateY(16px);
  }

  #pxl-header-mobile .pxl-menu-primary li.menu-item-has-children {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  #pxl-header-mobile .pxl-header-menu.active .pxl-menu-primary > li.menu-item {
    -webkit-animation: aydintas-mobile-menu-item 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation: aydintas-mobile-menu-item 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  #pxl-header-mobile .pxl-header-menu.active .pxl-menu-primary > li:nth-child(1) { -webkit-animation-delay: 0.10s; animation-delay: 0.10s; }
  #pxl-header-mobile .pxl-header-menu.active .pxl-menu-primary > li:nth-child(2) { -webkit-animation-delay: 0.15s; animation-delay: 0.15s; }
  #pxl-header-mobile .pxl-header-menu.active .pxl-menu-primary > li:nth-child(3) { -webkit-animation-delay: 0.20s; animation-delay: 0.20s; }
  #pxl-header-mobile .pxl-header-menu.active .pxl-menu-primary > li:nth-child(4) { -webkit-animation-delay: 0.25s; animation-delay: 0.25s; }
  #pxl-header-mobile .pxl-header-menu.active .pxl-menu-primary > li:nth-child(5) { -webkit-animation-delay: 0.30s; animation-delay: 0.30s; }
  #pxl-header-mobile .pxl-header-menu.active .pxl-menu-primary > li:nth-child(6) { -webkit-animation-delay: 0.35s; animation-delay: 0.35s; }
  #pxl-header-mobile .pxl-header-menu.active .pxl-menu-primary > li:nth-child(n + 7) { -webkit-animation-delay: 0.40s; animation-delay: 0.40s; }

  #pxl-header-mobile .pxl-menu-primary li.menu-item > a {
    display: flex;
    min-height: 55px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 0;
    color: #171717;
    font-family: "Barlow Semi Condensed", "Exo 2", sans-serif;
    font-size: clamp(23px, 6.5vw, 31px);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.12;
    text-align: center;
  }

  #pxl-header-mobile .pxl-menu-primary li.menu-item-has-children > a {
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
    order: 1;
    padding-right: 0;
    padding-left: 0;
  }

  /* Inner submenu headings have a theme-generated full-width span. Keep the
   * heading itself content-sized so its arrow remains directly beside text. */
  #pxl-header-mobile .pxl-menu-primary .sub-menu li.menu-item-has-children > a,
  #pxl-header-mobile .pxl-menu-primary .children li.menu-item-has-children > a {
    width: -webkit-fit-content !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    flex: 0 0 auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  #pxl-header-mobile .pxl-menu-primary .sub-menu li.menu-item-has-children > a > span,
  #pxl-header-mobile .pxl-menu-primary .children li.menu-item-has-children > a > span {
    display: inline-flex;
    width: -webkit-max-content !important;
    width: -moz-max-content !important;
    width: max-content !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    align-items: center;
    line-height: 1.12 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #pxl-header-mobile .pxl-menu-primary li.menu-item > a > span::before {
    display: none;
  }

  #pxl-header-mobile .pxl-menu-primary li.menu-item > a:hover,
  #pxl-header-mobile .pxl-menu-primary li.menu-item > a:focus,
  #pxl-header-mobile .pxl-menu-primary li.current-menu-item > a,
  #pxl-header-mobile .pxl-menu-primary li.current-menu-ancestor > a {
    color: #f8b81b;
  }

  #pxl-header-mobile .pxl-menu-toggle {
    position: static;
    display: grid;
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-left: 2px;
    order: 2;
    align-self: center;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #171717;
    font-size: 0;
  }

  #pxl-header-mobile .pxl-menu-toggle::before {
    width: 7px;
    height: 7px;
    content: "";
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    font-family: inherit;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: -webkit-transform 0.2s ease;
    transition: transform 0.2s ease;
  }

  #pxl-header-mobile .pxl-menu-toggle.active::before {
    content: "";
    /* The upward chevron's stroke has a slightly top-heavy optical weight. */
    -webkit-transform: translateY(2px) rotate(225deg);
    transform: translateY(2px) rotate(225deg);
  }

  #pxl-header-mobile .pxl-menu-primary .sub-menu,
  #pxl-header-mobile .pxl-menu-primary .children {
    flex: 0 0 100%;
    order: 3;
    display: block;
    max-height: 0;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    visibility: visible;
    opacity: 0;
    background: transparent;
    box-shadow: none;
    -webkit-transition: max-height 0.36s ease, opacity 0.22s ease, padding 0.36s ease;
    transition: max-height 0.36s ease, opacity 0.22s ease, padding 0.36s ease;
  }

  #pxl-header-mobile .pxl-menu-primary .sub-menu.active,
  #pxl-header-mobile .pxl-menu-primary .children.active {
    max-height: 720px;
    padding: 2px 0 6px;
    opacity: 1;
  }

  #pxl-header-mobile .pxl-menu-primary .sub-menu li.menu-item > a,
  #pxl-header-mobile .pxl-menu-primary .sub-menu li.menu-item > a > span,
  #pxl-header-mobile .pxl-menu-primary .children li.menu-item > a,
  #pxl-header-mobile .pxl-menu-primary .children li.menu-item > a > span {
    min-height: 36px;
    padding: 5px 26px;
    color: #575f5f !important;
    font-size: clamp(17px, 4.7vw, 20px);
    font-weight: 600;
  }

  #pxl-header-mobile .pxl-menu-primary .sub-menu li.menu-item > a:hover,
  #pxl-header-mobile .pxl-menu-primary .sub-menu li.menu-item > a:hover > span,
  #pxl-header-mobile .pxl-menu-primary .sub-menu li.menu-item > a:focus,
  #pxl-header-mobile .pxl-menu-primary .sub-menu li.menu-item > a:focus > span,
  #pxl-header-mobile .pxl-menu-primary .children li.menu-item > a:hover,
  #pxl-header-mobile .pxl-menu-primary .children li.menu-item > a:hover > span,
  #pxl-header-mobile .pxl-menu-primary .children li.menu-item > a:focus,
  #pxl-header-mobile .pxl-menu-primary .children li.menu-item > a:focus > span {
    color: #f8b81b !important;
  }

  #pxl-header-mobile .aydintas-mobile-menu-actions {
    position: static;
    z-index: 3;
    grid-row: 3;
    display: grid;
    width: 100%;
    align-self: stretch;
    gap: 8px;
    padding: 12px clamp(20px, 6vw, 34px) max(30px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    font-family: "Barlow Semi Condensed", "Exo 2", sans-serif;
  }

  #pxl-header-mobile .aydintas-mobile-menu-actions__contact,
  #pxl-header-mobile .aydintas-mobile-menu-actions__social {
    display: grid;
    gap: 7px;
  }

  #pxl-header-mobile .aydintas-mobile-menu-actions__contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #pxl-header-mobile .aydintas-mobile-menu-actions__social {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #pxl-header-mobile .aydintas-mobile-menu-actions a {
    display: inline-flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
  }

  #pxl-header-mobile .aydintas-mobile-menu-actions__call {
    background: #f8b81b;
    color: #111;
  }

  #pxl-header-mobile .aydintas-mobile-menu-actions__email {
    background: #575f5f;
    color: #fff;
  }

  #pxl-header-mobile .aydintas-mobile-menu-actions__social a {
    min-height: 34px;
    padding: 6px 3px;
    border-color: rgba(87, 95, 95, 0.18);
    background: #f4f4f4;
    color: #575f5f;
    font-size: 11px;
    text-transform: none;
  }

  #pxl-header-mobile .aydintas-mobile-menu-actions a:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
  }

  #pxl-header-mobile .aydintas-mobile-menu-actions__social a:hover,
  #pxl-header-mobile .aydintas-mobile-menu-actions__social a:focus {
    border-color: #f8b81b;
    color: #111;
  }
}

.pxl-loader .pxl-loader-spinner .pxl-loadding-text .aydintas-loader-line + .aydintas-loader-line {
  margin-left: 0.28em;
}

@media screen and (max-width: 767px) {
  /* Mobile preloader: keep the machine icon above the two-line brand phrase. */
  .pxl-loader .pxl-loader-spinner .pxl-content-loader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
  }

  .pxl-loader .pxl-loader-spinner .loader-logo {
    margin: 0;
    font-size: 42px;
  }

  .pxl-loader .pxl-loader-spinner .pxl-loadding-text {
    display: block;
    font-size: 34px;
    line-height: 1.08;
  }

  .pxl-loader .pxl-loader-spinner .pxl-loadding-text .aydintas-loader-line {
    display: block;
  }

  .pxl-loader .pxl-loader-spinner .pxl-loadding-text .aydintas-loader-line + .aydintas-loader-line {
    margin-left: 0;
  }
}

@-webkit-keyframes aydintas-mobile-menu-item {
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes aydintas-mobile-menu-item {
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #pxl-header-mobile .pxl-header-menu,
  #pxl-header-mobile .pxl-header-menu-scroll,
  #pxl-header-mobile .pxl-menu-primary .sub-menu,
  #pxl-header-mobile .pxl-menu-primary .children,
  #pxl-header-mobile .pxl-menu-toggle::before {
    -webkit-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  #pxl-header-mobile .pxl-header-menu.active .pxl-menu-primary > li.menu-item {
    -webkit-animation-duration: 0.01ms;
    animation-duration: 0.01ms;
  }
}
