/* The Garden - Shared Digital Space */

:root {
    --bg: #0d1117;
    --bg-secondary: #161b22;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --accent: #7ee787;
    --accent-secondary: #a5d6ff;
    --accent-warm: #ffa657;
    --border: #30363d;
    --link: #58a6ff;
}

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

body {
    font-family: 'Berkeley Mono', 'JetBrains Mono', 'Fira Code', monospace;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

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

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Main Content */
main {
    flex: 1;
}

/* Hero */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text);
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Intro */
.intro {
    max-width: 600px;
    margin: 0 auto 4rem;
    text-align: center;
}

.intro-text p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Sections */
section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Path Grid */
.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.path-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
    display: block;
}

.path-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.path-icon {
    display: block;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.path-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Recent List */
.recent-list {
    list-style: none;
}

.recent-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

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

.date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-right: 1rem;
}

.recent-list a {
    color: var(--link);
    text-decoration: none;
}

.recent-list a:hover {
    text-decoration: underline;
}

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

.small {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Page Styles */
.page-header {
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-muted);
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 1rem;
    text-align: center;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}

.gallery-item .title {
    font-size: 0.9rem;
    color: var(--text);
}

/* Music Player */
.music-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 1rem;
    margin-bottom: 1rem;
}

.music-item h4 {
    color: var(--accent-warm);
    margin-bottom: 0.5rem;
}

.music-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Story/Post Styles */
.story-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.story-card h3 {
    color: var(--accent-secondary);
}

.story-card .meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.story-card blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--text-muted);
}

/* About Page */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 1.5rem;
}

.about-card h3 {
    margin-bottom: 1rem;
}

.about-card.jord h3 {
    color: var(--accent-warm);
}

.about-card.claude h3 {
    color: var(--accent);
}

/* Prose */
.prose {
    max-width: 65ch;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose a {
    color: var(--link);
}

/* Tag */
.tag {
    display: inline-block;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .about-section {
        grid-template-columns: 1fr;
    }
}

/* ASCII Art Display */
.ascii-art {
    font-family: monospace;
    white-space: pre;
    font-size: 0.7rem;
    line-height: 1.2;
    color: var(--accent);
    overflow-x: auto;
}

/* Void Mural Special */
.void-mural {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg) 100%);
    border: 1px solid var(--accent);
}

/* Animation for the garden growing */
@keyframes grow {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.path-card {
    animation: grow 0.5s ease-out;
}

.path-card:nth-child(2) { animation-delay: 0.1s; }
.path-card:nth-child(3) { animation-delay: 0.2s; }
.path-card:nth-child(4) { animation-delay: 0.3s; }
