/* Modern minimalist style */
:root {
    --primary-color: #333;
    --background-color: #fff;
    --accent-color: #0066cc;
    --text-color: #333;
    --spacing: 2rem;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing);
}

header {
    margin-bottom: var(--spacing);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
}

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

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

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

main {
    min-height: 70vh;
}

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

.hero img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 2rem;
    object-fit: cover;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing);
    margin: var(--spacing) 0;
}

.content-card {
    background: #f9f9f9;
    padding: var(--spacing);
    border-radius: 4px;
    transition: transform 0.2s;
}

.content-card:hover {
    transform: translateY(-2px);
}

.pdf-container {
    margin: var(--spacing) 0;
    padding: var(--spacing);
    background: #f9f9f9;
    border-radius: 4px;
}

footer {
    margin-top: var(--spacing);
    padding-top: var(--spacing);
    border-top: 1px solid #eee;
    text-align: center;
    color: #666;
}

/* About page styles */
.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: var(--spacing);
}

.about-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.about-content section {
    margin-bottom: var(--spacing);
}

/* Work page styles */
.project-date {
    color: #666;
    font-size: 0.9rem;
}

.project-tags {
    margin: 1rem 0;
}

.tag {
    background: #f0f0f0;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

/* Music page styles */
.music-player {
    margin: 1rem 0;
    width: 100%;
}

/* Philosophy page styles */
.post-date {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* PDF container styles */
.pdf-embed {
    width: 100%;
    height: 800px;
    border: 1px solid #eee;
    margin: var(--spacing) 0;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .about-container {
        padding: 0 1rem;
    }
    
    .pdf-embed {
        height: 500px;
    }
}

.question-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.question-table th,
.question-table td {
    border: 1px solid #ddd;
    padding: 1rem;
    vertical-align: top;
}

.question-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.question-table td {
    line-height: 1.6;
}

.email-container {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 4px;
    margin: 2rem 0;
    border-left: 4px solid #0066cc;
}

.email-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.email-body {
    line-height: 1.8;  /* Increased from 1.6 */
    white-space: normal;  /* Changed from pre-wrap */
}

.email-body p {
    margin-bottom: 1rem;  /* Add spacing between paragraphs */
}
