* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #221b33;
  color: #eee;
  min-height: 100vh;
}

.navbar {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background: #221b33;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    margin-right: 1.6rem;
}

.nav-logo img {
    height: 42px;
    width: auto;
    display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.6rem;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #221b33, #FCA32A);
  transition: width 0.33s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #ccc;
  border-radius: 3px;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease,
    background 0.25s ease;
}

.menu-toggle:hover span {
  background: #fff
}

.header {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
}

.header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 10%, #221b33);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 7rem;
}

.header-overlay h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: 2px;
  text-shadow: 0 2px 20px rgba(0,0,0, .7);
  text-align: center;
}

.copy-button:hover {
  background: #000000af;
  transform: scale(1.1);
}

.navbar.no-transition .nav-links {
  transition: none !important;
}

@media (max-width: 768px) {
  .navbar {
    height: 60px;
    padding: 0 1rem;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;

    top: 60px;
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    gap: 0;

    margin: 0;
    padding: 0.5rem 0;

    background: #221b33;
    box-shadow: 0 8px 15px rgba(0, 0, 0, .35);

    max-height: 0;
    overflow: hidden;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-100%);

    transition:
      max-height 0.4s ease,
      opacity 0.25s ease,
      transform 0.4s ease,
      visibility 0.4s;
  }

  .nav-links.active {
    max-height: 500px;

    opacity: 1;
    visibility: visible;

    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;

    opacity: 0;
    transform: translateY(-20px);

    transition:
      opacity 0.25s ease,
      transform 0.3s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }


  .nav-links.active li:nth-child(1) {
    transition-delay: 0.05s;
  }

  .nav-links.active li:nth-child(2) {
    transition-delay: 0.10s;
  }

  .nav-links.active li:nth-child(3) {
    transition-delay: 0.15s;
  }

  .nav-links.active li:nth-child(4) {
    transition-delay: 0.20s;
  }

  .nav-links.active li:nth-child(5) {
    transition-delay: 0.25s;
  }

  .nav-links.active li:nth-child(6) {
    transition-delay: 0.30s;
  }

  .nav-links a {
    display: block;

    padding: 1rem 1.5rem;

    color: #ccc;

    transition:
      color 0.2s ease,
      background 0.2s ease,
      padding-left 0.2s ease;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 1.8rem;
  }
}