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

/* Navigation */
.nav-list {
  display: flex;
  align-items: flex-start;
  list-style: none;
  gap: 20px;
}

.site-header {
  width: 100%;
  padding: 10px 20px;
  position: absolute; /* keeps nav top-left */
  top: 0;
  left: 0;
}

.nav-list a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.nav-list a:hover {
  text-decoration: underline;
}

/* Body layout */
body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: #333;
  background-color: gray;
  max-width: 65%;       /* keep it a readable width */
  margin: 0 auto;
  padding: 80px 20px 40px; /* padding-top extra to avoid overlapping nav */
  line-height: 1.6;
}

/* Download Resume section */
.resume-dl-section {
  text-align: center;
  margin-bottom: 40px;
}

.resume-dl-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
}

.resume-dl-link:hover {
  background: #444;
}

/* Name/Header section */
.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.linkedin-github a {
  text-decoration: underline;
  color: #222;
  margin: 0 8px;
  font-weight: 500;
}

/* Section headers */
section > h2 {
  font-size: 1.4rem;
  text-transform: uppercase;
  border-bottom: 2px solid black;
  padding-bottom: 4px;
  margin: 40px 0 15px;
  color: #222;
}

/* Sub-items (like jobs and projects) */
article {
  margin-bottom: 20px;
}

article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

article p {
  margin: 0 0 10px;
}

/* Technical Skills section */
#skills p {
  margin: 6px 0;
}

#skills strong {
  display: inline-block;
  min-width: 170px; /* keeps labels aligned */
  font-weight: 600;
  color: #222;
}


/* Language switch toggle styling */  
.site-header {
  width: 100%;
  padding: 10px 20px;
  position: absolute;
  top: 0;
  left: 0;
  display: flex; /* Positions the two navs side-by-side */
  justify-content: space-between;
  align-items: center;
}

.lang-nav {
  font-size: 1rem;
  font-weight: 500;
}

.lang-nav a {
  text-decoration: none;
  color: #222;
  margin: 0;
}

.lang-nav a.active {
  font-weight: 700;
  text-decoration: underline;
}