:root {
  /* Solarized Light Color Palette */
  --base3: #fdf6e3;      /* Lightest background */
  --base2: #eee8d5;      /* Lighter background */
  --base1: #93a1a1;      /* Light accent */
  --base0: #839496;      /* Light text */
  --base00: #657b83;     /* Default text */
  --base01: #586e75;     /* Darker text */
  --base02: #073642;     /* Dark accent */
  --base03: #002b36;     /* Darkest background */
  
  /* Accent colors */
  --yellow: #b58900;
  --orange: #cb4b16;
  --red: #dc322f;
  --magenta: #d33682;
  --violet: #6c71c4;
  --blue: #268bd2;
  --cyan: #2aa198;
  --green: #859900;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.7;
  min-height: 100vh;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.clickable-element:hover{
  text-decoration: underline;
  color: #555;
}

.clickable-element:hover{
  text-decoration: underline;
  color: #555;
}

section {
  margin-bottom: 1.25rem;
}

header {
  background: var(--base3);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--base2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.terminal-prompt {
  font-family: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
  font-size: 0.9rem;
  color: var(--base0);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 500;
}

.terminal-prompt::after {
  content: '_';
  animation: blink 1.5s steps(2, start) infinite;
  color: var(--base01);
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--base01);
  margin: 0 auto 1rem;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.clickable-element: hover {

}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--base0);
  text-align: center;
  margin: 0 auto 1.25rem;
  max-width: 600px;
  font-weight: 400;
}

nav {
  position: sticky;
  top: 0;
  background: rgba(253, 246, 227, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--base2);
  z-index: 100;
  padding: 0.75rem 0;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  flex-wrap: nowrap;
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
}


nav a {
  text-decoration: none;
  color: var(--base0);
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--base01);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover {
  color: var(--base01);
  background: rgba(0, 0, 0, 0.03);
}

nav a:hover::before {
  width: 60%;
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2rem 2.5rem;
}

section {
  background: var(--base3);
  border: 1px solid var(--base2);
  border-radius: 12px;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

section:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-color: var(--base1);
  transform: translateY(-2px);
}


h3 {
  color: var(--base01);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 0.75rem;
  color: var(--base00);
  line-height: 1.6;
}


.contact-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  margin: 0 auto;
}

.contact-list li {
  background: var(--base2);
  border: 1px solid var(--base2);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-list li:hover {
  transform: translateY(-3px);
  background: var(--base01);
  border-color: var(--base01);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-list li a {
  color: var(--base0);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.contact-list li:hover a {
  color: var(--base3);
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.skills-list li {
  background: var(--base2);
  padding: 1.1rem;
  border-radius: 8px;
  border: 1px solid var(--base2);
  transition: all 0.3s ease;
}

.skills-list li:hover {
  background: var(--base1);
  transform: translateY(-2px);
  border-color: var(--base1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.now-section {
  position: relative;
}

.live-dot {
  height: 8px;
  width: 8px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

details {
  cursor: pointer;
}

details summary {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 1.1rem;
  background: var(--base2);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid var(--base2);
}

details summary:hover {
  background: var(--base1);
  border-color: var(--base1);
}

details summary::-webkit-details-marker {
  display: none;
}

.summary-heading {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--base01);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.summary-heading i {
  color: var(--base0);
  font-size: 1.1rem;
}

.summary-heading::before {
  content: "→";
  margin-right: 0.5rem;
  font-size: 0.9em;
  transition: transform 0.3s ease;
  color: var(--base0);
  order: -1;
}

details[open] .summary-heading::before {
  transform: rotate(90deg);
}

.now-content, .coursework-content {
  padding: 1.1rem;
  margin-top: 0.75rem;
  background: var(--base3);
  border-radius: 8px;
  border-left: 3px solid var(--base01);
  border: 1px solid var(--base2);
}

.now-content p, .coursework-content p {
  margin-bottom: 0.75rem;
  padding-left: 0;
}

.now-content strong {
  color: var(--base01);
  font-weight: 600;
}

.section-content {
  padding: 1.1rem;
  margin-top: 0.75rem;
  background: var(--base3);
  border-radius: 8px;
  border-left: 3px solid var(--base01);
  border: 1px solid var(--base2);
}

.job-details {
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.job-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding: 0.8rem;
  background: var(--base2);
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid var(--base2);
}

.job-summary:hover {
  background: var(--base1);
  border-color: var(--base1);
}

.job-summary::-webkit-details-marker {
  display: none;
}

.job-title {
  font-weight: 600;
  color: var(--base01);
  font-size: 0.95rem;
}

.job-company {
  color: var(--base0);
  font-size: 0.85rem;
  font-weight: 500;
}

.job-content {
  padding: 0.6rem 0.8rem;
  margin-top: 0.25rem;
  background: var(--base3);
  border-radius: 6px;
  border-left: 2px solid var(--base01);
}

.job-content p {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.project-item {
  padding: 1.25rem;
  background: var(--base2);
  border-radius: 8px;
  border-left: 3px solid var(--base0);
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
}

.project-item:hover {
  background: var(--base1);
  transform: translateX(4px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left-color: var(--base01);
}

.resume-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 1rem 1.75rem;
  background: var(--base01);
  color: var(--base3);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.resume-link:hover {
  transform: translateY(-2px);
  background: var(--base02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

footer {
  background: var(--base2);
  color: var(--base0);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  margin-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

nav a, .contact-list li, details summary, .resume-link {
  min-height: 44px;
  min-width: 44px;
}

@media (max-width: 768px) {
  header {
    padding: 2rem 1.5rem 1.5rem;
  }

  nav ul {
    gap: 0.8rem;
    padding: 0.25rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  nav a {
    font-size: 0.85rem;
    padding: 0.5rem 0.7rem;
    flex-shrink: 0;
  }
  
  main {
    padding: 1.5rem 1.5rem 2rem;
  }
  
  section {
    padding: 0;
    margin-bottom: 1rem;
  }

  .section-content {
    padding: 1rem;
  }
  
  .contact-list {
    gap: 0.75rem;
  }
  
  .contact-list li {
    width: 48px;
    height: 48px;
  }
  
  .skills-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .skills-list li {
    padding: 1rem;
  }
  
  .project-item {
    padding: 1rem;
  }

  .job-summary {
    padding: 0.7rem;
  }

  .job-content {
    padding: 0.5rem 0.7rem;
  }
  
  .now-content, .coursework-content {
    padding: 1rem;
  }
  
  .resume-link {
    padding: 0.8rem 1.3rem;
    font-size: 0.9rem;
  }

  details summary {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1.75rem 1rem 1.25rem;
  }
  
  .headline {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  nav ul {
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 1rem;
  }
  
  nav a {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
    flex-shrink: 0;
  }

  main {
    padding: 1.25rem 1rem 1.75rem;
  }

  section {
    padding: 0;
  }

  .section-content {
    padding: 1rem;
  }
  
  .summary-heading {
    font-size: 1.05rem;
  }

  .contact-list li {
    width: 44px;
    height: 44px;
  }
}
