/*
==========================================================
 SENTRASKY
 Navigation
 Version: 1.2.0
==========================================================
*/

.site-header {
  position: fixed;
  top: 0;
  left: 0;

  z-index: 1000;

  width: 100%;
  min-height: var(--header-height);

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 40px;

 padding: 8px 4vw;

  background: rgba(4, 10, 17, 0.92);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}


/*
==========================================================
 LOGO
==========================================================
*/

.logo {
  display: inline-flex;
  align-items: center;

  flex-shrink: 0;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.logo-image {
  display: block;

  width: auto;
  height: 130px;

  object-fit: contain;
}


/*
==========================================================
 DESKTOP NAVIGATION
==========================================================
*/

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;

  gap: 36px;

  white-space: nowrap;
}

.main-nav a {
  position: relative;

  display: inline-flex;
  align-items: center;

  min-height: 44px;

  color: var(--text);

  font-size: 0.95rem;
  font-weight: 500;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.main-nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.main-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 3px;

  width: 100%;
  height: 1px;

  background: var(--accent);

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}


/*
==========================================================
 TABLET
==========================================================
*/

@media (max-width: 1100px) {

  .site-header {
    gap: 28px;
    padding: 0 3vw;
  }

  .logo-image {
    height: 56px;
  }

  .main-nav {
    gap: 24px;
  }

}


/*
==========================================================
 MOBILE
==========================================================
*/

@media (max-width: 820px) {

  .site-header {
    min-height: auto;

    display: block;

    padding: 12px 5vw 10px;
  }

  .logo-image {
    height: 52px;
  }

  .main-nav {
    width: 100%;

    justify-content: flex-start;

    gap: 24px;

    margin-top: 8px;

    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    min-height: 34px;

    font-size: 0.88rem;
  }

}


/*
==========================================================
 SMALL MOBILE
==========================================================
*/

@media (max-width: 520px) {

  .site-header {
    padding: 10px 5vw 8px;
  }

  .logo-image {
    height: 46px;
  }

  .main-nav {
    gap: 20px;
  }

}