/* Critical CSS - Above the fold styles only */
:root {
  --primary-color: #1e40af;
  --primary-dark: #1e3a8a;
  --accent-color: #3b82f6;
  --accent-hover: #2563eb;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --background: #ffffff;
  --background-alt: #f9fafb;
  --border-color: #e5e7eb;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  text-align: center;
  padding: 2rem 0;
  background: var(--background-alt);
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-color);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Social links - critical for above the fold */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-links .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
  font-size: 0.9rem;
}

.social-links .btn:hover {
  background: var(--accent-hover);
}

/* Unicode icons instead of Font Awesome */
.social-links .btn::before {
  font-size: 1.1rem;
  font-weight: bold;
}

.social-links .btn[href*="github"]::before { content: "🐙"; }
.social-links .btn[href*="huggingface"]::before { content: "🤖"; }
.social-links .btn[href*="linkedin"]::before { content: "💼"; }
.social-links .btn[href*="medium"]::before { content: "📝"; }
.social-links .btn[href*="substack"]::before { content: "📧"; }
.social-links .btn[href*="x.com"]::before { content: "🐦"; }
.social-links .btn[href*="youtube"]::before { content: "📺"; }

/* Navigation tabs */
.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.nav-tab {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--text-secondary);
  border-radius: 0.25rem;
  transition: all 0.2s;
  font-weight: 500;
}

.nav-tab:hover,
.nav-tab.active {
  background: var(--primary-color);
  color: white;
}

/* Main content area */
main {
  min-height: 60vh;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .nav-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .social-links {
    flex-direction: column;
    align-items: center;
  }
} 