/* Define CSS variables for light mode defaults */
:root {
  --bg-color: white; /* Body bg */
  --text-color: black; /* Body text */
  --heading-color: #333; /* h1/h2 */
  --accent-color: #ff7518; /* Nav links */
  --accent-hover: #e65c00; /* Link hover (added for consistency) */
  --subtle-text: #666; /* Subtitle, footer */
  --subtle-bg: #f9f9f9; /* Section content */
  --border-color: #ccc; /* Footer border */
  --shadow-color: rgba(0, 0, 0, 0.1); /* Header shadow */
  --footer-link: #ff7518; /* Footer a */
  --footer-link-hover: #e65c00; /* Added for hover consistency */
}

body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
}

h1, h2 {
    color: var(--heading-color);
}

section {
    margin-bottom: 20px;
}

.section-content {
    background-color: var(--subtle-bg);
    padding: 15px;
    border-radius: 5px;
}

.subtitle {
    font-style: italic;
    color: var(--subtle-text);
    margin-top: -10px;
    margin-bottom: 20px;
}

.description {
    margin-bottom: 30px;
    font-size: 1.1em;
}

footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--subtle-text);
    font-size: 0.9em;
}

footer a {
    color: var(--footer-link);
    text-decoration: none;
}

footer a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Header styles */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding: 15px 30px; /* Balanced padding */
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color); /* Subtle border */
    font-family: 'Inter', Arial, sans-serif;
    top: 0;
    z-index: 100;
}

/* Brand/logo styles */
.header-brand a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.5em;
    font-weight: 600;
}

/* Navigation styles */
.header-nav {
    display: flex;
    gap: 25px; /* Increased gap for clarity */
}

.header-nav a {
    text-decoration: none;
    color: var(--accent-color);
    font-size: 1em;
    font-weight: 400;
    transition: color 0.2s ease;
}

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

.header-nav a.active {
    color: var(--hover-color);
    font-weight: 600;
    border-bottom: 2px solid var(--hover-color);
}

/* Responsive design */
/* @media (max-width: 600px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .header-nav {
        flex-direction: column;
        gap: 12px;
        margin: 15px 0;
        width: 100%;
    }

    .header-nav a {
        font-size: 1.1em;
    }

    #dark-mode-toggle {
        position: static;
        align-self: flex-end;
    }
} */