/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #1a1a1a;
  color: #e0e0e0;
  font-family: "JetBrains Mono", "Fira Code", "Consolas", "Monaco", monospace;
  font-weight: 200;
  line-height: 1.6;
  font-size: 14px;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  background-color: #1a1a1a;
  margin-bottom: 30px;
  padding: 15px 0;
  border-bottom: 1px solid #333;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  color: #569cd6;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand:hover {
  color: #4ec9b0;
}

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.nav-link {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 300;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #4ec9b0;
}

.nav-link.active {
  color: #569cd6;
  font-weight: 400;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

h1 {
  font-size: 2.5em;
  font-weight: 300;
  margin-bottom: 10px;
  color: #569cd6;
}

.tagline {
  font-size: 0.9em;
  color: #4ec9b0;
  font-weight: 200;
}

/* Section Styling */
section {
  margin-bottom: 35px;
}

h2 {
  font-size: 1.5em;
  font-weight: 400;
  color: #569cd6;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #333;
}

h3 {
  font-size: 1.1em;
  font-weight: 300;
  color: #4ec9b0;
  margin-top: 15px;
  margin-bottom: 8px;
}

h4 {
  font-size: 1em;
  font-weight: 300;
  color: #ce9178;
  margin-bottom: 5px;
}

/* Paragraphs and Lists */
p {
  margin-bottom: 10px;
  color: #b0b0b0;
}

ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 8px;
  color: #b0b0b0;
}

/* Job/Education Entry Styling */
.entry {
  margin-bottom: 25px;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.entry-title {
  font-weight: 400;
  color: #ffffff;
}

.entry-date {
  font-size: 0.9em;
  color: #ce9178;
  font-weight: 200;
}

.entry-subtitle {
  color: #c586c0;
  font-weight: 200;
  margin-bottom: 8px;
}

/* Skills Section */
.skills-list {
  list-style: none;
  margin-left: 0;
}

.skills-list li {
  margin-bottom: 5px;
}

.skills-list strong {
  color: #ffffff;
  font-weight: 400;
}

/* References */
.reference {
  margin-bottom: 20px;
}

.reference h4 {
  color: #ffffff;
  margin-bottom: 3px;
}

.reference p {
  margin-bottom: 2px;
  font-size: 0.9em;
}

/* Syntax Highlighting Colors */
.keyword-lang {
  color: #569cd6; /* Blue - for programming languages */
  font-weight: 300;
}

.keyword-framework {
  color: #4ec9b0; /* Teal - for frameworks and libraries */
  font-weight: 300;
}

.keyword-tool {
  color: #ce9178; /* Orange - for tools and platforms */
  font-weight: 300;
}

.keyword-database {
  color: #c586c0; /* Purple - for databases */
  font-weight: 300;
}

.keyword-concept {
  color: #dcdcaa; /* Yellow - for concepts and methodologies */
  font-weight: 300;
}

/* Links */
a {
  color: #6b9bd1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 15px;
    font-size: 13px;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.3em;
  }

  .entry-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
