/* Modern minimalist blog design */
:root {
    --primary-color: #f8f9fa;
    --secondary-color: #e9ecef;
    --accent-color: #4263eb;
    --text-color: #212529;
    --light-text: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background-color: white;
}

.profile {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.profile-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.profile-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.profile-content p {
    font-size: 1.2rem;
    color: var(--light-text);
}

/* Recent Posts Section */
.recent-posts {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.recent-posts h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
}

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

.post-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.post-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.post-date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    text-decoration: underline;
}

/* Blog Posts Page */
.blog-header,
.about-header {
    background-color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.blog-header h2,
.about-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-header p,
.about-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.blog-posts {
    background-color: var(--primary-color);
    padding: 4rem 0;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.post-item {
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.post-item:hover {
    transform: translateY(-3px);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-date,
.post-category {
    color: var(--light-text);
    font-size: 0.9rem;
}

.post-category {
    background-color: var(--secondary-color);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

.post-title {
    margin-bottom: 1rem;
    font-size: 1.6rem;
    color: var(--text-color);
}

.post-excerpt {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

/* About Page */
.about-content {
    background-color: white;
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-bio h3,
.pinned-posts h3,
.about-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-color);
}

.about-bio p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

.pinned-posts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pinned-post-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pinned-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.pinned-indicator {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.pinned-post-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.pinned-post-card .post-date {
    margin-bottom: 0.75rem;
}

.pinned-post-card .post-excerpt {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 0.75rem;
}

.about-contact {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.about-contact p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.contact-link {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: white;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .profile {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .pinned-posts-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pinned-posts-list {
        grid-template-columns: 1fr;
    }
}

/* About Bio Styling */
.about-bio {
    padding: 1rem;
    background-color: white;
    /* border-radius: 8px; */
    /* box-shadow: var(--shadow); */
}

.bio-intro {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    /* border-left: 3px solid var(--accent-color); */
    padding-left: 1rem;
    padding-bottom: 2rem;
}

.bio-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    /* border-bottom: 1px solid var(--border-color); */
}

.bio-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-title {
    position: relative;
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 3px;
}

.bio-list {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.bio-list li {
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.7;
}

.bio-list li:last-child {
    margin-bottom: 0;
}

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

.bio-section a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.bio-section a:hover {
    text-decoration: underline;
}

.bio-section strong {
    font-weight: 600;
    color: var(--text-color);
}

.bio-footer {
    font-style: italic;
    margin-top: 1.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border-color);
}

/* Media queries - these should be added to your existing media queries */
@media (max-width: 768px) {
    .bio-intro {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
}

.bio-highlight h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.bio-highlight p {
    margin-bottom: 0.5rem;
    line-height: 1.7;
} 