/* =========================================================
   GIOVANNA — NEW SHARED NAVBAR
   ========================================================= */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  width: 100%;
  height: 88px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 5%;

  background: rgba(5, 8, 20, 0.92);

  border-bottom: 1px solid rgba(215, 181, 109, 0.15);

  z-index: 999999;

  box-sizing: border-box;
}

/* LOGO */

.site-nav .brand {
  display: flex;
  align-items: center;

  text-decoration: none;

  z-index: 1000001;
}

.site-nav .brand img {
  display: block;

  width: auto;
  height: 150px;
  max-width: 180px;

  object-fit: contain;
}

/* DESKTOP LINKS */

.site-nav .links {
  display: flex;
  align-items: center;

  gap: 40px;
  margin-left: auto;
}

.site-nav .nav-link {
  position: relative;

  display: block;

  color: rgba(255, 255, 255, 0.8);

  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 600;

  letter-spacing: 2.5px;
  text-transform: uppercase;

  text-decoration: none;

  padding: 8px 0;

  transition: color 0.3s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: #f1d58f;
}

.site-nav .nav-link::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;
  height: 1px;

  background: #f1d58f;

  transition: width 0.3s ease;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
  width: 100%;
}

/* =========================================================
   BURGER
   ========================================================= */

.site-nav .burger {
  display: none;

  width: 46px;
  height: 46px;

  padding: 0;
  margin: 0;

  align-items: center;
  justify-content: center;
  flex-direction: column;

  gap: 6px;

  background: transparent;

  border: 1px solid rgba(241, 213, 143, 0.35);

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  z-index: 1000002;
}

.site-nav .burger span {
  display: block;

  width: 22px;
  height: 2px;

  background: #f1d58f;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* BURGER → X */

.site-nav .burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-nav .burger.active span:nth-child(2) {
  opacity: 0;
}

.site-nav .burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 900px) {
  .site-nav {
    height: 72px;

    padding-left: 20px;
    padding-right: 20px;
  }

  .site-nav .brand img {
    height: 45px;
    max-width: 150px;
  }

  /* SHOW BURGER */

  .site-nav .burger {
    display: flex;
  }

  /* MOBILE MENU */

  .site-nav .links {
    position: fixed;

    top: 0;
    right: 0;

    width: 320px;
    max-width: 85vw;

    height: 100vh;
    height: 100dvh;

    margin: 0;
    padding: 110px 35px 40px;

    display: flex;

    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 25px;

    background: #080d20;

    border-left: 1px solid rgba(215, 181, 109, 0.2);

    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.55);

    box-sizing: border-box;

    /* CLOSED */

    transform: translateX(100%);

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:
      transform 0.35s ease,
      opacity 0.35s ease,
      visibility 0.35s ease;

    z-index: 1000000;
  }

  /* OPEN */

  .site-nav .links.open {
    transform: translateX(0);

    visibility: visible;

    opacity: 1;

    pointer-events: auto;
  }

  /* MOBILE LINKS */

  .site-nav .nav-link {
    width: 100%;

    padding: 12px 0;

    font-size: 19px;

    letter-spacing: 3px;

    color: rgba(255, 255, 255, 0.9);
  }

  /* MENU LABEL */

  .site-nav .links::before {
    content: "MENU";

    position: absolute;

    top: 48px;
    left: 35px;

    color: #d7b56d;

    font-family: "Cormorant Garamond", serif;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 4px;
  }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media screen and (max-width: 500px) {
  .site-nav {
    height: 68px;

    padding-left: 16px;
    padding-right: 16px;
  }

  .site-nav .brand img {
    height: 42px;
    max-width: 140px;
  }

  .site-nav .burger {
    width: 43px;
    height: 43px;
  }

  .site-nav .links {
    width: 88vw;
    max-width: none;

    padding-left: 28px;
    padding-right: 28px;
  }

  .site-nav .links::before {
    left: 28px;
  }
}
