/* ============================================================
   DIMSHI NAVIGATION
   ============================================================ */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;

  height: 92px;

  background:
    linear-gradient(
      to bottom,
      rgba(8, 6, 5, .36),
      transparent
    );

  transition:
    background .45s ease,
    backdrop-filter .45s ease;
}


.site-header__inner {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* ------------------------------------------------------------
   LOGO
   ------------------------------------------------------------ */

.site-logo {
  position: relative;

  color: var(--cream);

  font-family:
    "Cormorant Garamond",
    Georgia,
    serif;

  font-size: 27px;
  font-weight: 600;

  letter-spacing: .15em;

  text-decoration: none;

  line-height: 1;

  transition:
    color .3s ease,
    transform .3s ease;
}

.site-logo:hover {
  color: var(--gold-soft);
  transform: translateY(-1px);
}


/* ------------------------------------------------------------
   DESKTOP NAV
   ------------------------------------------------------------ */

.main-nav {
  position: absolute;
  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;

  gap: clamp(24px, 2.8vw, 48px);
}


.main-nav__link {
  position: relative;

  color: rgba(245, 232, 206, .76);

  font-family:
    Manrope,
    Arial,
    sans-serif;

  font-size: 9px;
  font-weight: 500;

  letter-spacing: .08em;

  text-decoration: none;

  white-space: nowrap;

  transition:
    color .3s ease;
}


.main-nav__link::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -9px;

  width: 0;
  height: 1px;

  background: var(--gold);

  transform: translateX(-50%);

  transition: width .35s ease;
}


.main-nav__link:hover,
.main-nav__link.is-active {
  color: var(--gold-soft);
}


.main-nav__link:hover::after,
.main-nav__link.is-active::after {
  width: 100%;
}


/* ------------------------------------------------------------
   NAV ORDER BUTTON
   ------------------------------------------------------------ */

.btn--nav {
  min-width: 128px;
  height: 38px;

  padding: 0 15px;

  font-size: 8px;
}


/* ------------------------------------------------------------
   MOBILE TOGGLE
   ------------------------------------------------------------ */

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  padding: 10px;

  border: 1px solid
    rgba(214, 168, 93, .35);

  background: rgba(20, 5, 4, .35);

  cursor: pointer;

  flex-direction: column;
  justify-content: center;
  gap: 5px;

  backdrop-filter: blur(10px);
}


.menu-toggle span {
  display: block;

  width: 100%;
  height: 1px;

  background: var(--gold-soft);

  transition:
    transform .35s ease,
    opacity .35s ease;
}


.menu-toggle.is-open span:nth-child(1) {
  transform:
    translateY(6px)
    rotate(45deg);
}


.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}


.menu-toggle.is-open span:nth-child(3) {
  transform:
    translateY(-6px)
    rotate(-45deg);
}


/* ------------------------------------------------------------
   MOBILE NAV
   ------------------------------------------------------------ */

.mobile-nav {
  position: fixed;

  top: 0;
  right: 0;

  width: min(360px, 88vw);
  height: 100svh;

  z-index: 90;

  padding:
    120px
    36px
    40px;

  display: flex;
  flex-direction: column;

  gap: 26px;

  background:
    linear-gradient(
      145deg,
      rgba(27, 4, 4, .98),
      rgba(7, 7, 6, .99)
    );

  border-left:
    1px solid
    rgba(214, 168, 93, .15);

  transform: translateX(100%);

  transition:
    transform .55s cubic-bezier(.77, 0, .18, 1);
}


.mobile-nav.is-open {
  transform: translateX(0);
}


.mobile-nav > a:not(.btn) {
  color: var(--cream);

  font-size: 11px;
  letter-spacing: .16em;

  text-decoration: none;

  transition:
    color .3s ease,
    padding-left .3s ease;
}


.mobile-nav > a:not(.btn):hover {
  color: var(--gold-soft);
  padding-left: 5px;
}


/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */

@media (max-width: 1000px) {

  .site-header {
    height: 80px;
  }

  .main-nav {
    gap: 20px;
  }

  .main-nav__link {
    font-size: 8px;
  }

  .btn--nav {
    min-width: 110px;
  }

}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 760px) {

  .site-header {
    height: 76px;
  }

  .main-nav,
  .btn--nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-logo {
    font-size: 24px;
  }

}