/* =========================================================
   DEAKEN — MAIN STYLE
   ========================================================= */

:root {
    --text: #eee;
    --muted: #999;
    --line: #373737;
    --red: #e51b23;
    --max: 1380px;
    --section: 54px;
    --gap: 36px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    background: #080808 url("assets/background.jpg") center top / cover fixed;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(#0006, #000d);
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    height: 104px;
    background: transparent;
    border-bottom: 1px solid #202020;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    max-width: var(--max);
    height: 100%;
    margin: auto;
    padding: 0 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand img {
    width: 154px;
    max-height: 76px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 68px;
    height: 100%;
    align-items: center;

    font: 700 18px "Barlow Condensed";
    letter-spacing: 2px;
}

.main-nav a {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.main-nav a:after {
    content: "";
    position: absolute;
    height: 2px;
    left: 0;
    right: 0;
    bottom: 23px;
    background: var(--red);

    transform: scaleX(0);
    transition: 0.2s;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    transform: scaleX(1);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    height: 650px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

/*
    FOTO:

    20% = posun výřezu nahoru tak, aby byly více vidět
    obličeje v horní části fotografie.

    Pokud budeš chtít obličeje ještě výš:
    10% nebo 5%.

    Pokud naopak fotku posunout dolů:
    30–35%.
*/

.hero-image {
    position: absolute;
    inset: 0;

    background-image: url('assets/band_photo.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    background-color: transparent;
}
}


/*
    Jemné ztmavení okrajů fotografie.
*/

.hero-vignette {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            #0001,
            #0003 50%,
            #000b
        ),
        linear-gradient(
            90deg,
            #0004,
            transparent 35%,
            transparent 65%,
            #0004
        );
}


/*
    LOGO PŘES FOTKU

    Původně cca 43 %.
    Teď je výrazně menší: 24 %.

    top 76 % ho drží níže ve fotografii.
*/

.hero-logo {
    position: absolute;

    left: 52%;
    top: 75%;

    width: 73%;
    max-width: 560px;

    transform: translate(-50%, -50%);

    filter: drop-shadow(0 5px 8px #000c);
}


/* =========================================================
   THREE PANELS
   ========================================================= */

.triple {
    max-width: var(--max);
    margin: auto;
    padding: var(--section) 34px 48px;

    display: grid;
    grid-template-columns: 1fr 1.12fr 1fr;
    gap: var(--gap);

    background: #060606bd;
}

.panel + .panel {
    border-left: 1px solid var(--line);
    padding-left: var(--gap);
}

.section-title {
    font: 700 22px "Barlow Condensed";
    letter-spacing: 2px;

    margin-bottom: 25px;

    position: relative;
    padding-bottom: 13px;
}

.section-title:after,
.center-title:after {
    content: "";
    position: absolute;

    left: 0;
    bottom: 0;

    width: 38px;
    height: 2px;

    background: var(--red);
}

.news-item {
    padding: 12px 0 21px;
    border-bottom: 1px solid #292929;
}

.news-item:last-child {
    border-bottom: 0;
}

.news-item h3 {
    font: 600 21px "Barlow Condensed";
    margin: 0 0 7px;
    color: var(--red);
}

.news-item p {
    margin: 0;
    color: #aaa;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   RELEASE
   ========================================================= */

.release-card,
.live-empty {
    min-height: 285px;

    border: 1px solid #3a3a3a;
    background: #121212b8;

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

    padding: 34px;
    text-align: center;
}

.release-title {
    font: 800 clamp(56px, 6vw, 86px) / 0.8 "Barlow Condensed";
    letter-spacing: 7px;
}

.release-subtitle {
    font: 500 12px "Barlow Condensed";
    letter-spacing: 4px;
    color: #999;
    margin-top: 18px;
}

.release-buttons {
    width: 100%;
    max-width: 300px;
    margin-top: 32px;

    display: grid;
    gap: 9px;
}

.action-button {
    display: block;

    padding: 13px 16px;

    border: 1px solid #555;

    font: 700 13px "Barlow Condensed";
    letter-spacing: 1.5px;
}

.action-button:hover {
    border-color: var(--red);
    background: var(--red);
}

.youtube {
    background: var(--red);
    border-color: var(--red);
}


/* =========================================================
   UPCOMING SHOWS
   ========================================================= */

.live-empty {
    color: #aaa;

    font: 500 17px "Barlow Condensed";
    letter-spacing: 0.8px;
}

.calendar-icon {
    width: 60px;
    height: 52px;

    border: 3px solid #777;
    border-radius: 5px;

    position: relative;
    margin-bottom: 22px;
}

.calendar-icon:before,
.calendar-icon:after {
    content: "";

    position: absolute;
    top: -9px;

    width: 7px;
    height: 14px;

    background: #777;
}

.calendar-icon:before {
    left: 11px;
}

.calendar-icon:after {
    right: 11px;
}

.calendar-icon span {
    position: absolute;

    left: 0;
    right: 0;
    top: 12px;

    border-top: 3px solid #777;
}

.calendar-icon i {
    display: block;
    float: left;

    width: 8px;
    height: 8px;

    background: #777;

    margin: 7px 4px 0 6px;
}


/* =========================================================
   BAND
   ========================================================= */

.band-section {
    max-width: var(--max);
    margin: auto;

    padding: 10px 34px 54px;

    background: #060606bd;
}

.center-title {
    text-align: center;

    position: relative;

    font: 700 23px "Barlow Condensed";
    letter-spacing: 2px;

    padding-bottom: 14px;
    margin-bottom: 28px;
}

.center-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.members {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.member-photo {
    aspect-ratio: 3 / 4;
    overflow: hidden;

    background: #111;
    border: 1px solid #3b3b3b;
}

.member-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    filter: brightness(0.82);
    transition: 0.25s;
}

.member-card:hover img {
    filter: brightness(1);
    transform: scale(1.02);
}

.member-name {
    text-align: center;

    font: 600 17px "Barlow Condensed";
    margin-top: 13px;
}

.member-role {
    text-align: center;

    color: var(--red);

    font: 600 11px "Barlow Condensed";
    letter-spacing: 1.6px;

    text-transform: uppercase;
    margin-top: 5px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    max-width: var(--max);
    margin: auto;

    border-top: 1px solid var(--line);

    padding: 32px 34px 25px;

    background: #050505e8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 34px;
}

.footer-block + .footer-block {
    border-left: 1px solid var(--line);
    padding-left: 34px;
}

.footer-title {
    color: var(--red);

    font: 600 18px "Barlow Condensed";
    letter-spacing: 2px;

    margin-bottom: 14px;
}

.contact-line {
    display: block;

    color: #aaa;

    font-size: 14px;
    line-height: 1.9;
}

.contact-line:before {
    display: inline-block;
    width: 26px;
    color: #ddd;
}

.contact-line:first-of-type:before {
    content: "✉";
}

.contact-line:last-of-type:before {
    content: "☎";
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 25px;
}

.social-links a {
    color: #aaa;

    font: 600 12px "Barlow Condensed";
    letter-spacing: 1.4px;
}

.social-links a:hover {
    color: #fff;
}

.legal {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 22px;

    color: #999;
    font-size: 12px;
    line-height: 1.7;
}

.legal img {
    width: 70px;
    height: 70px;

    object-fit: contain;

    filter: brightness(0) invert(1);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 38px;
    }

    .members {
        grid-template-columns: repeat(3, 1fr);
    }

    .triple {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .panel + .panel {
        border-left: 0;
        border-top: 1px solid var(--line);

        padding-left: 0;
        padding-top: 30px;
    }

    .hero {
        height: 540px;
    }

    .hero-image {
        background-position: center 16%;
    }

    .hero-logo {
        width: 32%;
        top: 76%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .legal {
        justify-content: flex-start;

        border-left: 0 !important;
        padding-left: 0 !important;

        border-top: 1px solid var(--line);
        padding-top: 25px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .site-header {
        height: 82px;
    }

    .header-inner {
        padding: 0 18px;
    }

    .brand img {
        width: 115px;
    }

    .main-nav {
        gap: 17px;

        font-size: 14px;
        letter-spacing: 1px;
    }

    .main-nav a:after {
        bottom: 15px;
    }

    .hero {
        height: 430px;
    }

    .hero-image {
        background-position: center 12%;
        background-size: auto 115%;
    }

    .hero-logo {
        width: 48%;
        top: 75%;
    }

    .triple,
    .band-section,
    .footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .members {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .member-name {
        font-size: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-block + .footer-block {
        border-left: 0;
        border-top: 1px solid var(--line);

        padding-left: 0;
        padding-top: 25px;
    }

    .legal {
        border-top: 1px solid var(--line) !important;
    }

    .section-title {
        font-size: 20px;
    }
}
