* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #111;
    line-height: 1.6;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-profile-pic {
    display: flex;
    align-items: center;
}

.header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    transition: all 0.2s ease;
}

.header-avatar:hover {
    background-color: #e8e8e8;
    transform: scale(1.05);
}

.nav-brand {
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    color: #111;
}

.nav-right {
    font-size: 0.95rem;
    color: #666;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #111;
}

.hero {
    text-align: center;
    padding: 8rem 1rem 4rem;
    max-width: 650px;
    margin: 0 auto;
}

.profile-pic {
    margin-bottom: 1.5rem;
}

.placeholder-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 32px;
    color: #666;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.intro {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
}

.container {
    max-width: 650px;
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem; /* Added top padding to account for fixed header */
}

section {
    margin-bottom: 4rem;
}

/* Page content styling */
#page-content {
    line-height: 1.7;
}

#page-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

#page-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 3rem 0 1.5rem 0;
}

#page-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

#page-content p {
    margin-bottom: 1.5rem;
    color: #333;
}

#page-content a {
    color: #0066cc;
    text-decoration: none;
}

#page-content a:hover {
    text-decoration: underline;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.post {
    margin-bottom: 1.5rem;
}

.post-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: color 0.2s ease;
}

.post-link:hover h3 {
    color: #0066cc;
}

.post h3 {
    font-weight: 500;
    line-height: 1.4;
}

.date {
    color: #999;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

ul {
    list-style: none;
    margin-bottom: 1rem;
}

ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    color: #999;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
}

/* Simple page transitions */
.page-fade-out {
    opacity: 0;
}

/* Smooth content transitions */
#page-content, #post-container {
    transition: opacity 0.3s ease;
}

@media (max-width: 600px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-left {
        gap: 0.5rem;
    }
    
    .header-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .nav-brand {
        font-size: 1rem;
    }
    
    .nav-right {
        font-size: 0.85rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .placeholder-avatar {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
    
    .container {
        padding: 5rem 1rem 3rem; /* Reduced top padding for mobile */
    }
    
    section {
        margin-bottom: 3rem;
    }
}