:root {
    --primary-color: #2563eb;
    --text-color: #1f2937;
    --background-color: #ffffff;
    --secondary-background: #f3f4f6;
    --purple: #4B0082;
}

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

body {
    font-family: Georgia, serif;
    line-height: 1.6;
    color: #222;
    background: var(--background-color);
    padding: 0;
    margin: 0;
}

.main-nav {
    background-color: var(--background-color);
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
}

.nav-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

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

.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 3rem;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 2rem 0 3rem 0;
    color: #000;
}

h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem 0;
    color: #000;
}

h3 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: #000;
}

p {
    margin: 1.5rem 0;
    font-size: 1.25rem;
    line-height: 1.7;
}

a {
    color: var(--purple);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Blog post styling */
.blog-post {
    font-size: 1.25rem;
    line-height: 1.7;
}

.post-header {
    margin-bottom: 4rem;
}

.post-meta {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.post-content {
    font-family: Georgia, serif;
}

.post-content h2 {
    margin-top: 4rem;
}

.post-content p {
    margin: 1.5rem 0;
}

.post-content ul, .post-content ol {
    margin: 1.5rem 0;
    padding-left: 2.5rem;
}

.post-content li {
    margin: 0.75rem 0;
}

/* Blog index styling */
.blog-index h2 {
    margin: 1rem 0 3rem 0;
    font-size: 2.5rem;
}

.post-preview {
    margin-bottom: 4rem;
}

.post-preview h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
}

.post-preview h2 a {
    color: #000;
    text-decoration: none;
}

.post-preview h2 a:hover {
    color: var(--purple);
}

.post-preview .excerpt {
    margin: 1rem 0;
    font-size: 1.25rem;
}

/* Compact blog list styling */
.post-list.compact {
    display: grid;
    gap: 1rem;
}

.post-preview.compact {
    margin-bottom: 0;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 2rem;
}

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

.post-preview.compact time {
    color: #666;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    flex-shrink: 0;
    width: 160px;
    text-align: left;
}

.post-preview.compact h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 500;
    flex-grow: 1;
}

.post-preview.compact h3 a {
    color: #000;
    text-decoration: none;
}

.post-preview.compact h3 a:hover {
    color: var(--purple);
}

.read-more {
    display: inline-block;
    color: var(--purple);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Latest Posts Section */
.latest-posts {
    margin: 4rem 0;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.latest-posts h2 {
    margin-bottom: 3rem;
    color: var(--purple);
}

.post-previews {
    display: grid;
    gap: 3rem;
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

.view-all .read-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: var(--purple);
    text-decoration: none;
    font-weight: 500;
}

/* Footer */
footer {
    margin-top: 6rem;
    padding: 3rem;
    text-align: center;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 1rem;
}

/* Responsive design */
@media (max-width: 1000px) {
    .content {
        max-width: 95%;
        padding: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 1.5rem;
    }

    .nav-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Compact blog list mobile styling */
    .post-preview.compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .post-preview.compact time {
        min-width: auto;
        font-size: 0.9rem;
    }

    .post-preview.compact h3 {
        font-size: 1.2rem;
    }
}

#success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--secondary-background);
    border-radius: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: #1d4ed8;
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 1rem;
    }
}

/* Specific sizing for music notation */
.post-content img {
    width: 800px;  /* fixed width to match your example */
    height: auto;
    display: block;
    margin: 2rem auto;
}

/* Responsive handling for smaller screens */
@media (max-width: 840px) {  /* 800px + some padding */
    .post-content img {
        width: 100%;
        min-width: 300px;
    }
}

/* Specific styling for music notation images */
.post-content img[src*="Screenshot"] {
    max-width: 800px;  /* or whatever width works best for your notation */
    width: 100%;
    margin: 2rem auto;
    display: block;
} 