/* --------------------- */
/* Global / Body Reset    */
/* --------------------- */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;   /* hide horizontal scroll */
  overflow-y: hidden;   /* body scroll handled by iframe */
}

/* --------------------- */
/* Navbar Styles          */
/* --------------------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;                          /* explicit navbar height */
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: black;
  z-index: 100;
  font-family: Arial, Helvetica, sans-serif;  /* ONLY navbar font */
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-left: 30px;
}

.navbar a, .dropdown-btn {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.navbar a:hover, .dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
  text-align: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0,0,0,0.85);
  min-width: 450px;
  z-index: 101;
  border-radius: 4px;
  overflow: hidden;
  flex-direction: column;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: white;
  text-decoration: none;
  text-align: left;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dropdown:hover .dropdown-content {
  display: flex;
}

/* Social buttons */
.social-buttons {
  margin-left: auto;   /* pushes icons to the right */
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 25px;
}

.linkedin-btn, .github-btn, .email-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.linkedin-btn img, .github-btn img, .email-btn img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.linkedin-btn:hover img, .github-btn:hover img, .email-btn:hover img {
  transform: scale(1.1);
  opacity: 1;
}

/* --------------------- */
/* Main Content / PDF iframe */
/* --------------------- */
.main-content {
  padding-top: 80px;                   /* leave space for fixed navbar */
  height: calc(100vh - 80px);          /* fill remaining viewport */
  overflow: hidden;                     /* prevent body scroll */
}

.main-content iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  overflow: auto;                       /* iframe scroll internally */
}
