/* Custom styles for Academic Research Skills site */

:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --border-light: #e5e7eb;
  --bg-light: #f9fafb;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.skill-card {
  transition: all 0.2s ease;
}

.skill-card:hover {
  transform: translateY(-2px);
}

/* Prose styling for skill detail pages */
.prose h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.prose ul, .prose ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* Mobile responsive improvements */
@media (max-width: 640px) {
  .text-4xl {
    font-size: 2.25rem;
  }
  
  nav {
    flex-wrap: wrap;
  }
  
  .category-filter {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
}

/* Button styling */
button {
  font-family: 'Inter', sans-serif;
}

.category-filter {
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.category-filter:hover {
  opacity: 0.9;
}

/* Search input focus state */
#searchInput:focus {
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Smooth transitions */
* {
  transition-property: color, background-color, border-color, box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card, button, a {
  transition-duration: 200ms;
}

/* Print styles */
@media print {
  nav, footer {
    display: none;
  }
}
