@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Basic styles for static site */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Header */
header {
  background: #f8f9fa;
  padding: 2rem 0;
  border-bottom: 1px solid #e9ecef;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.title {
  font-size: 1.25rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.description {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: #CA3B33;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid #CA3B33;
  border-radius: 4px;
  transition: all 0.2s;
}

.social-links a:hover {
  background: #CA3B33;
  color: white;
}

/* Navigation */
nav {
  margin-bottom: 2rem;
}

nav a {
  color: #CA3B33;
  text-decoration: none;
  margin-right: 2rem;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  color: #A32F29;
  text-decoration: underline;
}

/* Main content */
main {
  padding: 3rem 0;
}

section {
  margin-bottom: 4rem;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #212529;
}

/* Project grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.project-card h3 {
  margin-bottom: 1rem;
  color: #212529;
}

.technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tech-tag {
  background: #e9ecef;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #495057;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.status {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  background: #d4edda;
  color: #155724;
}

/* Article and talk lists */
.article-list,
.talk-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article-card,
.talk-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  background: #fff;
}

.article-card h2,
.article-card h3,
.talk-card h2,
.talk-card h3 {
  margin-bottom: 1rem;
}

.article-card h2 a,
.article-card h3 a,
.talk-card h2 a,
.talk-card h3 a {
  color: #212529;
  text-decoration: none;
}

.article-card h2 a:hover,
.article-card h3 a:hover,
.talk-card h2 a:hover,
.talk-card h3 a:hover {
  color: #CA3B33;
}

.article-meta,
.talk-meta {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.875rem;
  color: #6c757d;
}

.badges {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.badge {
  background: #CA3B33;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.view-all {
  display: inline-block;
  margin-top: 2rem;
  color: #CA3B33;
  text-decoration: none;
  font-weight: 500;
}

.view-all:hover {
  text-decoration: underline;
}

/* Article and talk pages */
.article-page,
.talk-page {
  max-width: 800px;
  margin: 0 auto;
}

.article-header,
.talk-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.article-content,
.talk-content {
  line-height: 1.8;
}

.article-content h1,
.article-content h2,
.article-content h3,
.talk-content h1,
.talk-content h2,
.talk-content h3 {
  margin: 2rem 0 1rem 0;
}

.article-content p,
.talk-content p {
  margin-bottom: 1rem;
}

.article-content ul,
.article-content ol,
.talk-content ul,
.talk-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.article-content blockquote,
.talk-content blockquote {
  border-left: 4px solid #CA3B33;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #6c757d;
}

.article-content code,
.talk-content code {
  background: #f8f9fa;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.article-content pre,
.talk-content pre {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1rem 0;
}

.external-link,
.video-link,
.slides-link {
  display: inline-block;
  margin-top: 1rem;
  color: #CA3B33;
  text-decoration: none;
  font-weight: 500;
}

.external-link:hover,
.video-link:hover,
.slides-link:hover {
  text-decoration: underline;
}

.talk-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.upcoming {
  background: #fff3cd;
  color: #856404;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

/* Footer */
footer {
  background: #f8f9fa;
  padding: 2rem 0;
  border-top: 1px solid #e9ecef;
  margin-top: 4rem;
  text-align: center;
  color: #6c757d;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  .project-grid {
    grid-template-columns: 1fr;
  }
  
  .social-links {
    justify-content: center;
  }
  
  nav a {
    margin-right: 1rem;
  }
  
  .article-meta,
  .talk-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .talk-links {
    flex-direction: column;
  }
}