/*
Theme Name: Zen Ninja
Theme URI: https://zenninja.life
Author: Alex Selles
Description: A minimalist dark theme for Zen Ninja - black background with clean white typography
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zenninja
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.8;
    font-size: 18px;
    font-weight: 300;
}

.site-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    padding: 40px 0 30px;
    border-bottom: 1px solid #222;
    margin-bottom: 60px;
}

.site-title {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.site-title a {
    color: #ffffff;
    text-decoration: none;
}

.site-title a:hover {
    color: #999;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: #999;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #ffffff;
}

/* Main Content */
.site-main {
    padding: 0 0 80px;
    min-height: 60vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    margin: 50px 0 25px;
    line-height: 1.4;
    color: #ffffff;
    letter-spacing: 1px;
}

h1 { font-size: 2.2rem; font-weight: 200; }
h2 { font-size: 1.8rem; margin-top: 70px; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 1.5em;
    color: #cccccc;
    font-weight: 300;
}

/* Blockquotes */
blockquote {
    border-left: 1px solid #444;
    padding-left: 30px;
    margin: 40px 0;
    font-style: italic;
    color: #999;
    font-weight: 300;
}

blockquote p {
    margin-bottom: 0.8em;
    color: #999;
    font-size: 0.95rem;
}

/* Horizontal Rules */
hr {
    border: none;
    border-top: 1px solid #222;
    margin: 60px 0;
}

/* Links */
a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #444;
    transition: all 0.3s ease;
}

a:hover {
    color: #999;
    text-decoration-color: #666;
}

/* Lists */
ul, ol {
    margin: 20px 0 20px 40px;
    color: #cccccc;
}

li {
    margin-bottom: 10px;
    font-weight: 300;
}

/* Footer */
.site-footer {
    border-top: 1px solid #222;
    padding: 40px 0;
    text-align: center;
    margin-top: 80px;
}

.copyright {
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 1px;
    font-weight: 300;
}

.copyright p {
    margin: 0;
    color: #555;
}

/* Blog Posts */
.post {
    margin-bottom: 80px;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 2.2rem;
    margin: 0 0 15px;
    font-weight: 200;
}

.entry-title a {
    color: #ffffff;
    text-decoration: none;
}

.entry-title a:hover {
    color: #999;
}

.entry-meta {
    font-size: 0.75rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    blockquote {
        padding-left: 20px;
    }
}

/* Comments Section */
.comments-area {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #222;
}

.comments-title {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list li {
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #111;
}

.comment-author {
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
}

.comment-meta {
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 15px;
}

.comment-content p {
    color: #cccccc;
    margin-bottom: 1em;
}

.comment-reply-link {
    font-size: 0.75rem;
    color: #999;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comment-reply-link:hover {
    color: #ffffff;
}

/* Comment Form */
.comment-form {
    margin-top: 60px;
}

.comment-reply-title {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    color: #999;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    background-color: #111;
    border: 1px solid #222;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.comment-form input[type=text]:focus,
.comment-form input[type=email]:focus,
.comment-form input[type=url]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #444;
    background-color: #0a0a0a;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button,
.comment-form input[type=submit] {
    background-color: #222;
    color: #ffffff;
    border: 1px solid #444;
    padding: 12px 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 300;
}

.submit-button:hover,
.comment-form input[type=submit]:hover {
    background-color: #333;
    border-color: #666;
}

.no-comments {
    color: #666;
    font-style: italic;
}

/* Comment form field notes */
.comment-form .optional {
    color: #666;
    font-weight: 300;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: normal;
}

.comment-form .required {
    color: #999;
}

.comment-form-math {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #222;
}

.comment-form-math label {
    color: #cccccc;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: normal;
}

.comment-form-math input[type=text] {
    width: 80px;
}

/* Homepage Two-Column Layout */
.homepage-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 80px;
    align-items: start;
}

.main-content {
    min-width: 0;
}

.homepage-sidebar {
    position: sticky;
    top: 40px;
}

/* Sidebar Widget Styling */
.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 0.85rem;
    font-weight: 300;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #222;
}

.recent-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-posts-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #111;
}

.recent-posts-list li:last-child {
    border-bottom: none;
}

.recent-posts-list a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.recent-posts-list a:hover {
    color: #999;
}

.post-date {
    display: block;
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.view-all-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #999;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #ffffff;
}

.no-posts {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

/* Responsive - Stack on mobile */
@media (max-width: 768px) {
    .homepage-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .homepage-sidebar {
        position: static;
        border-top: 1px solid #222;
        padding-top: 60px;
    }
}

/* Site Intro Styling */
.site-intro {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #bbb;
    margin-bottom: 1.5em;
    font-weight: 300;
}

.site-intro:first-of-type {
    font-size: 1.15rem;
    color: #ddd;
    margin-top: 0;
}
