/* CSS Reset */
html {
  box-sizing: border-box;
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, button, a {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Professional Dark Theme with Purple/Cyan/Yellow accents */
:root {
  --bg-primary: #1a1b26;
  --bg-secondary: #24273a;
  --bg-tertiary: #2d3748;
  --text-primary: #eae4a4;
  --text-secondary: #86bfe9;
  --text-muted: #688b85;
  --accent-cyan: #7de5fc;
  --accent-cyan-muted: #5d9bbd;
  --accent-yellow: #ecd564;
  --accent-yellow-muted: #cfb76e;
  --accent-purple: #7a3ca4;
  --accent-purple-muted: #5d4671;
  --border-color: #1a573f;
  --hover-bg: #21262d;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

/* Typography */
h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--accent-yellow);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 0.125rem;
}

h3 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent-cyan);
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

p {
  margin: 1rem;
  color: var(--text-secondary);
  max-width: 65ch;
  line-height: 1.7;
}

.text-center p {
  margin: 1rem auto;
}

/* Links */
a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-cyan-muted);
}

a:visited {
  color: var(--accent-purple-muted);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 27, 38, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-brand a {
  color: var(--accent-cyan);
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.nav-brand a:hover {
  background: var(--hover-bg);
  color: var(--accent-yellow-muted);
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  background: var(--hover-bg);
  color: var(--accent-cyan);
}

.nav-links a.active {
  color: var(--accent-yellow);
}

/* Main Content */
.content {
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  visibility: hidden;
  transition: visibility 0s 300ms, opacity 300ms ease-in;
}

.content.display {
  opacity: 1;
  visibility: visible;
  transition-delay: 50ms;
}

.hidden {
  display: none;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
  border-radius: 1rem;
  margin-bottom: 4rem;
}

.hero h1 {
  text-align: center;
}

.hero p {
  max-width: 600px;
  margin: 1.5rem auto;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--accent-yellow);
  font-weight: 500;
  text-align: center;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.indent {
  text-indent: 2rem;
}

/* Cards */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-purple);
  transform: scale(1.05) translateY(-2px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.card-title {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
}

.card-subtitle {
  color: var(--accent-cyan);
  font-size: 1.125rem;
  font-weight: 500;
}

.card-meta {
  color: var(--text-muted);
  font-size: 1.1rem;
  text-align: right;
}

.card-meta p {
  margin: 0;
}

.card-content ul {
  margin-top: 1rem;
}

.card-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: var(--text-secondary);
}

.card-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-category {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.skill-category:hover {
  border-color: var(--accent-purple);
  transform: scale(1.05) translateY(-2px);
}

.skill-category h4 {
  color: var(--accent-yellow);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
  transition: all 0.5s ease;
  position: relative;
}

.skill-tag:hover {
  background: var(--accent-purple);
  color: white;
  transform: scale(1.05); /* breaks z-index for skill detail for some reason */
}

/* .skill-detail {
  display: block;
  height: 0%;
  overflow: hidden;
  position: absolute;
  top: 100%;
  margin: 0.25rem -1rem;
  padding: 0rem;
  z-index: 10;
  background-color: var(--accent-purple);
  transition: all ease-in-out .2s;
  border-radius: 0.25rem;
  border: 0px;
}

.skill-detail.expand {
  height: auto;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--accent-yellow-muted);
} */

/* Proficiency color coding */
.proficiency-legend {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-color.expert,
.skill-tag.expert {
  background: linear-gradient(135deg, #10b981, #059669);
}

.legend-color.advanced,
.skill-tag.advanced {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.legend-color.intermediate,
.skill-tag.intermediate {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}


/* .skill-tag.expert:hover {
  background: linear-gradient(135deg, #10b981, #059669);
}

.skill-tag.advanced:hover {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.skill-tag.intermediate:hover {
  background: #9d5605;
} */

.skill-tag.expert {
  border: 1px solid #10b981;
  color: #ecfdf5;
}

.skill-tag.advanced {
  border: 1px solid #3b82f6;
  color: #dbeafe;
}

.skill-tag.intermediate {
  border: 1px solid #f59e0b;
  color: #fef3c7;
}

.skill-tag.expert:hover {
  background: #032d2b;
  transform: scale(1.1);
}

.skill-tag.advanced:hover {
  background: #1b163e;
  transform: scale(1.1);
}

.skill-tag.intermediate:hover {
  background: #402502;
  transform: scale(1.1);
}


/* Buttons */
button, .button-link {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

button:hover, .button-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

button:active, .button-link:active {
  transform: translateY(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

.small-text { font-size: 0.875rem; }
.smaller-text { font-size: 0.75rem; }

/* .load-time {
  position: fixed;
  top: 0.25rem;
  right: 0.25rem;
  z-index: 100;
  background: var(--bg-secondary);
  padding: 0.25rem 0.5rem;
  border-radius: 0.125rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
} */

.footer-content {
  position: relative;
}

.load-time {
  position: absolute;
  bottom: -.75rem;
  right: 0;
  opacity: 0.33;
  margin: 0.125rem 0.25rem;
  border-radius: 0.25rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .content {
    padding: 8rem 1rem 4rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .card-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .card-meta {
    text-align: left;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* Smooth animations */
* {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Focus states for accessibility */
button:focus,
.button-link:focus,
a:focus {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

/* Button and Action Styles */
.button-link {
  color: white;
  text-decoration: none;
}

.button-link {
  color: var(--bg-primary);
}

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

.button-group button {
  font-size: 1.5rem;
}

.button-group-left {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button-actions {
  margin-top: 1.5rem;
}

.button-actions-flex {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button-actions-center {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.indent {
  margin-left: 1rem;
}

/* Contact View Component Styles */
.contact-view {
  margin: 1rem 0;
}

.contact-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.contact-link:hover {
  color: var(--accent-cyan-muted);
  background-color: var(--hover-bg);
}

.location-info {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: block;
}

/* Footer Styles */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
  padding: 2rem 0 1rem 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.footer-heading {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-contact.compact .contact-links {
  gap: 2rem;
  justify-content: center;
}

.footer-contact .contact-link {
  font-size: 0.95rem;
  padding: 0.3rem 0.6rem;
}

/* Mobile responsive contact links */
@media (max-width: 768px) {
  .contact-links {
    gap: 1rem;
  }
  
  .contact-link {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
  }

  .footer-contact.compact .contact-links {
    gap: 1.2rem;
  }
  
  .footer-content {
    padding: 0 1rem;
  }
  
  .site-footer {
    margin-top: 3rem;
    padding: 1.5rem 0 1rem 0;
  }
}


