/* =========================================================
   THIRDEYE SOLUTIONZ
   HEADER / NAVBAR
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  height: 94px;

  background: rgba(5, 34, 37, 0.98);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


/* =========================================================
   NAV WRAPPER
========================================================= */

.nav-wrap {
  min-height: 94px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}


/* =========================================================
   BRAND / LOGO
========================================================= */

.brand {
  width: 175px;
  height: 78px;

  flex: 0 0 175px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  border: 0;
  background: transparent;

  padding: 0;
  margin: 0;

  overflow: hidden;

  text-decoration: none;

  cursor: pointer;
}

.brand img {
  width: 155px;
  height: 72px;

  max-width: 155px;
  max-height: 72px;

  object-fit: contain;
  object-position: left center;

  display: block;

  margin: 0;
  padding: 0;

  transition: transform 0.25s ease;
}

.brand:hover img {
  transform: scale(1.025);
}


/* =========================================================
   MAIN NAV
========================================================= */

.main-nav {
  display: flex;

  align-items: center;
  justify-content: flex-end;

  gap: 28px;

  height: 100%;
}


/* IMPORTANT:
   PHP uses <a>, not <button>
*/

.main-nav a {
  display: inline-flex;

  align-items: center;

  border: 0;
  background: transparent;

  color: rgba(255, 255, 255, 0.84);

  font-family: var(--sans);

  font-size: 13px;

  font-weight: 700;

  line-height: 1;

  white-space: nowrap;

  padding: 8px 0;

  text-decoration: none;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold-light);

  transform: translateY(-1px);
}


/* =========================================================
   NAV CTA
========================================================= */

.main-nav a.nav-cta {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 9px;

  min-height: 52px;

  padding: 0 21px;

  color: var(--teal-dark);

  background: var(--gold);

  border-radius: 6px;

  font-weight: 800;

  box-shadow:
    0 8px 22px rgba(201, 163, 78, 0.15);

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.main-nav a.nav-cta:hover {
  color: var(--teal-dark);

  background: var(--gold-light);

  transform: translateY(-2px);

  box-shadow:
    0 12px 28px rgba(201, 163, 78, 0.24);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  align-items: center;
  justify-content: center;

  color: #fff;

  background: transparent;

  border: 1px solid rgba(255, 255, 255, 0.16);

  border-radius: 6px;

  padding: 7px;

  cursor: pointer;
}

.menu-toggle:hover {
  color: var(--gold-light);

  border-color:
    rgba(201, 163, 78, 0.6);
}


/* =========================================================
   MENU ICONS
========================================================= */

.close-icon {
  display: none;
}

.menu-toggle.active .menu-icon {
  display: none;
}

.menu-toggle.active .close-icon {
  display: inline;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

  .site-header {
    height: 88px;
  }

  .nav-wrap {
    min-height: 88px;
  }

  .brand {
    width: 160px;
    height: 70px;

    flex: 0 0 160px;
  }

  .brand img {
    width: 145px;
    height: 66px;

    max-width: 145px;
    max-height: 66px;
  }

  .main-nav {
    gap: 20px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .main-nav a.nav-cta {
    min-height: 48px;

    padding: 0 17px;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

  .site-header {
    height: 78px;
  }

  .nav-wrap {
    min-height: 78px;

    gap: 15px;
  }


  /* LOGO */

  .brand {
    width: 125px;
    height: 66px;

    flex: 0 0 125px;
  }

  .brand img {
    width: 118px;
    height: 62px;

    max-width: 118px;
    max-height: 62px;

    object-fit: contain;

    object-position: left center;
  }


  /* MENU BUTTON */

  .menu-toggle {
    display: inline-flex;

    margin-left: auto;
  }


  /* MOBILE NAV */

  .main-nav {
    position: absolute;

    left: 14px;
    right: 14px;

    top: calc(100% + 1px);

    display: none;

    flex-direction: column;

    align-items: stretch;

    height: auto;

    gap: 0;

    padding: 10px;

    background: #062e31;

    border:
      1px solid
      rgba(255, 255, 255, 0.08);

    border-radius:
      0 0 10px 10px;

    box-shadow:
      0 20px 40px
      rgba(0, 0, 0, 0.25);
  }

  .main-nav.open {
    display: flex;
  }


  /* MOBILE LINKS */

  .main-nav a {
    width: 100%;

    display: flex;

    align-items: center;

    text-align: left;

    padding: 13px 12px;

    font-size: 13px;

    line-height: 1.3;

    transform: none !important;
  }

  .main-nav a:hover {
    color: var(--gold-light);

    background:
      rgba(255, 255, 255, 0.04);
  }


  /* MOBILE CTA */

  .main-nav a.nav-cta {
    width: 100%;

    min-height: 48px;

    justify-content: center;

    text-align: center;

    margin-top: 7px;

    padding: 0 15px;
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

  .site-header {
    height: 74px;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand {
    width: 112px;
    height: 60px;

    flex: 0 0 112px;
  }

  .brand img {
    width: 106px;
    height: 58px;

    max-width: 106px;
    max-height: 58px;
  }

}