/* --- General & Typography --- */
:root {
    --background: oklch(0.98 0 0);
    --foreground: oklch(0.2 0 0);
    --primary: oklch(0.55 0.2 250);
    --primary-foreground: oklch(0.98 0 0);
    --secondary: oklch(0.96 0.03 250);
    --secondary-foreground: oklch(0.2 0 0);
    --muted: oklch(0.96 0 0);
    --muted-foreground: oklch(0.45 0 0);
    --accent: oklch(0.9 0.03 250);
    --accent-foreground: oklch(0.2 0 0);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.2 0 0);
    --border: oklch(0.85 0 0);
    --radius: 0.75rem;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.site-header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-branding h1 {
    margin: 0;
}

.site-branding h1 a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.site-navigation ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-navigation a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
}

.site-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.2s ease;
}

.site-navigation a:hover::after {
    width: 100%;
}

/* Main Content */
main {
    flex: 1;
    padding: 4rem 0;
}

/* Post List */
.post-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
}

.post-list-item {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.post-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.post-list-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-list-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-list-item h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.post-list-item h2 a {
    color: var(--foreground);
    text-decoration: none;
}

.post-list-item h2 a:hover {
    color: var(--primary);
}

.post-excerpt {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    flex: 1;
}

.post-meta {
    color: var(--muted-foreground);
    font-size: 0.75rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Single Post */
.post {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.post h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Footer */
.site-footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 4rem 1rem;
    margin-top: auto;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-links span {
    color: var(--muted-foreground);
    font-weight: 500;
}

.social-links a {
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-links a:hover {
    color: var(--primary);
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.copyright {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}

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

    .site-navigation {
        display: none;
    }

    .post h1 {
        font-size: 2rem;
    }
}

/* About Page */
.about-page {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.about-photo img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.about-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.interests-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.interests-list li {
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .about-page {
        grid-template-columns: 1fr;
    }
}

/* Featured Post */
.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.featured-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-content {
    padding: 2rem;
}

.featured-post-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.featured-post-content h2 a {
    color: var(--foreground);
    text-decoration: none;
}

.featured-post-content h2 a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .featured-post {
        grid-template-columns: 1fr;
    }
}

/* Now Page */
.now-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.now-card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure equal height in grid */
}

.now-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

/* Add Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
