.nav-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--dark-cyan);
  border-radius: 0 0 8px 8px;
}

.nav-header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 24px;
  box-sizing: border-box;
}

.logo {
  font-family: 'Greater Theory', sans-serif;
  font-size: 23px;
  color: var(--celadon);
  flex-shrink: 0;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 0 32px;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-item a {
  text-decoration: none;
  color: var(--celadon);
  font-family: ChonkyPixels, sans-serif;
}

.hamburger {
  display: none;
  margin-left: auto;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--celadon);
  transition: all 0.3s ease-in-out;
}

/* MOBILE */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    width: 100%;
    height: calc(100vh - 70px);
    margin: 0;
    padding-top: 32px;
    gap: 24px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--dark-cyan);
    transition: left 0.3s ease-in-out;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}


/***********************************/

.top-cv-about {
  display: flex;
  width: 100%;
  height: 80vh;   /* or 100vh if you want full screen hero */
  padding: 0;
  margin: 0;
  gap: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.cv-back {
  flex: 1 1 60%;
  height: 100%;

  background-image: url('../img/img_2.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.profile-card {
  flex: 1 1 40%;
  height: 100%;
  margin: 0;

  background-color: rgba(0, 0, 0, 0.85);
  border: none;
  border-radius: 0;

  color: white;
  padding: clamp(1.5rem, 3vw, 3rem);
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-card h1 {
  margin: 0 0 1rem 0;
  line-height: 1.1;
}

.profile-card h1 a {
  text-decoration: none;
  color: var(--lavender-web);
  font-size: clamp(2rem, 4vw, 4rem);
}

.profile-card h1 span {
  display: block;
  color: var(--celadon);
}

.profile-card h3 {
  font-size: clamp(1rem, 2vw, 2rem);
  margin-bottom: 2rem;
}

.focus-button {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 8px;
  background-color: var(--paynes-gray);
  cursor: pointer;
}

@media (max-width: 768px) {
  .top-cv-about {
    flex-direction: column;
    height: auto;
  }

  .cv-back {
    height: 300px;
    flex: none;
  }

  .profile-card {
    height: auto;
    flex: none;
  }
}
