CSS

body, p, h1, h2, h3, li, a {
  font-family: 'EB Garamond', 'Garamond', 'Georgia', serif;
  font-style: italic;
}

body {
  font-family: 'EB Garamond', 'Garamond', 'Georgia', serif; 
  font-style: italic;
  font-size: 1.15rem; /* Slightly larger base size, as Garamond runs a bit small */
  line-height: 1.6;
  color: #2b2b2b; /* A soft charcoal ink color */
  background-color: #f7fafc;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Headers */
h1, h2 {
  color: #1a202c;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

/* Links */
a {
  color: #3182ce;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
}

/* Lists */
ol, ul {
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

/* --- Header & Navigation --- */

.site-header {
  background-color: #2e4a3b; /* Deep forest green */
  padding: 1rem 0;
  margin-bottom: 2rem;
  width: 100%;

  /* --- Sticky Positioning Additions --- */
  position: sticky; /* Makes the header stick when scrolling */
  top: 0;           /* Pins the top edge of the header to the top of the screen */
  z-index: 1000;    /* Ensures the header sits ON TOP of all other page content */
}

.nav-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: bold;
  color: #f7fafc !important; /* Soft off-white */
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-bottom: 0;
}

.nav-links a {
  color: #e2e8f0;
  text-decoration: none;
}

.nav-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}
#reading-tracker {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: system-ui, -apple-system, sans-serif;
    color: #24292e;
}

#reading-tracker h2 {
    margin-bottom: 24px;
    font-size: 1.8rem;
}

#stats-dashboard {
    margin-bottom: 30px;
}

.stat-card {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.stat-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.progress-bar-container {
    background: #e1e4e8;
    border-radius: 6px;
    height: 14px;
    width: 100%;
    overflow: hidden;
    margin-top: 12px;
}

#progress-fill {
    background: #2ea44f;
    height: 100%;
    width: 0%;
    transition: width 0.6s ease-in-out;
}

#charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.chart-wrapper {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.chart-wrapper h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #586069;
}
