/* Nasze style CSS */
/* FONT */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Asta+Sans:wght@300..800&family=Bebas+Neue&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');
/* 
font-family: "Nunito", sans-serif;
font-family: "Alfa Slab One", serif;
*/

/* KOLORY */
:root{
    --kolor-glowny: #C1121F;
    --kolor-uzupelniajacy: #C9A646;
    --kolor-jasny: #ffffff;
    --kolor-sredni: #999;
    --kolor-ciemny: #000000;
}

/* GLOBALNE */
/* * - to odwołanie do wszystkich elementów dokumentu */
*{
    box-sizing: border-box;/* żeby padding nie zwiększ. szer. boxu */
    transition: 1s ease-out;
}
html{
    scroll-behavior: smooth;/*plynne przewijanie*/
    /* font-size: 16px; domyslny baz. rozm. fontu*/
    font-size: 10px;
    /*
    rem = root emphasis = wielokr. baz. rozm. fontu
    1rem = 16px | 10px
    2rem = 32px | 20px
    1.7rem = ?? | 17px
    .3rem = ??  |  3px

    em = emphasis = wielokr. rozm. fontu danego elementu - ustalanie zależności rozmiarów lokalnie
    p{font-size: 23px;}
    1em = 23px
    2em = 46px
    */
}
body{
    margin: 0;
    padding: 0;
    font-size: 1.8rem;
    font-family: "Bebas Neue", sans-serif;
}

p{
    font-family: "Asta Sans", serif;
}
h1{
    /*font-size: 12rem;/*na sztywno 120px*/
    /*font-size: 12vw;/* troche responsywnie ale brak kontroli przy skrajnych wielkosciach*/
    font-size: clamp(8rem, 12vw, 12rem);/* 3 parametry: min, preferowany, max - kontrola nad rozmiarem przy skrajnych wielkościach */
    position: relative;
}
h2{
    /* font-size: 6rem; */
    font-size: clamp(4rem, 6vw, 6rem);/*max h2 mniejszy od min h1*/
    margin-bottom: 2rem;
    text-align: center;
}
h3{
    /* font-size: 3rem; */
    font-size: clamp(3rem, 4vw, 4rem);
    margin-bottom: 1rem;
}
h4{}
h5{}
h6{}

p{
    line-height: 140%;
}

img{
    max-width: 100%; 
}

/* NAV DESKTOP */
nav{
    background-color: var(--kolor-ciemny);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 0;/* domyślny indeks warstwy */
    z-index: 1;

}
nav .zawartosc{
    justify-content: center;
}
nav a{
    color: var(--kolor-jasny);
    text-decoration: none;
    display: block;
    padding: 1rem;
    padding: 5px 15px;       
    border-radius: 8px;       
    transition: 0.3s ease; 
}

nav a:hover{
    color: var(--kolor-uzupelniajacy);
}


/* NAV MOBILE */
.burger{
    background-color: var(--kolor-glowny);
    color: var(--kolor-jasny);

    position: fixed;
    right: 2rem;
    top: 2rem;

    padding: 1.1rem 1.2rem;

    cursor: pointer;
    display: none;
    z-index: 1;
}
.burger:hover{
    background-color: var(--kolor-uzupelniajacy);
}
.nakladka{
    background-color: var(--kolor-ciemny);
    opacity: .9;
    position: fixed;
    right: 0;
    z-index: 2;

    height: 100%;
    width: 0;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}
.zamknijX{
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--kolor-jasny);
    background-color: var(--kolor-glowny);
    font-size: 3rem;
    padding: .5rem 1.1rem;
    border-radius: 50%;
    cursor: pointer;
}
.zamknijX:hover{
    background-color: var(--kolor-uzupelniajacy);
}
.nakladka ol{
    flex-direction: column;
    
    gap: 2vh;
}
.nakladka ol li{}
.nakladka ol li a{
    
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 2vh 0;
    color: var(--kolor-jasny);
    white-space: nowrap;
    
}
.nakladka ol li a:hover{
    background-color: var(--kolor-glowny);
    
}

/* WSZYSTKIE SEKCJE */
section{
    min-height: 80vh;
    padding: 2rem;

    /* środkowanie zawartości */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    scroll-margin-top: 5.8rem;
}
.zawartosc{
    max-width: 1400px;
    width: 100%;

    display: flex;
    gap: 2rem;
}

/* POSZCZEGÓLNE SEKCJE */
#pierwsza{
    background-image: url(../img/tlo1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
}
#pierwsza .zawartosc{
    flex-direction: column;
    align-items: center;
    max-width: 750px;
}
#pierwsza h1 {
    font-size: 3.5rem;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
}

#pierwsza h1 span {
    color: #C1121F; 
    font-family: 'Bebas Neue' sans-serif;
}
#pierwsza p{
    color: #ffffff;
    max-width: 50%;
    text-align: center;
}
.btn {
    display: inline-block;
    padding: 10px 28px;        
    background-color: var(--kolor-uzupelniajacy); 
    color: var(--kolor-jasny);            
    text-decoration: none;     
    font-weight: 600;
    border-radius: 8px;        
    transition: 0.3s ease;     
}
.btn:hover {
    background-color: transparent;
    color: var(--kolor-uzupelniajacy);
    border: 4px solid var(--kolor-uzupelniajacy);
}

@media (max-width: 768px) {
    #pierwsza {
        background-attachment: scroll;
        padding: 60px 20px; 
    }

    #pierwsza .zawartosc {
        max-width: 100%;
        padding: 0 10px;
    }

    #pierwsza h1 {
        font-size: 3rem; 
        letter-spacing: 1px;
        margin-bottom: 15px;
        text-align: center;
    }

    #pierwsza p {
        max-width: 90%; 
        font-size: 1.5rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .btn {
        width: auto;
        padding: 12px 35px;
        font-size: 2rem;
        text-align: center;
    }
    
    .btn:hover {
        border: 4px solid var(--kolor-uzupelniajacy);
        padding: 8px 31px; 
    }
}


#druga{
    background-color: var(--kolor-jasny);
}
.pasek-artysci {
    margin-top: 0;
    background-color: #000000;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    margin-bottom: 60px;
    
}

.marquee-artysci {
    display: inline-block;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}
#druga .zawartosc{
    /* background-color: greenyellow; */
    flex-wrap: wrap; 
    justify-content: center;
     max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Dokładnie 3 równe kolumny */
    gap: 30px;
}
#druga article{
    flex: 0 1 300px; 
    padding: 2rem;
    border-radius: 2rem;
    background-color: #ffffff;
    border: 4px solid #C9A646;

    /* do absolute */
    position: relative;
}
#druga article:hover{
    background-color: var(--kolor-uzupelniajacy);
}

@media (max-width: 768px) {
    .pasek-artysci {
        margin-bottom: 30px;
        padding: 8px 0; 
    }
    .marquee-artysci {
        font-size: 1.1rem;
    }
    #druga .zawartosc {
        grid-template-columns: 1fr; 
        gap: 20px;
        padding: 0 15px; 
    }
    #druga article {
        flex: none; 
        width: 100%; 
        box-sizing: border-box; 
        padding: 1.2rem; 
        border-radius: 1.2rem; 
        border-width: 3px; 
    }
}


#trzecia {
    background-color: #ffffff;
    padding-bottom: 80px;
    margin-top: 0;
    padding-top: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;
}


.pasek-bilety {
    background-color: #000000;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    margin-bottom: 60px;
    
}

.marquee-bilety {
    display: inline-block;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    
}


.zawartosc-bilety {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    box-sizing: border-box;
}


.karta-biletu {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    box-sizing: border-box;
}


.foto-biletu {
    max-width: 260px; 
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    display: block;
}


.karta-biletu h3 {
    font-size: 24px;
    color: #000000;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}


.karta-biletu p {
    font-size: 13px;
    color: #555555;
    line-height: 1.5;
    margin: 0 0 30px 0;
    font-weight: 300;
    max-width: 320px; 
    font-family: 'Inter', sans-serif; 
}


.licznik-kontener {
    display: flex;
    align-items: center;
    border: 1px solid #999999; 
    margin-bottom: 30px;
    background: #ffffff;
}

.licznik-input {
    width: 50px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-family: 'Asta Sans', sans-serif;
    font-weight: 400;
    color: #000000;
    outline: none;
}

.licznik-przyciski {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #999999; 
}

.licznik-btn {
    width: 24px;
    height: 18px;
    background: #ffffff;
    border: none;
    color: #000000;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.licznik-przyciski .licznik-btn:first-child {
    border-bottom: 1px solid #999999;
}

.licznik-btn:hover {
    background-color: #f0f0f0;
}
.btn-kup {
    display: inline-block;
    background-color: #cca250; 
    color: #ffffff; 
    text-decoration: none;
    padding: 10px 35px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 8px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition:  0.2s ease,  0.2s ease;
}

.btn-kup:hover {
    background-color: #ffffff; 
    color: var(--kolor-uzupelniajacy);
    transform: scale(1.03);
    border: 4px solid var(--kolor-uzupelniajacy);
}


@media (max-width: 992px) {
    .zawartosc-bilety {
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px;
    }
}

@media (max-width: 650px) {
    .zawartosc-bilety {
        grid-template-columns: 1fr; /* 1 kolumna na telefonach */
        gap: 40px;
    }
}

#czwarta {
    background-color: #c61a1a; 
    padding: 0 0 60px;
    font-family: 'Bebas Neue', sans-serif;
    box-sizing: border-box;
}

.pasek-aktualnosci {
    background-color: #000000;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    margin: 0;
}

.marquee-tekst {
    display: inline-block;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

#czwarta .zawartosc {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 200px; 
    gap: 20px; 
}


#czwarta .zawartosc article {
    position: relative;
    overflow: hidden;
    background-color: #0c0c0c; 
    border-radius: 4px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    padding: 22px;
   
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


#czwarta .zawartosc article::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 70%)
    transparent;
}

#czwarta article h4, 
#czwarta article p, 
.strzalka {
    position: relative;
    z-index: 6;
}

#czwarta article h4 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 400;
    font-family:'Bebas Neue', sans-serif;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    line-height: 1;
}


#czwarta article p {
    font-family:'Asta Sans', sans-serif;
    color: #ffffff; 
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

#czwarta h4 span {
    color: #cca250; 
    font-size: 32px;
    text-align: center;
}

.art-strefa {
    justify-content: center; 
    align-items: center; 
}
.art-strefa h4 {
    color: #cca250; 
    font-size: 2.2rem;
    text-align: center;
}

.strzalka {
    position: absolute;
    bottom: 15px;
    right: 20px;
    color: #ffffff;
    font-size: 3rem;
    opacity: 0.6;
}

.duzy-pion {
    grid-column: 3;
    grid-row: 1 / span 2;
    min-height: 460px !important; 
}

.duzy-poziom {
    grid-column: 1 / span 2;
}

.art-bilety { background-image: url('../img/sprzedaz\ bilety.png'); }
.art-zespoly { background-image: url('../img/zespoly.png'); }
.art-program { background-image: url('../img/program.png'); }
.art-archiwa { background-image: url('../img/archiwum.png'); }

@media (max-width: 768px) {
    #czwarta {
        padding: 0 0 40px;
    }
    #czwarta .zawartosc {
        grid-template-columns: 1fr;
        gap: 15px; 
        padding: 0 15px;
    }
    .duzy-pion, 
    .duzy-poziom, 
    .art-strefa {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    #czwarta .zawartosc article {
        min-height: 200px !important;
        padding: 18px;
    }
    #czwarta article h4 {
        font-size: 1.6rem;
    }
    .art-strefa h4 {
        font-size: 1.8rem;
    }
    .strzalka {
        font-size: 2.2rem;
        bottom: 10px;
        right: 15px;
    }
}

#piata {
    background-color: #000000; 
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}


#piata .zawartosc {
    max-width: 800px; 
    width: 100%;
    text-align: center;
    padding: 40px 24px;
   box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
    flex-grow: 1; 
}

#piata .zawartosc h2 {
    font-size: 64px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 700;
}

#piata .zawartosc p {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff; 
    margin-bottom: 25px;
    font-weight: 300;
    width: 100%;
}

#piata::after {
    content: '';
    width: 100%; 
    height: 450px;
    background-image: url('../img/tlo\ koniec.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    display: block;
}

@media (max-width: 768px) {
    #piata .zawartosc h2 {
        font-size: 2.5rem;
    }
    #piata .zawartosc p {
        font-size: 1.2rem;
    }
    #piata::after {
        height: 250px; 
    }
}

/* STOPKA */
#stopka{
    min-height: 10vh; 
    background-color: var(--kolor-ciemny); 
    color: var(--kolor-jasny); 
    padding: 60px 20px 30px 20px;
}
#stopka .zawartosc {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; 
}
.stopka-logo {
    flex: 0 0 200px; 
    margin-bottom: 20px;
}
 #stopka .zawartosc article h4 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffffff;
}
#stopka .zawartosc article p {
    font-size: 16px;
    color: #aaaaaa; 
    margin: 0 0 10px 0; 
    cursor: pointer; 
    transition: color 0.2s ease;
}


#stopka .zawartosc article p:hover {
    color: #ffffff; 
}


#stopka .zawartosc > article:last-of-type {
    flex: 0 0 100%;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222222; 
    font-size: 13px;
    color: #666666;
}

/* ************** RWD ************** */
/* stopniowo schodzimy z szerokością od największej do najmniejszej */
@media (max-width:1000px){}/*KONIEC 1000px*/

@media (max-width:600px){

    /* NAV DESKTOP ukrywamy */
    nav{
        display: none;
    }
    /* NAV MOBILE pokazujemy */
    .burger{
        display: block;
    }

    section{
        min-height: 100vh;
        scroll-margin-top: 0;/
    }
    #pierwsza p{
        max-width: 100%;
    }
    #druga{
        padding: 2rem 0;
    }
    #druga .zawartosc{
    
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: scroll;
        padding: 2rem;
        scroll-snap-type: x mandatory;
    }
    #druga article{
        flex: 1 0 90%;
        scroll-snap-align: center;
    }
     #stopka {
        padding: 40px 15px 20px 15px;
    }
    #stopka .zawartosc {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .stopka-logo {
        flex: 0 0 auto;
        margin-bottom: 35px;
    }
    #stopka .zawartosc article {
        width: 100%;
        margin-bottom: 25px;
    }

    #stopka .zawartosc article h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    #stopka .zawartosc article p {
        font-size: 15px;
        margin-bottom: 12px;
    }
    #stopka .zawartosc > article:last-of-type {
        margin-top: 20px;
        padding-top: 15px;
        width: 100%;
    }
}
/*KONIEC 600px*/