/* --- Base Variables & Setup --- */
:root {
  --bg-color: #fafaf9; /* Off-white */
  --text-main: #292524;
  --text-muted: #57534e;
  --accent-color: #0284c7; /* Professional Blue */
  --border-color: #e7e5e4;
  --max-width: 760px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
}

/* --- Layout --- */
nav {
  border-bottom: 1px solid var(--border-color);
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
}

section {
  margin-bottom: 5rem;
}

/* --- Typography --- */
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- Navigation --- */
.logo {
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--text-main);
}

.logo:hover {
  text-decoration: none;
}

.nav-links a {
  margin-left: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* --- Hero Section --- */
#hero {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 6rem;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.intro {
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem auto;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.9;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

/* --- Cards --- */
.card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  margin-bottom: 1.5rem;
}

.project-desc {
  margin-bottom: 1.5rem;
}

.focus-heading {
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.focus-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.focus-list li {
  margin-bottom: 0.25rem;
}

.badge {
  display: inline-block;
  background-color: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* --- Skills & Experience --- */
.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skill-category {
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

.date {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.more-coming {
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* --- Contact & Footer --- */
.contact-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-links a {
  font-weight: 600;
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
  .nav-links {
    display: none; /* Keep it ultra-simple for V1 on mobile */
  }
  
  .button-group {
    flex-direction: column;
  }
  
  .card {
    padding: 1.5rem;
  }
}