:root {
    /* Dark theme colors only */
    --bg-color: #1a1a1a;
    --text-color: #e5e5e5;
    --text-light: #a0a0a0;
    --text-strong: #ffffff;
    --accent-color: #f59e0b;
    --accent-hover: #d97706;
    --border-color: #333333;
    --border-light: #2a2a2a;
    --code-bg: #2a2a2a;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header {
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

nav {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
}

.nav-left {
    flex-grow: 1;
}

.nav-right {
    flex-shrink: 0;
}

.nav-right a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

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

/* Pure CSS Toggle - Hide the checkbox */
.about-checkbox {
    display: none;
}

.about-toggle-area {
    cursor: pointer;
    display: block;
    width: 100%;
    user-select: none;
    /* Make the entire left area clickable */
    flex: 1;
    margin-right: 30px;
}

.about-toggle {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.about-toggle-area:hover .about-toggle {
    color: var(--accent-hover);
    text-decoration: underline;
}

.toggle-icon {
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 0.8em;
    margin-left: 4px;
}

/* When checkbox is checked, rotate the icon */
.about-checkbox:checked ~ header .about-toggle-area .toggle-icon {
    transform: rotate(180deg);
}

.about-content {
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* When checkbox is checked, show the content */
.about-checkbox:checked ~ main .about-content {
    max-height: 500px;
    margin-bottom: 50px;
}

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

.about-section {
    margin-bottom: 50px;
}

.about-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 25px;
}

/* Featured Posts Section */
.featured-posts {
    margin-top: 0;
    margin-bottom: 50px;
    padding: 30px 0;
}

.featured-posts h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 25px;
}

.post-preview {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
}

.post-preview:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.post-preview a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-preview a:hover .post-title {
    color: var(--accent-color);
}

.post-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.post-teaser {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.all-posts-link {
    text-align: center;
    margin-top: 30px;
}

.all-posts-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 12px 24px;
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.all-posts-link a:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.contact-info h3 {
    font-size: 1.3rem;
    color: var(--text-strong);
    margin-bottom: 15px;
}

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

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    body {
        padding: 20px 15px;
    }

    .header-top {
        flex-direction: column;
        gap: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    nav a {
        display: block;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .about-section h2, .featured-posts h2 {
        font-size: 1.5rem;
    }

    .post-title {
        font-size: 1.2rem;
    }
} 