/* Minimalist Theme Variables */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f9f9f9;
  --bg-card: #ffffff;
  --text-primary: #000000;
  --text-secondary: #555555;
  --border-color: #dddddd;
  --accent-color: #000000;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --container-width: 900px;
  --nav-height: 80px;
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
body>header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: var(--bg-primary);
  /* Fully opaque */
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* Feed Header */
.feed-header {
  padding: 60px 0 60px;
  /* Increased bottom padding */
  border-bottom: 2px solid var(--text-primary);
  margin-bottom: 100px;
  /* Increased margin bottom */
}

.feed-header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -2px;
}

/* Blog Feed */
.blog-feed {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 100px;
}

.post-item {
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.post-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.post-item h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.post-item h2 a {
  color: var(--text-primary);
}

.post-item h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.post-item p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 100%;
}

/* Sections General override for About */
section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}



.read-more:hover {
  color: var(--text-secondary) !important;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-image {
  width: 100%;
  aspect-ratio: 1;
  background-color: #eee !important;
  border-radius: 0;
  /* Square for minimalism */
  margin: 0;
  border: none;
  background-image: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
}

.cta-button {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 600;
  border-radius: 4px;
  margin-top: 10px;
  font-size: 0.9rem;
}

.cta-button:hover {
  background-color: var(--text-secondary);
  transform: none;
  box-shadow: none;
}

/* Footer */
footer {
  padding: 60px 0;
  text-align: left;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.social-links {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.social-links a {
  color: var(--text-secondary);
  font-size: 1rem;
}

.social-links a:hover {
  color: var(--text-primary);
}

.copyright {
  color: #999;
  font-size: 0.85rem;
}