/* ================================
   HAMBURGER NAVIGATION
   ================================ */

.bold-nav-full {
  z-index: 10000;
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.bold-nav-full__bar {
  z-index: 10001;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.bold-nav-full__bar > * {
  pointer-events: auto;
}

.bold-nav-full__logo {
  font-family: "Red Hat Text", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
  z-index: 10002;
  position: relative;
}

.bold-nav-full__logo:hover {
  opacity: 0.7;
}

/* Change logo color on non-home pages */
body:not(.home) .bold-nav-full__logo {
  color: #191919;
}

/* Logo ALWAYS white when menu is open - this overrides everything */
[data-navigation-status="active"] .bold-nav-full__logo {
  color: #fff !important;
}

/* --------------------------------- 
   Hamburger 
   --------------------------------- */

.bold-nav-full__hamburger {
  color: #fff;
  cursor: pointer;
  background-color: transparent;
  border: none;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  display: flex;
  position: relative;
  overflow: hidden;
  padding: 0;
  z-index: 10002;
  flex-shrink: 0;
}

body:not(.home) .bold-nav-full__hamburger {
  color: #191919;
}

/* Hamburger ALWAYS white when menu is open - this overrides everything */
[data-navigation-status="active"] .bold-nav-full__hamburger {
  color: #fff !important;
}

.bold-nav-full__hamburger .bold-nav-full__hamburger-bar {
  background-color: currentColor;
  width: 2rem;
  height: 2px;
  position: absolute;
  transform: translate(0, 0) rotate(0.001deg);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  pointer-events: none;
}

.bold-nav-full__hamburger .bold-nav-full__hamburger-bar:nth-child(1) {
  transform: translate(0, -0.45rem) scale(1, 1) rotate(0.001deg);
}

.bold-nav-full__hamburger .bold-nav-full__hamburger-bar:nth-child(2) {
  transform: translate(0, 0) scale(1, 1) rotate(0.001deg);
}

.bold-nav-full__hamburger .bold-nav-full__hamburger-bar:nth-child(3) {
  transform: translate(0, 0.45rem) scale(1, 1) rotate(0.001deg);
}

/* Hamburger - Hover */
.bold-nav-full__hamburger:hover .bold-nav-full__hamburger-bar:nth-child(1) {
  transform: translate(0, -0.45rem) scale(0.5, 1) rotate(0.001deg);
}

.bold-nav-full__hamburger:hover .bold-nav-full__hamburger-bar:nth-child(3) {
  transform: translate(0, 0.45rem) scale(0.5, 1) rotate(0.001deg);
}

/* Hamburger (Navigation Open) */
[data-navigation-status="active"] .bold-nav-full__hamburger-bar:nth-child(1) {
  transform: translate(0, 0) rotate(45deg) scale(1, 1);
}

[data-navigation-status="active"] .bold-nav-full__hamburger-bar:nth-child(2) {
  transform: translate(-150%, 0) rotate(0.001deg) scale(1, 1);
}

[data-navigation-status="active"] .bold-nav-full__hamburger-bar:nth-child(3) {
  transform: translate(0, 0) rotate(-45deg) scale(1, 1);
}

/* Hamburger - Hover (Navigation Open) */
[data-navigation-status="active"] .bold-nav-full__hamburger:hover .bold-nav-full__hamburger-bar:nth-child(1) {
  transform: translate(0, 0) rotate(45deg) scale(0.7, 1);
}

[data-navigation-status="active"] .bold-nav-full__hamburger:hover .bold-nav-full__hamburger-bar:nth-child(3) {
  transform: translate(0, 0) rotate(-45deg) scale(0.7, 1);
}

/* --------------------------------- 
   Tile (Full Screen Menu)
   --------------------------------- */

.bold-nav-full__tile {
  pointer-events: auto;
  background-color: #191919;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  transition: clip-path 1s cubic-bezier(0.9, 0, 0.1, 1);
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

/* Tile (Navigation Open) */
[data-navigation-status="active"] .bold-nav-full__tile {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.bold-nav-full__ul {
  flex-flow: column;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.bold-nav-full__li {
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  text-decoration: none;
  display: flex;
  position: relative;
  overflow: hidden;
}

.bold-nav-full__link {
  color: #fff;
  letter-spacing: -0.02em;
  padding: 0.2rem 0.5rem;
  font-family: "Red Hat Text", sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(100%) rotate(5deg);
  transition: transform 0.75s cubic-bezier(0.7, 0, 0.3, 1);
}

/* Staggered delays for closing */
.bold-nav-full__li:nth-child(1) .bold-nav-full__link {
  transition-delay: 0.2s;
}
.bold-nav-full__li:nth-child(2) .bold-nav-full__link {
  transition-delay: 0.15s;
}
.bold-nav-full__li:nth-child(3) .bold-nav-full__link {
  transition-delay: 0.1s;
}
.bold-nav-full__li:nth-child(4) .bold-nav-full__link {
  transition-delay: 0.05s;
}
.bold-nav-full__li:nth-child(5) .bold-nav-full__link {
  transition-delay: 0s;
}

/* Links (Navigation Open) */
[data-navigation-status="active"] .bold-nav-full__link {
  transform: translateY(0%) rotate(0.001deg);
}

[data-navigation-status="active"] .bold-nav-full__li:nth-child(1) .bold-nav-full__link {
  transition-delay: 0.3s;
}
[data-navigation-status="active"] .bold-nav-full__li:nth-child(2) .bold-nav-full__link {
  transition-delay: 0.35s;
}
[data-navigation-status="active"] .bold-nav-full__li:nth-child(3) .bold-nav-full__link {
  transition-delay: 0.4s;
}
[data-navigation-status="active"] .bold-nav-full__li:nth-child(4) .bold-nav-full__link {
  transition-delay: 0.45s;
}
[data-navigation-status="active"] .bold-nav-full__li:nth-child(5) .bold-nav-full__link {
  transition-delay: 0.5s;
}

.bold-nav-full__link-text {
  text-shadow: 0 1.1em 0 currentColor;
  display: block;
  position: relative;
}

/* Links - Hover Effect */
.bold-nav-full__li {
  transition: opacity 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.bold-nav-full__ul:has(.bold-nav-full__li:hover) .bold-nav-full__li {
  opacity: 0.3;
}

.bold-nav-full__ul:has(.bold-nav-full__li:hover) .bold-nav-full__li:hover {
  opacity: 1;
}

.bold-nav-full__link .bold-nav-full__link-text {
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  transform: translateY(0%) rotate(0.001deg);
}

.bold-nav-full__link:hover .bold-nav-full__link-text {
  transform: translateY(-100%) rotate(0.001deg);
}

/* --------------------------------- 
   Bottom Social Links
   --------------------------------- */

.bold-nav__bottom {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 2.5rem;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
}

.bold-nav__social {
  color: #fff;
  opacity: 0.6;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.bold-nav__social:hover {
  opacity: 1;
}

/* --------------------------------- 
   Prevent Scrolling When Menu Open
   --------------------------------- */

[data-navigation-status="active"] {
  overflow: hidden;
}

/* --------------------------------- 
   Mobile Adjustments
   --------------------------------- */

@media (max-width: 768px) {
  .bold-nav-full__bar {
    padding: 1.5rem 2rem;
  }

  .bold-nav-full__logo {
    font-size: 1.5rem;
  }

  .bold-nav-full__link {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .bold-nav__bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding: 2rem;
  }

  .bold-nav__social {
    font-size: 0.875rem;
  }
}
