/* =========================================
   TRAVIAN TOOLKIT - LAYOUT
   ========================================= */

:root {
    --gold: #c58a2b;
    --gold-light: #e0a94d;
    --gold-dark: #76501d;
    --text: #f1eee7;
    --text-soft: #c8c3ba;
    --panel: rgba(12, 15, 15, .94);
    --sidebar-width: 250px;
    --right-width: 300px;
}


/* BODY */

body {
    margin: 0;
    background:
        linear-gradient(rgba(5,7,7,.78), rgba(5,7,7,.92)),
        url("../img/backgrounds/background.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text);
}


/* =========================================
   HEADER
   ========================================= */

.siteHeader {
    position: relative;
    height: 390px;
    background:
        linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.25)),
        url("../img/banner/banner.webp");
    background-size: cover;
    background-position: center;
    border-top: 3px solid var(--gold);
    border-bottom: 1px solid var(--gold-dark);
    overflow: hidden;
}

.headerBrand {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.psicotikaLogo {
    position: absolute;
    top: 45px;
    left: 50%;
    width: 390px;
    transform: translateX(-50%);
    filter: drop-shadow(0 5px 7px rgba(0,0,0,.85));
}

.toolkitLogo {
    position: absolute;
    top: 178px;
    left: 50%;
    width: 380px;
    transform: translateX(-50%);
    filter: drop-shadow(0 5px 7px rgba(0,0,0,.85));
}

/* =========================================
   MAIN LAYOUT
   ========================================= */

.siteLayout {
    display: grid;
    grid-template-columns:
        var(--sidebar-width)
        minmax(0,1fr)
        var(--right-width);
    gap: 14px;
    max-width: 1700px;
    margin: 0 auto;
    padding: 14px;
}


/* =========================================
   SIDEBAR
   ========================================= */

.sidebar {
    padding: 16px 14px;
    background: var(--panel);
    border: 1px solid var(--gold-dark);
    border-radius: 8px;
}

.sidebarHeader {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(197,138,43,.3);
}

.sidebarHeader h2 {
    margin: 0;
    color: var(--gold-light);
    font-family: Georgia, serif;
}

.sidebarHeader p {
    margin: 4px 0 0;
    color: var(--text-soft);
    font-size: 13px;
}

.sidebarCrest {
    width: 45px;
}


/* NAVIGATION */

.mainNavigation {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.navItem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 11px;
    color: var(--text);
    text-decoration: none;
    background: rgba(35,27,20,.8);
    border: 1px solid var(--gold-dark);
    border-radius: 7px;
}

.navItem img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.navItem:hover {
    border-color: var(--gold-light);
}

.navItem.active {
    background: #a96f21;
    border-color: var(--gold-light);
}


/* =========================================
   MAIN CONTENT
   ========================================= */

.mainContent {
    min-width: 0;
}


/* WELCOME */

.welcomePanel {
    padding: 18px 22px;
    background:
        linear-gradient(rgba(10,13,13,.9), rgba(10,13,13,.8)),
        url("../img/backgrounds/background.webp");
    background-size: cover;
    border: 1px solid var(--gold-dark);
    border-radius: 8px;
}

.welcomeTitle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.welcomeTitle img {
    width: 36px;
}

.welcomeTitle h1 {
    margin: 0;
    color: var(--gold-light);
    font: 24px Georgia, serif;
}

.welcomePanel p {
    margin: 7px 0 0;
}


/* =========================================
   RIGHT SIDEBAR
   ========================================= */

.rightSidebar {
    min-width: 0;
}

.quickAccess,
.quotePanel {
    background: var(--panel);
    border: 1px solid var(--gold-dark);
    border-radius: 8px;
}

.panelTitle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    color: var(--gold-light);
    font: 17px Georgia, serif;
}

.panelTitle img {
    width: 32px;
}

.quickAccess > a {
    display: grid;
    grid-template-columns: 32px 1fr 12px;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    color: var(--text);
    text-decoration: none;
    border-top: 1px solid rgba(197,138,43,.2);
}

.quickAccess > a img {
    width: 30px;
    height: 30px;
}

.quickAccess > a b {
    color: var(--gold-light);
}


/* QUOTE */

.quotePanel {
    margin-top: 14px;
    padding: 25px 20px;
    background:
        linear-gradient(rgba(8,10,10,.85), rgba(8,10,10,.92)),
        url("../img/backgrounds/background.webp");
    background-size: cover;
}

.quotePanel p {
    color: var(--gold-light);
    font: 20px/1.4 Georgia, serif;
}


/* =========================================
   FOOTER
   ========================================= */

.siteFooter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1700px;
    min-height: 65px;
    margin: 0 auto 14px;
    padding: 10px 22px;
    background: var(--panel);
    border: 1px solid var(--gold-dark);
    border-radius: 8px;
}

.footerCopyright,
.footerPhrase {
    color: #a47a37;
    font-size: 11px;
}

.footerSocial {
    display: flex;
    gap: 10px;
}

.footerSocial a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--gold-light);
    text-decoration: none;
    border: 1px solid var(--gold-dark);
    border-radius: 50%;
}

.footerPhrase img {
    width: 45px;
    vertical-align: middle;
}