/* Aristotle Website Styles */

:root {
  --bg-dark: #0d0d0d;
  --bg-section: #141414;
  --cream: #f5f0e6;
  --cream-muted: #c4bfb3;
  --brown: #3d2b1f;
  --brown-light: #5c4433;
  --text-primary: #f5f0e6;
  --text-secondary: #a09a8f;
  --accent: #8b7355;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.logo {
  width: 1600px;
  max-width: 95vw;
  height: auto;
  margin-bottom: 2rem;
}

.tagline {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--cream-muted);
  max-width: 600px;
}

/* About Section */
.about {
  padding: 6rem 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.about h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2.5rem;
  color: var(--cream);
  margin-bottom: 2rem;
}

.about p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about p:first-of-type {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.about .emphasis {
  color: var(--cream);
  font-weight: 500;
}

.about .no-ai {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.25rem;
  color: var(--cream);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--brown-light);
}

/* Blog Preview Section */
.blog-preview {
  padding: 4rem 2rem;
  background: var(--bg-section);
}

.blog-preview h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.75rem;
  color: var(--cream);
  text-align: center;
  margin-bottom: 2rem;
}

.blog-preview .posts {
  max-width: 720px;
  margin: 0 auto;
}

.blog-preview .post-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--brown);
}

.blog-preview .post-item:last-child {
  border-bottom: none;
}

.blog-preview .post-item a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.125rem;
}

.blog-preview .post-item a:hover {
  color: var(--cream);
}

.blog-preview .post-item time {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.blog-preview .all-posts {
  text-align: center;
  margin-top: 2rem;
}

.blog-preview .all-posts a {
  color: var(--accent);
  text-decoration: none;
}

.blog-preview .all-posts a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--brown);
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
}

.site-footer a:hover {
  color: var(--cream);
}

/* Blog Page */
.blog-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.blog-page h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2rem;
  color: var(--cream);
  margin-bottom: 3rem;
}

.blog-page .post-list {
  list-style: none;
}

.blog-page .post-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--brown);
}

.blog-page .post-list a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.25rem;
}

.blog-page .post-list a:hover {
  color: var(--cream);
}

.blog-page .post-list time {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Post Page */
.post-nav {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--brown);
}

.post-nav a {
  color: var(--text-secondary);
  text-decoration: none;
}

.post-nav a:hover {
  color: var(--cream);
}

.post {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.post-header h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2.5rem;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-header time {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.post-content {
  font-size: 1.125rem;
  line-height: 1.9;
}

.post-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.post-content h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin: 3rem 0 1.5rem;
}

.post-content h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 2rem 0 1rem;
}

.post-content a {
  color: var(--accent);
}

.post-content code {
  background: var(--bg-section);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.post-content pre {
  background: var(--bg-section);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.post-content pre code {
  background: none;
  padding: 0;
}

.post-content ul, .post-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.post-content li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    padding: 1.5rem;
  }

  .logo {
    width: 640px;
  }

  .tagline {
    font-size: 1.25rem;
  }

  .about h2 {
    font-size: 2rem;
  }

  .post-header h1 {
    font-size: 1.75rem;
  }
}
