/* Customizable variables - edit these to change your site's appearance */
/* Color palette inspired by Ilya Repin's "Barge Haulers on the Volga" */
:root {
    --background-color: #E8DCC4;  /* light sandy/beige from the Volga riverbank */
    --text-color: #5C4A33;        /* dark golden brown */
    --nav-link-color: #C97064;    /* reddish-pink from the figure's blush (for nav) */
    --nav-link-hover-color: #A85B52;  /* deeper rose on hover (for nav) */
    --content-link-color: #607D8B;    /* muted blue from Volga sky/water */
    --content-link-visited-color: #455A64;  /* darker muted blue for visited */
    --font-family: Georgia, 'Times New Roman', serif;
    --font-size: 18px;
    --line-height: 1.6;
    --max-width: 700px;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: var(--font-size);
    line-height: var(--line-height);
    padding: 20px;
}

/* Global link styles - override browser defaults */
a {
    color: var(--content-link-color);
}

a:visited {
    color: var(--content-link-visited-color);
}

a:hover {
    color: var(--content-link-color);
}

/* Navigation */
nav {
    max-width: var(--max-width);
    margin: 0 auto 40px;
    padding: 20px 0;
    text-align: right;
}

nav a {
    color: var(--nav-link-color) !important;
    text-decoration: none;
    margin-left: 20px;
    font-size: 16px;
    text-transform: capitalize;
}

nav a:visited {
    color: var(--nav-link-color) !important;
}

nav a:hover {
    color: var(--nav-link-hover-color) !important;
}

/* Main content container */
main {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Home page content */
.home-content {
    margin-bottom: 40px;
}

.home-content p {
    margin-bottom: 20px;
}

.home-content a {
    color: var(--content-link-color);
    text-decoration: none;
}

.home-content a:visited {
    color: var(--content-link-visited-color);
}

.home-content a:hover {
    text-decoration: underline;
}

.home-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    display: block;
}

/* Blog list page */
.blog-list ul {
    list-style: none;
}

.blog-list li {
    margin-bottom: 15px;
}

.blog-list a {
    color: var(--nav-link-color);
    text-decoration: none;
    font-size: 20px;
}

.blog-list a:visited {
    color: var(--nav-link-hover-color);
}

.blog-list a:hover {
    color: var(--nav-link-hover-color);
    text-decoration: underline;
}

/* Blog post page */
.post h1 {
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.post-content {
    margin-top: 20px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content a {
    color: var(--content-link-color);
    text-decoration: none;
}

.post-content a:visited {
    color: var(--content-link-visited-color);
}

.post-content a:hover {
    text-decoration: underline;
}

/* Footnotes */
.footnotes {
    margin-top: 40px;
    font-size: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
        padding: 15px;
    }

    nav {
        margin-bottom: 30px;
        padding: 15px 0;
    }

    nav a {
        font-size: 14px;
        margin-right: 15px;
    }

    .blog-list a {
        font-size: 18px;
    }

    .post h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
        padding: 10px;
    }

    nav a {
        font-size: 13px;
        margin-right: 10px;
    }

    .blog-list a {
        font-size: 16px;
    }

    .post h1 {
        font-size: 20px;
    }
}
