/* Basic Reset and Body Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif; /* Using Google Font, fall back to sans-serif */
    background-color: #1a1a1a; /* Dark background */
    color: #e0e0e0; /* Light text color */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 960px; /* Max width for content */
    margin: 0 auto; /* Center the content */
    padding: 0 20px; /* Padding on the sides for smaller screens */
}

/* Header and Navigation */
.header {
    background-color: #1a1a1a;
    padding: 20px 0;
    border-bottom: 1px solid #333; /* Subtle line below header */
    display: flex;
    justify-content: space-between; /* Space between title and nav */
    align-items: center;
    position: sticky; /* Make header sticky */
    top: 0;
    z-index: 1000; /* Ensure it stays on top */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 1.8em; /* Size of "BLOG" title */
    font-weight: 700; /* Bold */
    letter-spacing: 2px;
    color: #ffffff; /* White color for title */
}

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

.nav-links li {
    margin-left: 30px; /* Space between nav items */
}

.nav-links a {
    color: #b0b0b0; /* Lighter grey for nav links */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff; /* White on hover */
}

/* Blog Posts Section */
.blog-posts {
    padding: 40px 0;
}

.post {
    margin-bottom: 40px; /* Space between posts */
    padding-bottom: 20px;
    border-bottom: 1px solid #282828; /* Separator between posts */
}

.post:last-child {
    border-bottom: none; /* No border for the last post */
}

.post-date {
    font-size: 0.9em;
    color: #888; /* Grey for dates */
    margin-bottom: 5px;
}

.post-title {
    font-size: 2em; /* Larger title font */
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}

.post-title a {
    color: #ffffff; /* White for post titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #4a90e2; /* Blue on hover for titles */
}

.post-description {
    font-size: 1.1em;
    color: #c0c0c0; /* Slightly darker grey for descriptions */
    margin-bottom: 0;
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 0.9em;
}
