/* Theme C: Socialist Realism Softened — Deep Blue/Ink palette */
body {
    background-color: #faf8f5;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

.main-nav { background: #1a1a2e; }
.nav-logo { color: #f0ece6; }
.nav-links a { color: #9e9eb0; }
.nav-links a:hover { color: #f0ece6; }
.nav-toggle { color: #9e9eb0; }
.nav-links { background: #1a1a2e; }

.hero-title { color: #1a1a2e; }
.hero-divider { background: #b82832; }
.hero-subtitle { color: #2d2d44; }
.hero-label { color: #b82832; }

.book-page { background: linear-gradient(135deg, #fdfbf8, #f5f2ec); }
.book-page-right { background: linear-gradient(225deg, #fdfbf8, #f5f2ec); }
.book-poem-title { color: #1a1a2e; text-decoration-color: rgba(184,40,50,0.3); }
.book-poem-body { color: #2d2d44; }
.book-poem-meta { color: #6b6b80; }
.book-image-placeholder { background: linear-gradient(145deg, #f0ece6, #e8e4dc); }

.featured-image { background: linear-gradient(135deg, #fdfbf8, #f5f2ec); }
.featured-poem { background: linear-gradient(225deg, #fdfbf8, #f5f2ec); }

.book-cover-title { color: #f0ece6; }
.book-count { color: #6b6b80; }
.bookshelf-ledge { background: linear-gradient(180deg, #5a2028, #3a1018); }
.bookshelf-title { color: #1a1a2e; }

.category-tag {
    border: 1px solid #d4d0c8;
    color: #1a1a2e;
    background: rgba(255,255,255,0.7);
}
.category-tag:hover {
    border-color: #b82832;
    color: #b82832;
}

.breadcrumb { color: #2d2d44; }
.breadcrumb a { color: #2956a8; text-decoration-color: rgba(41,86,168,0.4); }
.poem-nav a { color: #2956a8; }

.search-input {
    background: #fff;
    border-color: #d4d0c8;
    color: #1a1a2e;
}
.search-input:focus {
    border-color: #2956a8;
    outline: none;
}
.search-button {
    background: #b82832;
    color: #fff;
}
.search-button:hover {
    background: #991b25;
}

.poem-card { background: rgba(255,255,255,0.6); }
.poem-card h3 { color: #1a1a2e; }
.poem-card:hover { border-color: rgba(41,86,168,0.2); }

.pagination a {
    color: #1a1a2e;
    border: 1px solid #d4d0c8;
}
.pagination a:hover {
    border-color: #2956a8;
    color: #2956a8;
}
.pagination .active {
    background: #b82832;
    color: #fff;
    border-color: #b82832;
}

.main-footer { color: #2d2d44; }

.section-title { color: #1a1a2e; }

/* Toolbar & UI accents */
.poem-tool-btn {
    color: #2d2d44;
    border-color: #d4d0c8;
}
.poem-tool-btn:hover {
    border-color: #2956a8;
    color: #2956a8;
}
.poem-tool-btn svg {
    stroke: #2d2d44;
}
.poem-tool-btn:hover svg {
    stroke: #2956a8;
}

.scroll-indicator { color: #6b6b80; }

/* Poem of the Day banner */
.potd-banner {
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #b82832;
    padding: 8px 20px;
    margin: 0 auto 10px;
    max-width: 960px;
    border-bottom: 1px solid rgba(184,40,50,0.2);
}
.potd-star { font-size: 9px; margin: 0 6px; opacity: 0.7; }

/* About / Info page prose */
.prose-page {
    max-width: 680px;
    margin: 30px auto;
    padding: 0 20px;
}
.prose-page h1 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.prose-page .prose-divider {
    width: 40px;
    height: 2px;
    background: #b82832;
    margin: 12px 0 24px;
}
.prose-page p {
    font-size: 14px;
    line-height: 1.9;
    color: #2d2d44;
    margin-bottom: 16px;
}
.prose-page .author-photo-wrap {
    float: right;
    margin: 0 0 20px 30px;
    text-align: center;
}
.prose-page .author-photo-wrap img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border: 1px solid rgba(140,120,90,0.25);
    box-shadow: 2px 4px 12px rgba(0,0,0,0.12);
}
.prose-page .author-photo-placeholder {
    width: 160px;
    height: 200px;
    background: linear-gradient(145deg, #f0ece6, #e8e4dc);
    border: 1px solid rgba(140,120,90,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 1px;
    opacity: 0.7;
    color: #5a4e3e;
}

/* Contact page */
.contact-card {
    max-width: 480px;
    margin: 30px auto;
    padding: 30px;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(140,120,90,0.15);
    text-align: center;
}
.contact-card h2 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.contact-card p {
    font-size: 13px;
    color: #2d2d44;
    line-height: 1.8;
    margin-bottom: 16px;
}
.contact-card a.contact-email {
    display: inline-block;
    font-size: 14px;
    color: #2956a8;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.contact-card a.contact-email:hover { color: #b82832; }

/* Footer links */
.main-footer {
    padding: 20px 30px;
    font-size: 11px;
    text-align: center;
    letter-spacing: 1px;
}
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 8px;
}
.footer-links a {
    color: #6b6b80;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
}
.footer-links a:hover { color: #b82832; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.footer-social {
    color: #6b6b80;
    transition: color 0.2s;
    display: flex;
}
.footer-social:hover { color: #2956a8; }

/* Nav dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-toggle {
    cursor: pointer;
    user-select: none;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1a1a2e;
    min-width: 160px;
    padding: 6px 0;
    z-index: 200;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}
.nav-dropdown-menu a {
    display: block;
    padding: 8px 18px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #9e9eb0;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover { color: #f0ece6; background: rgba(255,255,255,0.05); }
