@font-face {
  font-family: "LogoFont";
  src: url("../assets/fonts/logo-font.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* =========================
   FIXED PROJECT LOGO
========================= */

.project-navigation {
  position: fixed;
  top: 4.0vh;
  left: 3.0vw;
  z-index: 1001;
}

.project-logo {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(1.4rem, 1.9vw, 2.6rem);
  color: white;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.project-logo.logo-on-light {
  color: #151515;
}

.project-logo.logo-on-dark {
  color: white;
}

/* =========================
   FULLSCREEN PROJECT MENU
========================= */

.project-menu {
  position: fixed;
  inset: 0;
  background-color: #151515;
  z-index: 1000;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.project-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.project-menu-link {
  display: flex;
  align-items: center;
  gap: 1.5rem;

  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.6rem, 3.8vw, 4.5rem);
  font-weight: 400;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.project-menu-link img {
  width: 2.2em;
  height: 0.9em;
  border-radius: 999px;
  object-fit: cover;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.project-menu-link:hover {
  color: #FC6432;
  transform: translateX(6px);
  opacity: 0.85;
  font-size: 500;
}

.project-menu-close {
  margin-top: 1rem;
  background: none;
  border: none;
  padding: 0;

  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: white;
  text-decoration: underline;
  cursor: pointer;
}

.project-menu-close:hover {
  color: #FC6432;
}

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

@media (max-width: 700px) {
  .project-navigation {
    top: 24px;
    left: 24px;
  }

  .project-menu {
    gap: 2.5rem;
  }

  .project-menu-link {
    font-size: clamp(2.5rem, 12vw, 4rem);
    gap: 1rem;
  }

  .project-menu-link img {
    width: 2em;
    height: 0.85em;
  }

  .project-menu-close {
    font-size: 1.2rem;
  }
}




/* =========================
   HOME PAGE DESKTOP NAV
========================= */

.home-navigation {
  right: 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.home-nav-links a {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.4rem);
  font-weight: 500;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.home-nav-links a:hover {
  color: #FC6432;
  opacity: 0.85;
}

/* hide fullscreen menu on home desktop */
.home-page .project-menu {
  display: none;
}

/* =========================
   HOME PAGE MOBILE
========================= */

@media (max-width: 700px) {
  .home-navigation {
    right: auto;
    display: block;
  }

  .home-nav-links {
    display: none;
  }

  .home-page .project-menu {
    display: flex;
  }
}