/* =========================
   TOP NAVIGATION BAR
   ========================= */

.top-nav {
  position: fixed;
  top: 0;
  z-index: 1000;

  width: 100%;              /* ✅ FIX */
  max-width: 100%;
  height: 64px;

  padding: 0 32px;
  box-sizing: border-box;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: #0a4fa3;
}


/* LEFT */
.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1; /* 👈 prevents vertical misalignment */
}

.nav-left img {
  width: 20px;
  height: 20px;
  display: block;
}


/* RIGHT */
.nav-right {
  display: flex;
  gap: 20px;
}

.nav-right a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  padding: 8px 0;
  line-height: 1;
}

.nav-right a:hover {
  opacity: 1;
}

/* =========================
   RESUME VIEWER
   ========================= */

.resume-section {
  margin-top: 120px;
}

.resume-viewer {
  margin-top: 32px;
  border: 1px solid #ddd;
}

.resume-viewer iframe {
  width: 100%;
  height: 600px;
  border: none;
}
/* Offset anchor scroll for sticky header */
#about,
#work,
#resume,
#projects,
#contact {
  scroll-margin-top: 100px; /* height of blue nav bar + spacing */
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {
  .nav-right {
    display: none; /* simple mobile, can add menu later */
  }

  .resume-viewer iframe {
    height: 420px;
  }
}
