/* =========================================
   Global Styles
========================================= */
html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #100425;
  color: white;
  overflow-x: hidden;
  font-family: 'Josefin Sans', sans-serif;
}

/* =========================================
   Navigation Links
========================================= */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7.5rem;
  position: relative;
  top: -1.625rem;
  z-index: 3;
  font-family: 'Inter', sans-serif;
}

.nav-links a {
  position: relative;
  z-index: 3;
  text-decoration: none;
  color: rgba(170, 166, 166, 0.671);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ======= Responsive Nav Link Gaps ======= */
@media (max-width: 1150px) {
  .nav-links {
    gap: 5.9rem;
    top: -1.3rem;
  }
}

@media (max-width: 800px) {
  .nav-links {
    gap: 4.6rem;
  }
}

@media (max-width: 675px) {
  .nav-links {
    display: none;
  }
}

/* =========================================
   Hamburger Menu (Mobile Navigation Icon)
========================================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  z-index: 999;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* ======= Mobile Navigation Behavior ======= */
@media (max-width: 675px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 4.5rem;
    right: 1rem;
    flex-direction: column;
    background-color: rgb(24, 3, 27);
    padding: 1rem 2rem;
    border-radius: 12px;
    gap: 1rem;
    z-index: 998;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: white;
    text-align: right;
  }
}

/* ======= Hamburger Open Animation ======= */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================================
   Utility Classes
========================================= */

/* Hide any .cut-space class on small screens */
@media (max-width: 675px) {
  .cut-space {
    display: none;
  }
}
