/*
Theme Name: Gorila39 Minimalist
Theme URI: https://gorila39.id
Description: Clean minimalist blog theme with single column layout
Version: 1.0
Author: Gorila39
License: GPL v2 or later
*/

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

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
    font-size: 16px;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 30px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #1a1a1a;
    text-decoration: none;
}

.site-title:hover {
    opacity: 0.7;
}

.header-nav {
    display: flex;
    gap: 30px;
    list-style: none;
}

.header-nav a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #d4501a;
}

/* Hero */
.hero {
    padding: 60px 40px;
    text-align: center;
    background: #ffffff;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Posts */
.posts-container {
    padding: 60px 0;
}

.post-card {
    padding: 40px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.post-card:last-child {
    border-bottom: none;
}

.post-card h2 {
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #1a1a1a;
}

.post-card h2 a {
    color: #1a1a1a;
    text-decoration: none;
}

.post-card h2 a:hover {
    color: #d4501a;
}

.post-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.post-excerpt {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.post-link {
    display: inline-block;
    color: #d4501a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.post-link:hover {
    opacity: 0.7;
}

/* Single post */
.single-post {
    padding: 60px 0;
}

.single-post h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.single-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.post-content {
    color: #444;
    line-height: 1.9;
}

.post-content h2 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: #1a1a1a;
    font-weight: 600;
}

.post-content h3 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: #1a1a1a;
}

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

.post-content ul, .post-content ol {
    margin: 15px 0 15px 30px;
}

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

.post-content a {
    color: #d4501a;
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: #f8f8f8;
    border-top: 1px solid #f0f0f0;
    padding: 50px 40px;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #d4501a;
    text-decoration: none;
    margin: 0 15px;
    font-size: 13px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .post-card h2 {
        font-size: 22px;
    }
    
    .single-post h1 {
        font-size: 28px;
    }
    
    .header-inner, .container {
        padding: 0 20px;
    }
}
