/* Color Palette — Purple Theme */
:root {
    --burgundy-light: #E8DDE5;
    --burgundy-medium: #9984D4;
    --burgundy-dark: #592E83;
    --gold-muted: #A6809D;
    --gold-light: #6699b2;
    --gold-pale: #D4C8E8;
    --neutral-light: #F0ECF7;
    --neutral-medium: #D4C8E8;
    --neutral-dark: #230C33;
    --text-primary: #1A0828;
    --text-secondary: #3D2460;
    --text-light: #8A7A9A;
    --parchment: #F0ECF7;
    --paper: #F7F4FC;
    --wood-dark: #230C33;
    --wood-medium: #592E83;
    --wood-light: #9984D4;
    --burgundy: #592E83;
    --cream: #FAF7FF;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--parchment);
    overflow-x: hidden;
    animation: pageFadeIn 0.4s ease forwards;
}

body.page-exit {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Reading Progress Bar */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--gold-muted), var(--gold-light));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--burgundy-dark);
    color: var(--gold-pale);
    border: 2px solid var(--gold-muted);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--gold-muted);
    color: white;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Homemade Apple', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header and Navigation */
.header {
    background: rgba(35, 12, 51, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold-muted);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Homemade Apple', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

.logo:hover {
    color: var(--gold-pale);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #C8B8E8;
    font-weight: 400;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-light);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold-muted);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--gold-pale);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(160deg, #E8DDE5 0%, var(--parchment) 50%, #F0ECF7 100%);
    text-align: center;
    border-bottom: 1px solid var(--neutral-medium);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    color: var(--burgundy-dark);
    margin-bottom: 1rem;
    font-size: 4rem;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--burgundy-medium);
    color: white;
}

.btn-primary:hover {
    background-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(153, 132, 212, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--burgundy-dark);
    border-color: var(--burgundy-medium);
}

.btn-secondary:hover {
    background-color: var(--burgundy-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--burgundy);
    border-color: var(--burgundy);
}

.btn-outline:hover {
    background-color: var(--burgundy);
    color: var(--cream);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    color: var(--wood-medium);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::before {
    content: '';
    display: block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 3px solid var(--burgundy-dark);
    background-image: url('Favicon1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold-muted), transparent);
}

/* Featured Poetry Section */
.featured-poetry {
    background-color: var(--paper);
}

.poetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.poetry-card {
    background: var(--cream);
    border-radius: 4px;
    padding: 2.5rem 2.5rem 2rem;
    box-shadow: 2px 4px 12px rgba(35, 12, 51, 0.12), 0 1px 3px rgba(35, 12, 51, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--neutral-medium);
    border-top: 3px solid var(--gold-muted);
    position: relative;
}

.poetry-card::before {
    content: '§';
    position: absolute;
    top: 0.6rem;
    right: 1.2rem;
    color: var(--gold-muted);
    font-size: 0.9rem;
    opacity: 0.6;
    font-family: Georgia, serif;
}

.poetry-card:hover {
    transform: translateY(-4px);
    box-shadow: 3px 8px 20px rgba(35, 12, 51, 0.15);
}

.poetry-content h3 {
    color: var(--burgundy-medium);
    margin-bottom: 1rem;
}

.poetry-excerpt {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    white-space: pre-line;
}

.read-more {
    color: var(--burgundy-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--burgundy-medium);
}

/* About Preview Section */
.about-preview {
    background-color: var(--neutral-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    max-width: 500px;
}

.about-btn-center {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-image {
    width: 100%;
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.btn-outline{
    align-items: center;
    justify-content: center;
}
.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--burgundy-light) 0%, var(--burgundy-medium) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
}

.image {
    width: 500px;
    height: 500px;
    border-radius: 15px;
    object-fit: cover;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #230C33 0%, #1A0828 100%);
    color: white;
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--gold-muted);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--gold-pale);
    margin-bottom: 1rem;
    font-style: italic;
}

.footer-info p {
    color: var(--neutral-light);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--neutral-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid var(--text-light);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--wood-dark);
        border-top: 1px solid var(--gold-muted);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .container {
        padding: 0 1rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .poetry-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* About Page Styles */
.authors-section {
    background-color: var(--paper);
    padding: 5rem 0;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.author-card {
    background: linear-gradient(135deg, var(--neutral-light) 0%, white 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.author-image {
    height: 300px;
    background: linear-gradient(135deg, var(--burgundy-light) 0%, var(--burgundy-medium) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
}

.author-content {
    padding: 2rem;
}

.author-content h3 {
    color: var(--burgundy-dark);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.author-title {
    color: var(--gold-muted);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 1rem;
}

.author-bio {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.author-approach h4 {
    color: var(--burgundy-medium);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.author-approach p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.collaboration-section {
    background-color: var(--neutral-light);
    padding: 5rem 0;
}

.collaboration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.collaboration-text {
    max-width: 600px;
}

.collaboration-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.quote {
    border-left: 4px solid var(--gold-muted);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
}

.quote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--burgundy-dark);
    margin-bottom: 1rem;
}

.quote cite {
    color: var(--text-secondary);
    font-style: normal;
    font-weight: 500;
}

.collaboration-image {
    height: 400px;
    background: linear-gradient(135deg, var(--burgundy-medium) 0%, var(--burgundy-light) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
}

.philosophy-section {
    background-color: var(--paper);
    padding: 5rem 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-card {
    background: var(--neutral-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--neutral-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.philosophy-card h3 {
    color: var(--burgundy-dark);
    margin-bottom: 1rem;
}

.philosophy-card p {
    line-height: 1.6;
}

/* Responsive adjustments for about page */
@media (max-width: 768px) {
    .authors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .collaboration-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .quote {
        padding-left: 1rem;
    }
}

/* Books Page Styles */
.books-section {
    background-color: var(--paper);
    padding: 5rem 0;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.book-card {
    background: linear-gradient(135deg, var(--neutral-light) 0%, white 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    grid-template-columns: 200px 1fr;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.book-cover {
    background:
        linear-gradient(to right, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 12%, transparent 20%),
        linear-gradient(135deg, #230C33 0%, var(--burgundy) 60%, var(--burgundy-medium) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-style: italic;
    position: relative;
}

.book-placeholder {
    width: 80%;
    height: 90%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.book-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.book-content h3 {
    color: var(--burgundy-dark);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.book-subtitle {
    color: var(--gold-muted);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 1rem;
}

.book-description {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.book-details {
    margin-bottom: 1.5rem;
}

.book-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.book-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.book-actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.featured-poem-section {
    background-color: var(--neutral-light);
    padding: 5rem 0;
}

.featured-poem {
    max-width: 680px;
    margin: 3rem auto 0;
    background: var(--cream);
    border-radius: 3px;
    padding: 3.5rem 4rem;
    box-shadow: 2px 6px 20px rgba(35, 12, 51, 0.15), -2px 2px 8px rgba(35, 12, 51, 0.06);
    border-top: 3px solid var(--gold-muted);
    border-bottom: 3px solid var(--gold-muted);
    position: relative;
}

.featured-poem::before,
.featured-poem::after {
    content: '✦';
    position: absolute;
    color: var(--gold-muted);
    font-size: 0.85rem;
    opacity: 0.7;
}

.featured-poem::before {
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.featured-poem::after {
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.poem-header {
    text-align: center;
    margin-bottom: 2rem;
}

.poem-header h3 {
    color: var(--burgundy-dark);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.poem-source {
    color: var(--text-secondary);
    font-style: italic;
}

.poem-content {
    text-align: center;
    margin-bottom: 2rem;
}

.poem-line {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.poem-footer {
    text-align: right;
}

.poem-author {
    font-style: italic;
    color: var(--text-secondary);
    font-weight: 500;
}

.reviews-section {
    background-color: var(--paper);
    padding: 5rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: var(--neutral-light);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--neutral-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.review-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.review-author {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.review-rating {
    text-align: right;
}

.stars {
    color: var(--gold-muted);
    font-size: 1.125rem;
}

/* Responsive adjustments for books page */
@media (max-width: 768px) {
    .book-card {
        grid-template-columns: 1fr;
    }

    .book-cover {
        height: 250px;
    }

    .featured-poem {
        margin: 2rem 1rem;
        padding: 2rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .books-grid {
        grid-template-columns: 1fr;
    }

    .book-actions {
        flex-direction: column;
    }

    .book-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Blog Page Styles */
.blog-categories {
    background-color: var(--neutral-light);
    padding: 2rem 0;
    border-bottom: 1px solid var(--neutral-medium);
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    background: transparent;
    border: 2px solid var(--neutral-medium);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--burgundy-medium);
    border-color: var(--burgundy-medium);
    color: white;
}

.blog-posts {
    background-color: white;
    padding: 5rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.post-card {
    background: var(--neutral-light);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--neutral-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.post-date {
    font-weight: 500;
}

.post-author {
    font-style: italic;
}

.post-category {
    background-color: var(--burgundy-light);
    color: var(--burgundy-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.post-title {
    color: var(--burgundy-dark);
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0;
}

.post-content {
    margin-bottom: 1.5rem;
}

.post-excerpt {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.featured-poem-snippet {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--gold-muted);
    margin-top: 1rem;
}

.poem-line {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.post-footer {
    text-align: right;
}

.read-more {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    color: var(--burgundy-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--burgundy-medium);
}

.post-full {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.post-full.expanded {
    max-height: 600px;
    margin-top: 1rem;
}

.post-full p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.post-full p:last-child {
    margin-bottom: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.pagination-btn {
    background: transparent;
    border: 2px solid var(--burgundy-medium);
    color: var(--burgundy-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--burgundy-medium);
    border-color: var(--burgundy-medium);
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    color: var(--text-secondary);
    font-weight: 500;
}

.newsletter-section {
    background: linear-gradient(135deg, var(--burgundy-light) 0%, var(--burgundy-medium) 100%);
    padding: 5rem 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid var(--neutral-medium);
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--burgundy-medium);
}

.newsletter-form .btn {
    border-radius: 50px;
}

.newsletter-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive adjustments for blog page */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-filters {
        gap: 0.5rem;
    }

    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input {
        width: 100%;
        max-width: 400px;
    }

    .pagination {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .post-card {
        padding: 1.5rem;
    }

    .post-title {
        font-size: 1.25rem;
    }

    .newsletter-section {
        padding: 3rem 0;
    }
}

/* Contact Page Styles */
.contact-section {
    background-color: var(--paper);
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    max-width: 500px;
}

.contact-info p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--neutral-light);
    border-radius: 15px;
    border: 1px solid var(--neutral-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--burgundy-light) 0%, var(--burgundy-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy-dark);
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.method-content h3 {
    color: var(--burgundy-medium);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.method-content p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.contact-link {
    color: var(--burgundy-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--burgundy-medium);
}

.contact-blurb {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border: 2px solid var(--burgundy-medium);
    border-radius: 50px;
    color: var(--burgundy-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    background-color: var(--burgundy-medium);
    color: white;
}

.contact-form-section {
    max-width: 600px;
}

.contact-form {
    background: var(--neutral-light);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--neutral-medium);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:not(.checkbox-group) label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--neutral-medium);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--burgundy-medium);
    box-shadow: 0 0 0 3px rgba(153, 132, 212, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid var(--neutral-medium);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: var(--burgundy-medium);
    border-color: var(--burgundy-medium);
}

.checkbox-label input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-actions {
    text-align: center;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    margin-bottom: 0;
}

.form-success {
    background:(--burgundy-dark);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid var(--gold-muted);
    text-align: center;
}

.success-message h3 {
    color: var(--burgundy-light);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-primary, gold-pale);
    margin: 0;
}

.community-section {
    background-color: var(--neutral-light);
    padding: 5rem 0;
}

.community-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.community-text {
    max-width: 640px;
    width: 100%;
    text-align: center;
}

.community-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.community-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.community-link {
    display: block;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--neutral-medium);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
    justify-content: center;
}   

.community-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.community-link h4 {
    color: var(--burgundy-dark);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.community-link p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.community-image {
    height: 400px;
    background: linear-gradient(135deg, var(--burgundy-light) 0%, var(--burgundy-medium) 100%);
    border-radius: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    color: var(--text-light);
    font-style: italic;
}

/* Responsive adjustments for contact page */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .community-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .community-links {
        align-items: center;
    }

    .community-link {
        max-width: 400px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .method-icon {
        margin: 0 auto;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .checkbox-label {
        align-items: flex-start;
    }
}

/* =============================================
   Book & Library Theme Enhancements
   ============================================= */

/* Ornamental section divider */
.book-ornament {
    text-align: center;
    margin: 1rem 0 2rem;
    color: var(--gold-muted);
    font-size: 1.25rem;
    letter-spacing: 0.5rem;
    font-family: Georgia, serif;
    opacity: 0.8;
}

.book-ornament::before { content: '— '; }
.book-ornament::after  { content: ' —'; }

/* Drop cap for poem openers */
.poem-dropcap::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    float: left;
    line-height: 0.75;
    margin-right: 0.15em;
    color: var(--wood-medium);
}

/* Author image placeholders styled as portrait frames */
.author-image {
    background: linear-gradient(160deg, #D4CCF0 0%, #C8B8E8 100%) !important;
    position: relative;
}

.author-image .image-placeholder {
    background: rgba(89, 46, 131, 0.08) !important;
    border: 3px solid rgba(89, 46, 131, 0.2) !important;
    border-radius: 4px !important;
    width: 55% !important;
    height: 70% !important;
    box-shadow: inset 0 0 20px rgba(89, 46, 131, 0.1);
}

.author-image .image-placeholder::before {
    content: '✦';
    display: block;
    color: rgba(89, 46, 131, 0.3);
    font-size: 2rem;
    text-align: center;
    padding-top: 1.5rem;
}

/* Bookplate style for author cards */
.author-card {
    border: 1px solid var(--neutral-medium) !important;
    border-top: 3px solid var(--gold-muted) !important;
}

/* Collaboration image placeholder as map/illustration frame */
.collaboration-image,
.community-image {
    background: linear-gradient(160deg, #D4CCF0 0%, #C8B8E8 60%, #B4A8DC 100%) !important;
    border: 2px solid var(--neutral-medium) !important;
}

/* Quote block — like a book epigraph */
.quote {
    border-left: 3px solid var(--gold-muted) !important;
    background: rgba(240, 236, 247, 0.5);
    padding: 1.5rem 2rem !important;
    border-radius: 0 4px 4px 0;
}

/* Newsletter section — library card catalogue feel */
.newsletter-section {
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-medium) 100%) !important;
    color: var(--parchment);
}

.newsletter-section .section-title {
    color: var(--gold-pale) !important;
}

.newsletter-section .section-title::before {
    color: var(--gold-pale) !important;
}

.newsletter-section p {
    color: var(--gold-pale) !important;
    opacity: 0.9;
}

.newsletter-form input {
    background: rgba(240, 236, 247, 0.12) !important;
    border-color: rgba(153, 132, 212, 0.4) !important;
    color: var(--parchment) !important;
}

.newsletter-form input::placeholder {
    color: rgba(240, 236, 247, 0.6);
}

.newsletter-note {
    color: rgba(240, 236, 247, 0.7) !important;
}

/* Blog post cards — slightly warmer pages */
.post-card {
    background: var(--cream) !important;
    border-top: 2px solid var(--gold-muted) !important;
}

/* Community links — like library card catalogue drawers */
.community-link {
    background: var(--cream) !important;
    border-left: 3px solid var(--gold-muted) !important;
    border-radius: 2px !important;
}

/* Review cards — testimonial scrolls */
.review-card {
    background: var(--cream) !important;
    border-left: 3px solid var(--gold-muted) !important;
    border-radius: 2px 4px 4px 2px !important;
}

/* Form inputs — warm on parchment */
.form-group input,
.form-group select,
.form-group textarea {
    background: var(--cream) !important;
    border-color: var(--neutral-medium) !important;
    font-family: 'EB Garamond', Georgia, serif !important;
    font-size: 1rem !important;
}

.contact-form {
    background: var(--parchment) !important;
    border: 1px solid var(--neutral-medium) !important;
    border-top: 3px solid var(--gold-muted) !important;
    border-radius: 4px !important;
}

/* Philosophy cards — framed principles */
.philosophy-card {
    border-top: 2px solid var(--gold-muted) !important;
    border-radius: 3px !important;
}

/* Headings in cards */
h1, h2, h3 {
    letter-spacing: 0.01em;
}

/* Responsive: keep parchment on mobile */
@media (max-width: 768px) {
    .about-image img {
        width: 100%;
        height: auto;
    }
}

/* =============================================
   Poetry Spotlight
   ============================================= */

.poetry-spotlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.spotlight-stage {
    flex: 1;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-poem {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.spotlight-poem.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.spotlight-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--burgundy-dark);
    margin-bottom: 1.25rem;
}

.spotlight-verse {
    font-family: 'EB Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-primary);
    border: none;
    margin: 0 0 1rem;
    padding: 0;
}

.spotlight-author {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: normal;
}

.spotlight-btn {
    background: none;
    border: 2px solid var(--gold-muted);
    color: var(--gold-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1;
}

.spotlight-btn:hover {
    background: var(--gold-muted);
    color: white;
}

.spotlight-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.spotlight-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--gold-muted);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
}

.spotlight-dot.active {
    background: var(--gold-muted);
}

/* =============================================
   Nav Search
   ============================================= */

.nav-search {
    position: relative;
}

.nav-search::before {
    content: '⌕';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-muted);
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.nav-search-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--gold-muted);
    border-radius: 50px;
    padding: 0.4rem 1rem 0.4rem 2.1rem;
    color: var(--gold-pale);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 0.95rem;
    width: 200px;
    transition: width 0.3s ease, border-color 0.3s ease;
}

.nav-search-input::placeholder {
    color: rgba(232, 207, 160, 0.5);
}

.nav-search-input:focus {
    outline: none;
    border-color: var(--gold-light);
    width: 260px;
    background: rgba(255, 255, 255, 0.12);
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 320px;
    background: var(--neutral-dark);
    border: 1px solid var(--gold-muted);
    border-radius: 10px;
    overflow: hidden;
    z-index: 2000;
    display: none;
}

.search-dropdown.open {
    display: block;
}

.search-result-item {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(184, 134, 11, 0.2);
    transition: background-color 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover,
.search-result-item.highlighted {
    background: rgba(255, 255, 255, 0.07);
}

.search-result-title {
    color: var(--gold-pale);
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.2rem;
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-result-type {
    font-size: 0.7rem;
    color: var(--gold-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--gold-muted);
    border-radius: 3px;
    padding: 0.1rem 0.4rem;
}

.search-result-snippet {
    font-size: 0.8rem;
    color: rgba(232, 207, 160, 0.6);
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.search-no-results {
    padding: 1rem;
    color: rgba(232, 207, 160, 0.5);
    font-style: italic;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-search {
        display: none;
    }
}

