/* ------------------------------
   ROOT VARIABLES
------------------------------ */
:root {
  --accent: #4f7cff;
  --accent-dark: #3a5dcc;
  --bg: #ffffff;
  --text: #1a1a1a;
  --radius: 8px;
  --max-width: 760px;
}

[data-theme=dark] {
  --bg: #0f0f0f;
  --text: #e6e6e6;
}

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

body {
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 2rem;
  max-width: var(--max-width);
  margin: auto;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ------------------------------
   HEADERS
------------------------------ */
h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 0.6rem;
}

h1 {
  font-size: 2rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.3rem;
}

/* ------------------------------
   LINKS
------------------------------ */
a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: var(--accent-dark);
}

/* ------------------------------
   NAVIGATION
------------------------------ */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.nav-left {
  display: flex;
  gap: 1rem;
}

nav a {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.05);
}

[data-theme=dark] nav a {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme=dark] nav a {
  background: rgba(255, 255, 255, 0.08);
}

/* ------------------------------
   CARDS (for lists of posts/projects)
------------------------------ */
.card {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.04);
  margin-bottom: 1rem;
  transition: background 0.2s ease;
}

.card:hover {
  background: rgba(0, 0, 0, 0.07);
}

[data-theme=dark] .card {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme=dark] .card:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ------------------------------
   DARK MODE TOGGLE BUTTON
------------------------------ */
/* MINIMAL ICON TOGGLE */
#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  padding: 0.2rem;
  color: var(--text);
}

#theme-toggle:hover {
  opacity: 0.7;
}

#theme-icon {
  pointer-events: none;
}

/* PAGE LAYOUT */
.page {
  padding: 1rem 0;
}

.page h1 {
  margin-bottom: 1rem;
}

.page-content {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 80ch;
}

.page-content h2,
.page-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-content p {
  margin-bottom: 1rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

[data-theme=dark] footer {
  border-color: rgba(255, 255, 255, 0.1);
}

.hero-404 {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.hero-404 h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-404 p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.hero-404 .button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}

.hero-404 .button:hover {
  background: var(--accent-dark);
}

.list-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.post-date {
  opacity: 0.6;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/*# sourceMappingURL=style.css.map */