/* =========================================================
   HEADER — BLUES
   ========================================================= */

header
{
    position: relative;

    width: 100%;
    height: 150px;

    box-sizing: border-box;

    margin: 0;
    padding: 8px;

    background:
        linear-gradient(
            to bottom,
            #17232d,
            #101820 55%,
            #0b1116
        );

    border: 2px solid #8b6840;

    box-shadow:
        inset 0 0 0 2px #252f35,
        inset 0 0 18px rgba(0,0,0,.8),
        0 4px 10px rgba(0,0,0,.45);

    overflow: hidden;
}


/* =========================================================
   CONTENU
   ========================================================= */

header .content
{
    position: relative;

    width: 100%;
    height: 100%;

    display: grid;

    grid-template-columns:
        300px
        minmax(300px, 1fr)
        40px;

    align-items: center;

    gap: 10px;
}


/* =========================================================
   COINS ORNEMENTAUX
   ========================================================= */

.header-corner
{
    position: absolute;

    width: 28px;
    height: 28px;

    border-color: #9b7648;
    border-style: solid;

    opacity: .8;

    pointer-events: none;
}

.corner-tl
{
    top: 4px;
    left: 4px;

    border-width: 2px 0 0 2px;
}

.corner-tr
{
    top: 4px;
    right: 4px;

    border-width: 2px 2px 0 0;
}

.corner-bl
{
    bottom: 4px;
    left: 4px;

    border-width: 0 0 2px 2px;
}

.corner-br
{
    bottom: 4px;
    right: 4px;

    border-width: 0 2px 2px 0;
}


/* =========================================================
   PARTIE GAUCHE
   ========================================================= */

.header-left
{
    position: relative;

    height: 100%;

    display: flex;
    align-items: center;

    gap: 12px;

    padding-left: 18px;

    box-sizing: border-box;
}


/* =========================================================
   GUITARE
   ========================================================= */

.guitar-logo
{
    width: 65px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.guitar-logo img
{
    max-width: 100%;
    max-height: 115px;

    object-fit: contain;

    filter:
        sepia(.25)
        contrast(1.1)
        drop-shadow(2px 3px 2px rgba(0,0,0,.7));
}


/* =========================================================
   TITRE
   ========================================================= */

.header-title
{
    position: relative;

    display: flex;
    flex-direction: column;

    justify-content: center;

    min-width: 0;
}


.header-title-main
{
    display: flex;
    align-items: baseline;

    white-space: nowrap;

    line-height: 1;
}


.site-name
{
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(30px, 3vw, 48px);

    font-weight: bold;

    color: #e8d3a6;

    text-shadow:
        2px 2px 0 #17110c,
        0 0 5px rgba(0,0,0,.7);
}


.separator
{
    margin: 0 8px;

    font-size: 28px;

    color: #b17a3c;
}


.section-name
{
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(24px, 2.3vw, 36px);

    font-weight: normal;

    color: #8ca6b7;

    text-shadow:
        1px 2px 0 #111;
}


.header-subtitle
{
    margin-top: 8px;
    margin-left: 3px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;

    font-style: italic;

    letter-spacing: 1px;

    color: #c6a875;

    text-shadow:
        1px 1px 2px #000;
}


/* petite ligne décorative sous le sous-titre */

.header-subtitle::before,
.header-subtitle::after
{
    content: "—";

    margin: 0 7px;

    color: #8c683d;
}


/* =========================================================
   CENTRE
   ========================================================= */

.header-center
{
    height: 100%;

    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
}


/* =========================================================
   BANNIÈRE
   ========================================================= */

.header-center img
{
    display: block;

    width: min(100%, 720px);
    height: 125px;

    object-fit: contain;

    filter:
        drop-shadow(0 3px 4px rgba(0,0,0,.7));
}


/* =========================================================
   BOUTONS PRÉCÉDENT / SUIVANT
   ========================================================= */

.header-center .button
{
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    padding: 0;

    border: 2px solid #8b683e;
    border-radius: 7px;

    background:
        linear-gradient(
            to bottom,
            #3b3024,
            #1d1814
        );

    color: #e3c58f;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;

    line-height: 1;

    cursor: pointer;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.08),
        inset 0 0 10px rgba(0,0,0,.8),
        0 3px 5px rgba(0,0,0,.6);

    text-shadow:
        1px 2px 2px #000;

    transition:
        transform .12s ease,
        background .12s ease;
}


.header-center .button:hover
{
    background:
        linear-gradient(
            to bottom,
            #51402d,
            #281f18
        );

    transform: translateY(-1px);
}


.header-center .button:active
{
    transform: translateY(1px);
}


/* =========================================================
   PARTIE DROITE
   ========================================================= */

.header-right
{
    height: 100%;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px)
{
    header
    {
        height: 130px;
    }

    header .content
    {
        grid-template-columns:
            250px
            minmax(250px, 1fr)
            20px;
    }

    .guitar-logo
    {
        width: 50px;
        height: 105px;
    }

    .guitar-logo img
    {
        max-height: 100px;
    }

    .header-center img
    {
        height: 110px;
    }

    .header-center .button
    {
        width: 42px;
        height: 42px;

        font-size: 26px;
    }
}


@media (max-width: 800px)
{
    header
    {
        height: 105px;
    }

    header .content
    {
        grid-template-columns: 1fr;
    }

    .header-left
    {
        display: none;
    }

    .header-right
    {
        display: none;
    }

    .header-center
    {
        width: 100%;
    }

    .header-center img
    {
        width: calc(100% - 100px);
        height: 90px;
    }
}