/* --- A Dual-Theme Professional Style ---
 * Light Mode: Product Hunt Inspired
 * Dark Mode:  Indie Hackers Inspired
/* --- */

/* --- 1. COLOR PALETTE DEFINITION (CSS VARIABLES) --- */
:root {
  /* Light Mode (Product Hunt) Palette */
  --bg-primary-color: #ffffff;
  --bg-secondary-color: #ffffff;
  
  --text-primary-color: #212529;
  --text-secondary-color: #6c757d;
  
  --border-color: #e5e7eb;
  
  --accent-primary-color: #da552f;  /* Product Hunt's signature orange-red */
  --accent-hover-color: #cc4d29;
  
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --card-hover-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* --- Dark Mode (Indie Hackers) Palette Override --- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary-color: #1a202c;
    --bg-secondary-color: #2d3748;

    --text-primary-color: #e2e8f0;
    --text-secondary-color: #a0aec0;

    --border-color: #4a5568;

    --accent-primary-color: #48bb78;  /* Indie Hacker's signature green */
    --accent-hover-color: #68d391;
    
    --card-shadow: none; /* No shadow in dark mode */
    --card-hover-shadow: none;
  }
}


/* --- 2. GENERAL STYLES (Using the Defined Variables) --- */

/* --- General Body & Layout --- */
body {
  font-family: 'Lora', serif;
  line-height: 1.8;
  color: var(--text-primary-color);
  background-color: var(--bg-primary-color);
  max-width: 850px;
  margin: 0 auto;
  padding: 0 1.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

main {
  padding: 2rem 0;
}

/* --- Links --- */
a {
  color: var(--accent-primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  text-decoration: underline;
  color: var(--accent-hover-color);
}

/* --- Header & Footer --- */
.site-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 3rem;
}
.site-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary-color);
}
.site-title:hover {
  text-decoration: none;
  color: var(--text-primary-color);
}
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
  margin-top: 5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary-color);
}

/* --- Typography Hierarchy --- */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary-color);
}
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 {
  font-size: 1.75rem;
  margin-top: 4rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}
h3 { font-size: 1.25rem; margin-top: 2.5rem; margin-bottom: 1rem; }

p { margin-bottom: 1.5rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
li { margin-bottom: 0.75rem; }

strong {
  font-weight: 700;
  color: var(--accent-primary-color); /* Strong text uses the theme's accent color */
}
hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 4rem 0;
}

/* --- Homepage Card Grid --- */
.group-heading {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary-color);
  border: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  display: block;
  background-color: var(--bg-secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary-color); /* Border always lights up on hover */
  box-shadow: var(--card-hover-shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: var(--text-primary-color); /* Card titles are primary text color */
}

.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-secondary-color);
  line-height: 1.6;
}

/* --- Report Specific Styles --- */
.report-meta {
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary-color);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* --- List Styling --- */
ol, ul {
  padding-left: 2rem;
}

ol li {
  color: var(--text-primary-color);
}

/* Styling for nested lists (quotes) */
ol li ul {
    list-style-type: none;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    margin-left: 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--accent-primary-color); /* Quote border uses the theme's accent */
}

/* Styling for the quote text itself */
ol li ul li {
    font-style: italic;
    color: var(--text-secondary-color);
    padding-left: 0;
}



.site-title {
font-family: 'Inter', sans-serif;
font-weight: 700;
font-size: 1.5rem;
color: var(--text-primary-color);
display: flex;
align-items: center;
}
.site-title:hover {
text-decoration: none;
color: var(--text-primary-color);
}
.site-logo {
  height: 100px; /* You can adjust this value */
  margin-right: 30px; /* Optional: increased space slightly */
}