@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111;
  background-color: #fafafa;
  line-height: 1.6;
  font-size: 15px;
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
}

/* Clear Grid Layout Setup */
.portfolio-container {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  width: 100%;
}

/* Left Sidebar - Stays frozen cleanly on scroll */
header {
  grid-column: 1;
  position: -webkit-sticky;
  position: sticky;
  top: 60px; /* Keeps menu static when right side scrolls down */
  height: max-content;
}

nav ul {
  list-style: none;
  text-align: right;
}

nav ul li {
  margin-bottom: 8px;
}

nav ul li a {
  text-decoration: none;
  color: #888;
  font-size: 14px;
  transition: color 0.2s ease;
}

nav ul li a:hover {
  color: #5b3da1; 
}

nav ul li a.active {
  color: #111;
  font-weight: bold;
}

/* Right Content Area - Dictates the true height of the page */
main {
  grid-column: 2;
  width: 100%;
}

.intro-header {
  font-size: 16px;
  margin-bottom: 30px;
  font-weight: 500;
}

.content-block p {
  margin-bottom: 20px;
}

/* Experience Layout Blocks */
.experience-list h3 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 5px;
}

.experience-list .date {
  color: #666;
  font-size: 13px;
  display: block;
  margin-bottom: 10px;
}

.experience-list ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.experience-list li {
  margin-bottom: 8px;
}

/* Integrated Dashed Footer */
footer {
  margin-top: 80px;
  padding-top: 20px;
  border-top: 1px dashed #ddd; /* Match screenshot design layout */
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
  width: 100%;
}

footer a {
  color: #5b3da1; /* Deep purple color tint */
  text-decoration: underline;
  margin-right: 15px;
}

footer a:hover {
  color: #3b1e73;
}

.footer-right {
  text-align: right;
}