/* =========================================================
   BLACKFEATHER — MAIN SITE STYLES
   ========================================================= */

/* ---------------------------------------------------------
   1. SITE COLORS
   --------------------------------------------------------- */

:root {
    /* BlackFeather's organic foundation */
    --bg-color: #26372d;
    --container-bg: #f4f0e7;
    --text-color: #252a26;

    /* Botanical green */
    --accent-green: #315b43;
    --accent-green-dark: #234332;

    /* Cool technological accent */
    --accent-tech: #557b83;
    --accent-amber: #a45a2a;
    
    /* Archive paper */
    --paper-dark: #e5dece;
    --paper-light: #faf8f2;

    /* Structural elements */
    --border-color: #b7b9a9;
    --muted-text: #5d625c;
    --footer-text: #70756e;
}

/* ---------------------------------------------------------
   2. BASIC PAGE SETTINGS
   --------------------------------------------------------- */

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    background-color: var(--bg-color);

    background-image: url("photos/newblackfeather-background.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: var(--text-color);
    font-family: "Source Serif 4", Georgia, serif;

    margin: 0;
    padding: 40px 20px;

    display: flex;
    justify-content: center;

    min-height: 100vh;

    position: relative;
    overflow-x: hidden;
}

/* ---------------------------------------------------------
   3. HEADINGS
   --------------------------------------------------------- */

h1,
h2,
h3,
.subtitle {
    font-family: "Caudex", Georgia, serif;
}

/* ---------------------------------------------------------
   4. LISTS
   --------------------------------------------------------- */

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ---------------------------------------------------------
   5. ARCHIVE CONTAINER
   --------------------------------------------------------- */

.archive-container {
    background-color: var(--container-bg);
    border: 1px solid var(--border-color);
    outline: 1px solid rgba(244, 240, 231, 0.35);
    outline-offset: 4px;

    max-width: 1040px;
    width: 100%;
    padding: 45px;

    box-shadow:
        0 12px 35px rgba(20, 30, 24, 0.18),
        0 0 0 1px rgba(20, 30, 24, 0.08);

    border-radius: 6px;
}

/* ---------------------------------------------------------
   6. HEADER
   --------------------------------------------------------- */

header {
    text-align: center;

    border-bottom: 1px dashed var(--border-color);

    padding: 5px 0 28px 0;
    margin-bottom: 35px;
}
h1 {
    color: var(--accent-green);
    font-size: 2.65rem;
    margin: 0 0 12px 0;
    letter-spacing: 1px;
    line-height: 1.15;
}

.subtitle {
    font-style: italic;
    color: var(--accent-amber);
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.5;
}
header::after {
    content: "◇";
    display: block;

    margin-top: 18px;

    color: var(--accent-tech);
    font-size: 0.85rem;
    letter-spacing: 4px;
}

/* ---------------------------------------------------------
   7. INTRODUCTION
   --------------------------------------------------------- */

.intro-text {
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1.05rem;
}
/* ---------------------------------------------------------
   ARCHIVAL SEAL
   --------------------------------------------------------- */

/* ---------------------------------------------------------
   ARCHIVE SECTION DIVIDER
   --------------------------------------------------------- */

.archive-section-heading {
    display: flex;
    align-items: center;
    gap: 16px;

    margin: 35px 0 20px 0;

    color: var(--accent-green);
    font-family: "Caudex", Georgia, serif;
    font-size: 0.85rem;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.archive-section-heading::before,
.archive-section-heading::after {
    content: "";
    height: 1px;
    background-color: var(--border-color);
    flex: 1;
}

.archive-section-heading span {
    white-space: nowrap;
}
/* ---------------------------------------------------------
   SEAL DECORATIVE FRAME
   --------------------------------------------------------- */

.seal-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    margin: 35px auto;
    width: 100%;
}

.seal-decoration {
    display: flex;
    align-items: center;
    flex: 1;

    max-width: 300px;
}

.seal-decoration span {
    display: block;
    height: 1px;
    background-color: var(--border-color);
    flex: 1;
}

.seal-decoration i {
    display: block;

    width: 12px;
    height: 12px;

    border: 1px solid var(--border-color);
    border-radius: 50%;

    margin: 0 8px;

    position: relative;
}

.seal-decoration i::after {
    content: "";

    position: absolute;

    width: 4px;
    height: 4px;

    background-color: var(--border-color);

    border-radius: 50%;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
}
.archive-seal {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 35px auto;
}

.seal-image {
    display: block;
    width: 280px;
    height: auto;
}

/* ---------------------------------------------------------
   8. NAVIGATION CARDS
   --------------------------------------------------------- */

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.nav-card {
    position: relative;
    background-color: var(--container-bg);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    padding-left: 20px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 4px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

/* Navigation title */
.nav-category {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-tech);
    margin-bottom: 4px;
}
.nav-title {
    font-family: "Caudex", Georgia, serif;
    font-weight: bold;
    color: var(--accent-green);
    font-size: 1.15rem;
}

/* Navigation description */

.nav-desc {
    font-size: 0.9rem;
    color: var(--muted-text);
    margin-top: 4px;
}

/* Navigation arrow */

.arrow {
    color: var(--accent-amber);
    font-weight: bold;
    transition: transform 0.3s ease;
}

/* ---------------------------------------------------------
   9. FOOTER
   --------------------------------------------------------- */

/* ---------------------------------------------------------
   10. STEALTH MODE
   --------------------------------------------------------- */

.stealth-mode {
    --bg-color: #0b0202;
    --container-bg: #170909;
    --text-color: #cfc2c2;
    --accent-green: #ff3333;
    --accent-amber: #7d8590;
    --border-color: #571616;
}


/* ---------------------------------------------------------
   11. MOBILE
   --------------------------------------------------------- */
/* ---------------------------------------------------------
   MOBILE LAYOUT
   --------------------------------------------------------- */

@media (max-width: 700px) {
    .seal-frame {
        gap: 8px;
    }

    .seal-decoration {
        max-width: 55px;
    }

    .seal-decoration i {
        display: none;
    }
    body {
        padding: 20px 10px;
    }

    .archive-container {
        padding: 30px 20px;
        border-radius: 5px;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.15;
    }

    .subtitle {
        font-size: 1rem;
    }

    header {
        padding-bottom: 22px;
        margin-bottom: 28px;
    }

    .intro-text {
        font-size: 1rem;
    }

    .archive-seal {
        margin: 30px auto;
    }

    .seal-image {
        width: 190px;
        max-width: 80%;
    }

    .seal-title {
        font-size: 0.65rem;
    }

    .seal-motto {
        font-size: 0.82rem;
    }

    .archive-section-heading {
        font-size: 0.75rem;
        gap: 10px;
    }

    .nav-card {
        padding: 16px;
    }

    .nav-title {
        font-size: 1.05rem;
    }

    .nav-desc {
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .stealth-btn {
        max-width: 100%;
        font-size: 0.72rem;
    }
}
@media (hover: hover) and (pointer: fine) {
    .nav-card:hover {
        transform: translateX(10px) translateY(-2px);
        border-color: var(--accent-green);
        background-color: var(--paper-dark);
        box-shadow: 0 6px 18px rgba(45, 90, 63, 0.16);
    }

    .nav-card:hover::before {
        left: 8px;
        opacity: 1;
    }

    .nav-card:hover .arrow {
        transform: translateX(4px);
    }
}
/* ---------------------------------------------------------
   FOOTER & STEALTH MODE
   --------------------------------------------------------- */

footer {
    text-align: center;
    margin-top: 35px;
    font-size: 0.85rem;
    color: var(--footer-text);
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.stealth-btn {
    display: inline-block;

    margin-bottom: 18px;
    padding: 9px 16px;

    background-color: transparent;
    color: var(--muted-text);

    border: 1px solid var(--border-color);
    border-radius: 3px;

    font-family: "Source Serif 4", Georgia, serif;
    font-size: 0.78rem;
    letter-spacing: 0.5px;

    cursor: pointer;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.stealth-btn:hover {
    color: var(--accent-green);
    border-color: var(--accent-green);
    background-color: var(--paper-dark);
    transform: translateY(-1px);
}

.footer-credit {
    line-height: 1.5;
}
@media (max-width: 700px) {
    body {
        padding: 20px 12px;
    }

    .archive-container {
        padding: 25px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    .nav-card {
        padding: 15px;
    }
}

