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

/* BASE */
body {
    background-color: #0b0f14;
    color: #e6edf3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* HOMEPAGE ONLY (centered layout) */
.home {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home .container {
    text-align: center;
}

/* GENERAL CONTAINER */
.container {
    width: 100%;
    padding: 20px;
}

/* HEADINGS */
h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* SUBTEXT */
.subtitle {
    color: #8b949e;
    font-size: 1rem;
    margin-bottom: 25px;
}

/* NAV LINKS */
.links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.links a {
    text-decoration: none;
    color: #8b949e;
    border: 1px solid #30363d;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.links a:hover {
    color: #e6edf3;
    border-color: #58a6ff;
}

/* BLOG + CONTENT LAYOUT */
.blog-container {
    text-align: left;
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

/* BLOG LIST */
.blog-section-container {
    text-align: center;
    max-width: 400px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-section {
    text-align: justify;
    margin-bottom: 30px;
    margin-top: 30px;
}

.blog-section h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-section ul {
    list-style: none;
}

.blog-section li {
    margin-bottom: 8px;
}

.blog-section a {
    color: #8b949e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-section a:hover {
    color: #58a6ff;
}

/* POST */
.post-meta {
    text-align: center;
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

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

.post-content h2 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.post-content p {
    margin-bottom: 15px;
    color: #c9d1d9;
}

.post-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 6px;
}

pre {
    background: #161b22;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
}

code {
    color: #e6edf3;
    font-family: monospace;
    font-size: 0.9rem;
}

.post-content img {
    width: 100%;
    border-radius: 8px;
    margin: 15px 0;
}

/* PROJECTS */
.project-list {
    margin-top: 30px;
}

.project {
    border: 1px solid #30363d;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background: #0d1117;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.project:hover {
    transform: translateY(-3px);
    border-color: #58a6ff;
}

.project h2 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

/* INLINE STATUS */
.project-status {
    font-size: 0.8rem;
    color: #8b949e;
    font-weight: normal;
    margin-left: 6px;
}

/* DESCRIPTION */
.project-desc {
    color: #8b949e;
    margin-bottom: 12px;
}

/* TAGS */
.project-tags {
    margin-bottom: 12px;
    margin-top: 12px;
}

.project-tags span {
    display: inline-block;
    font-size: 0.75rem;
    color: #8b949e;
    border: 1px solid #30363d;
    padding: 3px 8px;
    border-radius: 999px;
    margin-right: 6px;
}

/* PROJECT LINKS*/
.project-links {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.project-links a {
    text-decoration: none;
    color: #c9d1d9;
    border: 1px solid #30363d;
    background: #161b22;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    transition: all 0.15s ease;
}

.project-links a:hover {
    color: #ffffff;
    border-color: #8b949e;
    background: #1c2128;
    transform: translateY(-1px);
}

/* FEATURED PROJECT */
.featured {
    border-color: #8b949e;
    background: linear-gradient(180deg, #0d1117, #0b0f14);
}