/* =====================================================================
   CUBE EVENTS — tmava techno sablona
   Nacita se jako posledni, prepisuje bootstrap + style.css.
   ===================================================================== */

:root {
    --bg:        #000000;
    --bg-1:      #070707;   /* sekce */
    --bg-2:      #0d0d0d;   /* karty */
    --bg-3:      #141414;   /* hover / vyvyseny povrch */

    --fg:        #ffffff;
    --fg-2:      #b0b0b0;
    --fg-3:      #6f6f6f;
    --fg-4:      #4a4a4a;

    --line:      rgba(255, 255, 255, 0.10);
    --line-soft: rgba(255, 255, 255, 0.05);

    --font-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    --nav-h:     72px;
    --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
    --container: 1240px;
}

/* ---------------------------------------------------------------
   Zaklad
--------------------------------------------------------------- */
html { background: var(--bg); }

body {
    background: var(--bg);
    color: var(--fg-2);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::selection,
::selection { background: var(--fg); color: #000; }

a { color: var(--fg-2); transition: color .2s var(--ease); }
a:hover, a:focus { color: var(--fg); text-decoration: none; }

img { max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    color: var(--fg);
    letter-spacing: -0.02em;
    line-height: 1.08;
    text-transform: none;
}

.container { max-width: var(--container); width: auto; }

hr { border-color: var(--line); }

/* Male mono popisky nad nadpisy */
.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--fg-4);
}

/* ---------------------------------------------------------------
   Tlacitka
--------------------------------------------------------------- */
.btn,
a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 22px;
    width: auto;
    border: 1px solid var(--fg);
    border-radius: 0;
    background: transparent;
    color: var(--fg);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }

.btn-primary,
a.btn-primary,
.btn-primary:visited {
    background: var(--fg);
    border-color: var(--fg);
    color: #000;
}
.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:hover {
    background: transparent;
    border-color: var(--fg);
    color: var(--fg);
}

.btn-ghost,
a.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--fg-2);
}
.btn-ghost:hover,
.btn-ghost:focus {
    border-color: var(--fg);
    color: var(--fg);
    background: transparent;
}

.btn-lg { height: 50px; padding: 0 30px; font-size: 12px; }

/* stary markup (btn-details) */
a.btn.btn-details { float: none; margin: 0 8px 8px 0; height: 42px; }

/* ---------------------------------------------------------------
   Oznamovaci pruh
--------------------------------------------------------------- */
.topbar {
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    padding: 0;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 40px;
}
.topbar ul.social-network.topbar__social {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    float: none;
}
.topbar__social li { float: none; margin: 0; padding: 0; height: auto; line-height: 1; }
.topbar__social li a {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--fg-4);
    font-size: 13px;
    background: none;
    border-radius: 0;
}
.topbar__social li a:hover { color: var(--fg); background: none; }

.topbar__promo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--fg-3);
    text-transform: uppercase;
    padding: 6px 0;
    min-width: 0;
}
.topbar__badge {
    background: var(--fg);
    color: #000;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 3px 8px;
    flex: none;
}
.topbar__text {
    color: var(--fg-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.topbar__arrow { color: var(--fg-4); flex: none; transition: color .2s var(--ease); }
.topbar__promo:hover .topbar__text,
.topbar__promo:hover .topbar__arrow { color: var(--fg); }

/* ---------------------------------------------------------------
   Navigace
--------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 1000; }

.site-header .navbar,
header .navbar,
.home-page header .navbar-default,
.navbar-default {
    margin: 0;
    min-height: var(--nav-h);
    padding: 0;
    background: rgba(0, 0, 0, 0.72) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled .navbar,
.site-header.is-scrolled .navbar-default {
    background: rgba(0, 0, 0, 0.94) !important;
    border-bottom-color: var(--line);
}

.navbar-brand,
.navbar-default .navbar-brand {
    display: flex;
    align-items: center;
    height: var(--nav-h);
    margin: 0;
    padding: 0 15px;
    transition: opacity .2s var(--ease);
}
.navbar-brand img { height: 44px; width: auto; display: block; }   /* ctvercova znacka - o neco vyssi nez byval siroky wordmark */
.navbar-brand:hover { opacity: .7; }

header .navbar-collapse ul.navbar-nav { float: right; margin: 0; display: flex; align-items: center; }

header .navbar-nav > li { margin: 0; padding: 0; }

.navbar .nav > li > a,
header .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a {
    display: flex;
    align-items: center;
    height: var(--nav-h);
    padding: 0 16px;
    background: none;
    color: var(--fg-3);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 0;
    border-radius: 0;
    transition: color .2s var(--ease);
}
.navbar .nav > li > a:hover,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: var(--fg);
    background: none !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar .nav > .active > a {
    color: var(--fg) !important;
    background: none !important;
    box-shadow: inset 0 -2px 0 var(--fg);
}

/* prepinac jazyku (CZ/EN/DE) */
.navbar-nav > li.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 10px;
    padding-left: 14px;
    border-left: 1px solid var(--line-soft);
}
.navbar-nav > li.lang-switch > a {
    height: auto !important;
    padding: 4px 7px !important;
    color: var(--fg-4);
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
    box-shadow: none !important;
}
.navbar-nav > li.lang-switch > a:hover { color: var(--fg-2); }
.navbar-nav > li.lang-switch > a.is-active { color: var(--fg); font-weight: 700; }

/* mobilni prepinac */
.navbar-default .navbar-toggle {
    margin: 19px 15px 0 0;
    border: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    padding: 8px 9px;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background: var(--bg-3); }
.navbar-default .navbar-toggle .icon-bar { background-color: var(--fg-2); border-radius: 0; }
.navbar-default .navbar-collapse,
.navbar-default .navbar-form { border-color: var(--line-soft); }

/* ---------------------------------------------------------------
   Hero
--------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    width: 100%;   /* nutne - se zapornym marginem by se box smrskl na sirku obsahu */
    min-height: clamp(520px, 88vh, 880px);
    margin-top: calc(var(--nav-h) * -1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

/* video / nahradni obrazek na pozadi hera */
.hero__video,
.hero__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    /* ztlumeny jas, aby text nad videem zustal citelny */
    filter: brightness(0.58) contrast(1.05) saturate(0.92);
}
/* nez se video rozjede, je videt jeho poster - proto zadne skryvani */
.hero__video { opacity: 1; }

/* tecky pres video - stejny rastr jako u fotoslideshow (zoomslider overlay-dots) */
.hero__dots {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: transparent url(../img/dots.png) repeat 0 0;
    opacity: .75;
}

/* prekryv: shora pod navigaci, zdola do cerne */
.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        radial-gradient(120% 90% at 50% 45%, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%),
        linear-gradient(to bottom, rgba(0,0,0,.8) 0%, rgba(0,0,0,.08) 26%, rgba(0,0,0,.28) 62%, #000 100%);
}

.hero__inner {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 90px 20px 40px;
    max-width: 900px;
}
.hero__logo {
    width: min(230px, 46vw);   /* ctvercova znacka - siroky wordmark drive potreboval min(420px, 74vw) */
    height: auto;
    margin: 0 auto 22px;
    display: block;
    filter: drop-shadow(0 6px 40px rgba(0, 0, 0, .8));
}
.hero__claim {
    margin: 0 0 34px;
    font-family: var(--font-mono);
    font-size: clamp(11px, 1.5vw, 14px);
    font-weight: 500;
    letter-spacing: 0.52em;
    text-indent: 0.52em;
    text-transform: uppercase;
    color: var(--fg-2);
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* odkazy (Photos, Aftermovie) naskladane v pravem dolnim rohu hera */
.hero__corner-stack {
    position: absolute;
    right: 26px;
    bottom: 26px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: stretch;   /* obe tlacitka stejne siroke - podle sirsiho z nich */
    gap: 10px;
}
.hero__corner {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px 12px 12px;
    background: rgba(0, 0, 0, .45);
    border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.hero__corner:hover {
    background: rgba(0, 0, 0, .72);
    border-color: rgba(255, 255, 255, .45);
    transform: translateY(-2px);
}
.hero__corner-play {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    color: var(--fg);
    font-size: 11px;
    transition: background .25s var(--ease), color .25s var(--ease);
}
/* play trojuhelnik neni opticky vystredeny jako ostatni ikony, dorovnat */
.hero__corner-play .fa-play { padding-left: 2px; }
.hero__corner:hover .hero__corner-play { background: var(--fg); color: #000; }
.hero__corner-text { display: block; line-height: 1.2; }
.hero__corner-text .eyebrow { display: block; font-size: 9px; color: var(--fg-3); margin-bottom: 3px; }
.hero__corner-title {
    display: block;
    color: var(--fg);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

/* sipka dolu */
.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 5;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 1px solid var(--line);
    border-radius: 14px;
}
.hero__scroll span {
    position: absolute;
    left: 50%;
    top: 9px;
    width: 2px;
    height: 7px;
    margin-left: -1px;
    background: var(--fg-2);
    animation: heroScroll 1.9s var(--ease) infinite;
}
.hero__scroll:hover { border-color: var(--fg-3); }
@keyframes heroScroll {
    0%   { opacity: 0; transform: translateY(0); }
    30%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(16px); }
}

/* ---------------------------------------------------------------
   Fotopas (zoomslider presunuty z hera)
--------------------------------------------------------------- */
.photostrip {
    position: relative;
    width: 100%;
    height: clamp(300px, 42vh, 460px);
    overflow: hidden;
    background: #000;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.photostrip__slides,
#demo-1 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    background-color: #000;
    z-index: 1;
}
.photostrip__scrim {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.15) 100%);
}
.photostrip__caption {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 40px;
    max-width: var(--container);
    margin: 0 auto;
}
.photostrip__caption .eyebrow { display: block; margin-bottom: 10px; color: var(--fg-3); }
.photostrip__place {
    margin: 0;
    color: var(--fg);
    font-size: clamp(34px, 6vw, 76px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1;
    text-transform: uppercase;
    transition: opacity .32s var(--ease), transform .32s var(--ease);
}
.photostrip__place.is-changing { opacity: 0; transform: translateY(10px); }

/* zoomslider odrazky -> tenke cárky */
.zs-enabled .zs-slideshow .zs-bullets { bottom: 18px; z-index: 5; }
.zs-enabled .zs-slideshow .zs-bullets .zs-bullet {
    width: 22px;
    height: 2px;
    margin: 0 5px;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, .25);
    transition: background .25s var(--ease);
}
.zs-enabled .zs-slideshow .zs-bullets .zs-bullet.active { background: var(--fg); }

@media (prefers-reduced-motion: reduce) {
    .hero__scroll span { animation: none; }
}

/* ---------------------------------------------------------------
   Sekce
--------------------------------------------------------------- */
.section,
section.section {
    background: var(--bg);
    padding: 90px 0;
    position: relative;
}
.section--alt,
.section.gray-bg,
section.section.gray-bg { background: var(--bg-1); }
.section + .section--alt,
.section--alt + .section { border-top: 1px solid var(--line-soft); }

.section-head { margin-bottom: 44px; }
.section-head .eyebrow { display: block; margin-bottom: 10px; }
.section-head h2,
.section-title h2 {
    margin: 0;
    color: var(--fg);
    font-size: clamp(30px, 4.4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}
.section-head h2::after { content: none; }
.section-more { margin: 40px 0 0; text-align: center; }

/* stare .projects a .section-title srovnat do noveho vzhledu */
.projects {
    background: var(--bg);
    border: 0;
    color: var(--fg-2);
    padding: 90px 0;
}
.section-title { margin-bottom: 44px; }
.section-title.text-center { text-align: left; }

/* ---------------------------------------------------------------
   Karty akci — vsechny stejne vysoke
--------------------------------------------------------------- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
}
.events-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* jedina akce -> siroka karta na sirku, ne osamela treticka mrizky */
.events-grid--1 { grid-template-columns: minmax(0, 1fr); max-width: 940px; }
.events-grid--1 .event-card { flex-direction: row; }
.events-grid--1 .event-card__poster { flex: 0 0 46%; aspect-ratio: auto; }
.events-grid--1 .event-card__body { padding: 30px 32px 32px; }
.events-grid--1 .event-card__title { font-size: 24px; }
.events-grid--1 .event-card__actions .btn { flex: 0 1 auto; }

.event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-2);
    border: 1px solid var(--line-soft);
    overflow: hidden;
    transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.event-card:hover {
    border-color: var(--line);
    background: var(--bg-3);
    transform: translateY(-4px);
}

.event-card__poster {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    flex: none;
}
.event-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: .92;
    transition: transform .6s var(--ease), opacity .3s var(--ease);
}
.event-card:hover .event-card__poster img { transform: scale(1.05); opacity: 1; }

/* razitko s datem pres poster */
.event-card__date {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px 7px;
    background: rgba(0, 0, 0, .78);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    line-height: 1;
}
.event-card__day {
    font-size: 26px;
    font-weight: 800;
    color: var(--fg);
    letter-spacing: -0.04em;
}
.event-card__month {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--fg-2);
    margin-top: 4px;
}
.event-card__year {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    color: var(--fg-4);
    margin-top: 2px;
}

/* uz probehla akce - doplnena jen aby v mrizce nezustala osamela karta */
.event-card__flag {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 10px;
    background: rgba(0, 0, 0, .7);
    border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--fg-2);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.event-card--past .event-card__poster img { opacity: .45; filter: grayscale(.55); }
.event-card--past:hover .event-card__poster img { opacity: .7; filter: grayscale(0); }
.event-card--past .event-card__title { color: var(--fg-2); }
.event-card--past .event-card__day { color: var(--fg-2); }

/* vyprodano - jediny barevny akcent v jinak cernobile karte, schvalne */
.event-card__flag--soldout {
    background: rgba(229, 72, 77, .16);
    border-color: rgba(229, 72, 77, .5);
    color: #ff9a9d;
}
.event-card--soldout .event-card__poster img { opacity: .6; filter: grayscale(.35); }

/* tlacitko "Vyprodano" - stejny box model jako .btn, jen neaktivni vzhled */
.btn-disabled {
    background: transparent;
    border-color: rgba(229, 72, 77, .4);
    color: #ff9a9d;
    cursor: default;
}

.event-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 22px 22px 24px;
}
.event-card__title {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--fg);
}
.event-card__meta {
    margin: 0 0 18px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--fg-3);
    text-transform: uppercase;
}
.event-card__sep { padding: 0 8px; color: var(--fg-4); }

.event-card__lineup {
    flex: 1 1 auto;          /* roztahne se, tlacitka zustanou dole */
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    margin-bottom: 22px;
}
.event-card__lineup .eyebrow { display: block; margin-bottom: 8px; font-size: 10px; }
.event-card__headliner {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fg);
}
.event-card__names {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--fg-3);
    letter-spacing: 0.02em;
}
.event-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}
.event-card__actions .btn { flex: 1 1 auto; min-width: 118px; }

/* ---------------------------------------------------------------
   Videa
--------------------------------------------------------------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}
.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--bg-2);
    border: 1px solid var(--line-soft);
    overflow: hidden;
}
.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------------------------------------------------------------
   Galerie
--------------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line-soft);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.05);
    opacity: .78;
    transition: transform .6s var(--ease), filter .4s var(--ease), opacity .4s var(--ease);
}
.gallery-item:hover img {
    transform: scale(1.06);
    filter: grayscale(0) contrast(1);
    opacity: 1;
}
.gallery-item__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 40px 16px 14px;
    background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,0));
    color: var(--fg);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 1px solid transparent;
    transition: border-color .25s var(--ease);
}
.gallery-item:hover::after { border-color: rgba(255, 255, 255, .35); }

/* ---------------------------------------------------------------
   Vyzva ke kontaktu
--------------------------------------------------------------- */
.cta-band {
    background: var(--bg-1);
    border-top: 1px solid var(--line-soft);
    padding: 90px 0;
    text-align: center;
}
.cta-band h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    color: var(--fg);
}
.cta-band p {
    margin: 0 0 30px;
    color: var(--fg-3);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.cta-band .btn { margin: 0 5px 10px; }

/* ---------------------------------------------------------------
   Podstranky — zahlavi a obsah
--------------------------------------------------------------- */
#inner-headline {
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    padding: calc(var(--nav-h) + 44px) 0 46px;
    margin: calc(var(--nav-h) * -1) 0 0;
    color: var(--fg);
    position: relative;
}
#inner-headline::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, var(--fg-4), transparent 45%);
}
#inner-headline h2.pageTitle {
    margin: 0;
    padding: 0;
    color: var(--fg);
    font-size: clamp(30px, 5vw, 58px);
    font-weight: 800;
    letter-spacing: -0.035em;
    text-align: left;
    text-transform: uppercase;
}

#content {
    background: var(--bg);
    padding: 0;
}
section.section-padding,
section.section-padding.gray-bg {
    background: var(--bg);
    color: var(--fg-2);
    padding: 70px 0;
}
section.section-padding + section.section-padding { border-top: 1px solid var(--line-soft); }

.about-text,
.about-text p,
.about-text li { color: var(--fg-2); }
.about-text h3 {
    color: var(--fg);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0 0 18px;
    padding: 0;
}
.about-text h3 + p { margin-top: 0; }
.about-text a { color: var(--fg); text-decoration: none; box-shadow: inset 0 -1px 0 var(--fg-4); }
.about-text a:hover { box-shadow: inset 0 -1px 0 var(--fg); }
.about-text ul { margin-top: 18px; padding: 0; }
.about-text li { margin-bottom: 8px; font-weight: 400; list-style: none; }
.about-text strong, .about-text b { color: var(--fg); font-weight: 700; }
.about-image img { border: 1px solid var(--line-soft); }

/* dlouhe textove stranky (navstevni rad) */
.showcase-section .col-md-12 .about-text { max-width: 900px; }
.showcase-section .col-md-12 .about-text h3 {
    font-size: 17px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
}
.showcase-section .col-md-12 .about-text h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------------------------------------------------------------
   Booking — profily umelcu
--------------------------------------------------------------- */
.artist {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: 50px;
    align-items: start;
}
.artist + .artist { margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--line-soft); }
.artist__photo {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line-soft);
}
.artist__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.08);
    transition: filter .5s var(--ease), transform .8s var(--ease);
}
.artist:hover .artist__photo img { filter: grayscale(0); transform: scale(1.03); }
.artist__name {
    margin: 0 0 6px;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--fg);
}
.artist__role {
    margin: 0 0 26px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg-4);
}
.artist__bio p { margin: 0 0 16px; color: var(--fg-2); }
.artist__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 26px;
    margin: 30px 0;
    padding: 26px 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.artist__facts .eyebrow { display: block; margin-bottom: 10px; }
.artist__facts ul { margin: 0; padding: 0; list-style: none; }
.artist__facts li {
    font-size: 13px;
    line-height: 1.9;
    color: var(--fg-3);
    list-style: none;
}
.artist__facts li b { color: var(--fg-2); font-weight: 500; }
.artist__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------------------------------------------------------------
   Kontakt
--------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}
.contact-card__name {
    margin: 0 0 4px;
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--fg);
}
.contact-card__role {
    margin: 0 0 34px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg-4);
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--line-soft); }
.contact-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.contact-list .eyebrow { display: block; margin-bottom: 6px; }
.contact-list a,
.contact-list span.value {
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--fg);
    box-shadow: none;
}
.contact-list a:hover { box-shadow: inset 0 -1px 0 var(--fg); }
.contact-meta {
    margin-top: 34px;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 2;
    color: var(--fg-4);
    letter-spacing: 0.06em;
}
.contact-meta b { color: var(--fg-3); font-weight: 500; }
.contact-side img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid var(--line-soft);
    filter: grayscale(1);
}

/* ---------------------------------------------------------------
   404
--------------------------------------------------------------- */
.error-page { text-align: center; padding: 130px 0 110px; }
.error-page__code {
    font-size: clamp(80px, 18vw, 200px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--fg);
    margin: 0 0 16px;
}
.error-page p { color: var(--fg-3); margin-bottom: 30px; }

/* ---------------------------------------------------------------
   Paticka
--------------------------------------------------------------- */
.site-footer,
footer.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--line-soft);
    padding: 70px 0 0;
    margin: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 44px;
    padding-bottom: 56px;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--fg-4); font-size: 13px; line-height: 1.8; margin: 0 0 20px; max-width: 340px; }
.footer-brand ul.social-network { margin: 0; padding: 0; display: flex; gap: 8px; float: none; }
.footer-brand ul.social-network li { float: none; margin: 0; padding: 0; }
.site-footer ul.social-network li a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--fg-3);
    font-size: 14px;
    border-radius: 0;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}
.site-footer ul.social-network li a:hover { color: var(--fg); border-color: var(--fg); background: transparent; }

.footer-col .eyebrow { display: block; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--fg-3); font-size: 13.5px; }
.footer-col a:hover { color: var(--fg); }

#sub-footer {
    background: var(--bg);
    border-top: 1px solid var(--line-soft);
    padding: 0;
    margin: 0;
    color: var(--fg-4);
}
.sub-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 15px;
}
#sub-footer p {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-4);
}
#sub-footer a { color: var(--fg-4); }
#sub-footer a:hover { color: var(--fg-2); }

/* ---------------------------------------------------------------
   Zpet nahoru
--------------------------------------------------------------- */
.scrollup {
    width: 40px;
    height: 40px;
    right: 22px;
    bottom: 22px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    border-radius: 0;
    color: var(--fg-2);
    line-height: 38px;
    text-align: center;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.scrollup:hover { background: var(--fg); border-color: var(--fg); color: #000; }
.scrollup i { font-size: 18px; }

/* ---------------------------------------------------------------
   Nabihani obsahu
--------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* lightbox */
.mfp-bg { background: #000; opacity: .96; }
.mfp-figure:after { box-shadow: none; background: #000; }

/* ---------------------------------------------------------------
   Responzivita
--------------------------------------------------------------- */
@media (max-width: 991px) {
    .events-grid,
    .events-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .events-grid--1 { grid-template-columns: minmax(0, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .artist { grid-template-columns: 1fr; gap: 30px; }
    .artist__photo { max-width: 340px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-side { max-width: 380px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}

@media (max-width: 767px) {
    :root { --nav-h: 62px; }

    .topbar__inner { flex-direction: column; align-items: stretch; gap: 0; padding-top: 4px; }
    .topbar__social { justify-content: center; }
    .topbar__promo { justify-content: center; flex-wrap: wrap; gap: 8px; padding-bottom: 10px; text-align: center; }
    .topbar__text { white-space: normal; }

    header .navbar-collapse ul.navbar-nav { float: none; display: block; margin: 0; }
    .navbar .nav > li > a,
    .navbar-default .navbar-nav > li > a {
        height: auto;
        padding: 14px 15px;
        border-bottom: 1px solid var(--line-soft);
    }
    .navbar-default .navbar-nav > .active > a { box-shadow: inset 3px 0 0 var(--fg); }
    .navbar-nav > li.nav-cta { margin: 14px 15px 18px; }
    .navbar-default .navbar-nav > li.nav-cta > a { height: 44px; justify-content: center; border-bottom: 0; }
    .navbar-default .navbar-collapse { background: rgba(0, 0, 0, .97); max-height: 80vh; }

    .navbar-nav > li.lang-switch {
        margin: 6px 15px 14px;
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid var(--line-soft);
        justify-content: center;
        gap: 6px;
    }
    .navbar-nav > li.lang-switch > a { padding: 6px 12px !important; border: 1px solid var(--line); }
    .navbar-nav > li.lang-switch > a.is-active { border-color: var(--fg); }

    .hero { min-height: 78vh; }
    .hero__inner { padding-top: 70px; }
    .hero__actions .btn { flex: 1 1 160px; }

    /* stack pilulek na siri text by prekryval prostredni scroll ikonu -
       zmensit na kompaktni kolecka jen s ikonou */
    .hero__corner-stack { right: 16px; bottom: 16px; gap: 8px; }
    .hero__corner { padding: 0; width: 42px; height: 42px; justify-content: center; }
    .hero__corner-play { width: 42px; height: 42px; border: 0; }
    .hero__corner-text { display: none; }

    .section, .projects, .cta-band { padding: 62px 0; }
    .section-head { margin-bottom: 30px; }

    .events-grid,
    .events-grid--2,
    .events-grid--1,
    .gallery-grid,
    .video-grid { grid-template-columns: minmax(0, 1fr); }
    .events-grid--1 .event-card { flex-direction: column; }
    .events-grid--1 .event-card__poster { flex: none; aspect-ratio: 16 / 9; }
    .events-grid--1 .event-card__body { padding: 22px 22px 24px; }

    #inner-headline { padding: calc(var(--nav-h) + 30px) 0 30px; }
    section.section-padding { padding: 46px 0; }

    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .sub-footer__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}
