/* Carry the Blade - Main Stylesheet */
/* Dark fantasy archival aesthetic */

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

body {
    background-color: #1a1614;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.05) 2px,
            rgba(0, 0, 0, 0.05) 4px
        );
    color: #d4c5b0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.8;
    padding: 20px;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(35, 30, 27, 0.6);
    border: 1px solid #3d3530;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
    padding: 40px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #4a3f38;
}

h1 {
    font-size: 2.5em;
    color: #b8996f;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.subtitle {
    font-size: 0.9em;
    color: #8a7d6f;
    font-style: italic;
    letter-spacing: 1px;
}

/* Navigation */
nav {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #4a3f38;
    border-bottom: 1px solid #4a3f38;
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

nav a {
    color: #b8996f;
    text-decoration: none;
    font-size: 1.1em;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #d4af7a;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #8b4513;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Main Content */
main {
    margin: 40px 0;
}

h2 {
    font-size: 1.8em;
    color: #b8996f;
    font-weight: normal;
    margin: 30px 0 15px 0;
    border-bottom: 1px solid #4a3f38;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.3em;
    color: #a08968;
    font-weight: normal;
    margin: 25px 0 10px 0;
}

p {
    margin-bottom: 20px;
    text-indent: 30px;
}

p:first-of-type {
    text-indent: 0;
}

/* Entry metadata */
.entry-meta {
    font-size: 0.85em;
    color: #7a6f60;
    margin: 15px 0;
    padding-left: 20px;
    border-left: 2px solid #4a3f38;
    text-indent: 0;
}

/* Block quotes / testimonials */
blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background-color: rgba(20, 18, 16, 0.5);
    border-left: 3px solid #8b4513;
    font-style: italic;
    color: #c4b5a0;
}

blockquote p {
    text-indent: 0;
    margin-bottom: 10px;
}

.attribution {
    text-align: right;
    font-size: 0.9em;
    color: #8a7d6f;
    margin-top: 10px;
}

/* Separator */
hr {
    border: none;
    border-top: 1px solid #4a3f38;
    margin: 40px 0;
    opacity: 0.5;
}

.ornamental-break {
    text-align: center;
    margin: 40px 0;
    color: #4a3f38;
    font-size: 1.5em;
}

/* Footer */
footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #4a3f38;
    text-align: center;
    font-size: 0.85em;
    color: #6a5f54;
    font-style: italic;
}

/* Links */
a {
    color: #a08968;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #c4af8a;
}

/* Warning/Note boxes */
.warning {
    background-color: rgba(90, 30, 20, 0.3);
    border: 1px solid #6b3025;
    padding: 20px;
    margin: 25px 0;
}

.note {
    background-color: rgba(40, 40, 30, 0.3);
    border: 1px solid #4a4a38;
    padding: 20px;
    margin: 25px 0;
    font-size: 0.95em;
}

/* Lists */
ul, ol {
    margin: 20px 0 20px 40px;
}

li {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
}
