/* NASZ CSS */
/* FONTY Z GOOGLE */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Slackey&display=swap');
/*
font-family: "Roboto", sans-serif;
font-family: "Bitcount Prop Double", system-ui;
/*

/* ZMIENNE */
:root{
    --kolor-glowny: black;
    --kolor-uzupelniajacy: #F54D02;
    --kolor-jasny: #C3B6D2;
    --kolor-jasny2: white;
    --kolor-ciemny: #280049;
}

/* SELEKTORY GLOBALNE */
*{
    transition: 2s;
    box-sizing: border-box; /* to powoduje, ze paddingi nie zwiększają szerokości boxu */

}
html{
    scroll-behavior: smooth; /* płynne przewijanie */
    font-size: 16px; /* domyślnie */
    font-size: 10px;
    max-width: 100%;
    
    /*
    rem = root emphasis = wielokrotność rozmiaru bazowego fontu
    1rem = 16px
    2rem = 32px
    itd.

    em = wielokrotność rozmiaru fontu w danym elemencie
    article{
        font-size: 27px;
        padding: 1em; wynosi 27px
        margin: 3rem; wynosi 30px (przy font-size: 10px)
    */
}
body{
    font-size: 1.6rem;
    font-family: "DM Sans", sans-serif;
}

img{
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6{
    font-family: "Slackey", system-ui;
}

h1{
    /*font-size: 40vw;*/
    font-size: 10rem;
    position: relative;
}
h2{
    /*font-size: 6rem;*/
    font-size: 7rem;
}
h3{
    font-size: 5rem;
}
h4{
    font-size: 3rem;
}
h5{}
h6{}

p{
    line-height: 140%;
}


h1{}

.zawartosc{
    /* background-color: red; */
    max-width: 1400px;
    width: 100%;
    /* padding: 2rem; */

    display: flex;
    gap: 2rem;
    flex-wrap: wrap; /* pamiętać zeby dopisac flex basis*/
}



/* NAWIGACJA MOBILE */
.burger {
    /* Zmieniamy na display: block tylko dla potrzeb testu, 
       docelowo steruj tym w media queries */
    display: block; 
    position: fixed;
    top: 15px;      /* Pozycja od góry */
    right: 20px;    /* Pozycja od prawej */
    z-index: 100000; /* Musi być większy niż z-index nav (który ma 99999) */
    font-size: 35px;
    color: white;   /* Biały kolor, żeby był widoczny na czarnym tle */
    cursor: pointer;
}

.burger:hover{
    color: var(--kolor-uzupelniajacy);

}

.nakladka{
    /*background-color: var(--kolor-glowny);
    position: fixed;
    right: 0;

    width: 0; /* funcja JS będzie zmieniała tę zawartość*/
    /*height: 100%;
    /* ucinamy wystające elementy poza box*/
    /*overflow: hidden;

    opacity: .9;
    display: flex;
    justify-content: center;
    align-items: center;*/
    height: 0;
    width: 100%; 
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, 0.9); 
    overflow-y: hidden;
    transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1); 
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;

}

.zamknijX{
    position: absolute;
    top: 2rem;
    right: 2rem;

    background-color: var(--kolor-jasny);
    font-size: 4rem;

    padding: .1rem 1rem 0;

    cursor: pointer;
}

.zamknijX:hover{
    background-color: var(--kolor-ciemny);
    color: var(--kolor-jasny);
}

.nakladka ol{
    
    width: 100%;
    padding: 0 2rem;

}
.nakladka ol li

.nakladka ol li a{
    
    color: var(--kolor-jasny2);
    display: block;
    text-align: center;
    text-decoration: none;

    font-size: 2.4rem;
    margin-bottom: 2vh;
    padding: 2vh 0;
}

.nakladka ol li a:hover{
    background-color: var(--kolor-jasny2);
    color: var(--kolor-glowny);
}

/* NAWIGACJA DESKTOP */

nav {
    background-color: var(--kolor-glowny);
    padding: 10px;
    display: flex;
    justify-content: center;
    position: fixed;
    width: 100%;
    z-index: 99999;
}

nav .zawartosc {
    /* Ustawienie szerokości i centrowanie kontenera */
    max-width: 1400px;
    margin: 0 auto;    /* Centruje kontener .zawartosc na środku ekranu */
    padding: 2rem;   /* Bezpieczny odstęp na bardzo małych ekranach */

    /* Układ elementów wewnątrz tych 1400px */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav img{
    display: flex;
    max-width: 20vh;
    height: auto;
    
}

nav ol {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    
    margin: 0;
    padding: 0;
}

nav ol li {
    padding: 1rem;
    
    
}

nav ol li a {
    color: var(--kolor-jasny2);
    text-decoration: none;
    font-size: 2vh;
    margin-left: 3rem;
    font-size: 2,5rem;
}

nav ol li a:hover {
    color: var(--kolor-uzupelniajacy);
}



/* WSZYSTKIE SEKCJE */
section{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;

    flex-direction: column;
    gap: 2rem;
}

section .zawartosc{
    padding: 2rem;
}

/* POSZCZEGÓLNE SEKCJE */

/******* PIERWSZA *********/
#pierwsza{
    background: linear-gradient(180deg,rgba(195, 182, 210, 1) 6%, rgba(245, 77, 2, 1) 50%, rgba(40, 0, 73, 1) 88%);
}
#pierwsza .zawartosc{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
#pierwsza article{
    display: flex;
    
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
}
#pierwsza img{
    max-width: 60rem;
    margin-top: 5rem;
}

#pierwsza p{
    font-size: 4rem;
    color: var(--kolor-jasny2);
}

#pierwsza h2{
    color: var(--kolor-jasny2);
}

.zdjecia-hero {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.zdjecia-hero img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.foto1 { transform: rotate(-10deg); }
.foto2 { transform: rotate(5deg);   margin-top: -20px; }
.foto3 { transform: rotate(-5deg);  margin-top: 20px; }
.foto4 { transform: rotate(10deg); }

.zdjecia-hero img:hover {
    transform: rotate(0deg) scale(1.1);
    z-index: 10;
}

/******* DRUGA *********/

#druga{
background: linear-gradient(180deg, rgba(40, 0, 73, 1) 18%, rgba(195, 182, 210, 1) 100%);
}

#druga .zawartosc{
    display: flex;            
    flex-direction: column;      
    justify-content: center;  
    align-items: stretch;     
    gap: 20px;                
    flex-wrap: nowrap;        
    width: 100%;             
    margin: 0 auto;
    padding: 2 rem 0;

}



#druga .naglowek{
    display: flex;
    
    
    justify-content: space-between;
    align-items: center;
    

}

#druga h2{
    color: var(--kolor-jasny2);
    text-align:left !important;
    padding-left: 2rem !important;
}

#druga button{
    font-family: 'Slackey';
    font-size: 3rem;
    padding: 1rem;
    border: none;
    border-radius: 16px;
    background-color: var(--kolor-jasny);
    color: var(--kolor-ciemny);
}

#druga button:hover{
    background-color: var(--kolor-uzupelniajacy);
    color: var(--kolor-jasny);
    transition: 0.3s;
}

#druga .img{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 30px; 
    width: 100%;
}

#druga .img img {
    flex: 1; 
    flex-wrap: wrap;
    width: 100%;
    max-width: 350px; 
    height: auto; 
    object-fit: contain;
}

#druga .zawartosc.scroll-x{
    
}

/******* TRZECIA *********/

#trzecia{
    background: linear-gradient(0deg,rgba(245, 77, 2, 1) 0%, rgba(195, 182, 210, 1) 89%);
    padding: 40px 20px;
}

#trzecia .zawartosc {
    display: flex;
    flex-direction: row;         
    flex-wrap: wrap;
    justify-content: space-between; 
    align-items: flex-start;     
    gap: 50px;                   
    width: 90%;
    max-width: 1200px;           
    margin: 0 auto;
    padding: 60px 0;             
}


#trzecia .kolumna-lewa {
    flex: 1;                     
    display: flex;
    flex-direction: column;   
    gap: 20px;                   
}

#trzecia button{
    font-family: 'Slackey';
    font-size: 3rem;
    border-radius: 16px;
    border: none;
    color: var(--kolor-jasny2);
    background-color: var(--kolor-ciemny);
    max-width: 340px;

}

#trzecia button:hover{
    color: var(--kolor-ciemny);
    background-color: var(--kolor-jasny);
    transition: 0.3s;

}


#trzecia .kolumna-prawa {
    flex: 1;                     
    display: flex;
    flex-direction: column;      
    gap: 20px;
}

#trzecia h2{
    color: var(--kolor-jasny2);
}


#trzecia .zawartosc img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/******* CZWARTA *********/

#czwarta{
    background-color: var(--kolor-uzupelniajacy);
}

#czwarta .zawartosc{
    display: flex;
    flex-direction: row;
}

#czwarta article{
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 20px;
    
    

}

#czwarta h4{
    color: var(--kolor-jasny2);
}

#czwarta p{
    color: var(--kolor-jasny2);
    text-align: justify;
}

#czwarta button{
    margin-top: auto;
    font-family: 'Slackey';
    font-size: 3rem;
    color: var(--kolor-jasny2);
    background-color: var(--kolor-ciemny);
    border: none;
    border-radius: 16px;
}

#czwarta button:hover{
    background-color: var(--kolor-jasny);
    color: var(--kolor-ciemny);
    transition: 0.3s;
}

/******* PIĄTA *********/

#piata{
    background: linear-gradient(0deg,rgba(40, 0, 73, 1) 0%, rgba(245, 77, 2, 1) 100%);
}

#piata .zawartosc{
    display: flex;
    justify-content: center;
}

#piata h1{
    color: var(--kolor-jasny2);
    margin-bottom: 2rem;
    text-align: center;
}

/******* SZÓSTA *********/

#szosta {
    background: linear-gradient(0deg,rgba(195, 182, 210, 1) 0%, rgba(40, 0, 73, 1) 100%);
    padding: 60px 0;
    width: 100%;
}


#szosta h2 {
    color: var(--kolor-jasny2);
    text-align: center !important;
    margin-bottom: 40px;
}


.akordeon-faq {
    width: 90%;
    max-width: 800px; 
    margin: 0 auto;
}


.akordeon-faq details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.6); 
    padding: 15px 0;
    transition: all 0.3s ease;
}


.akordeon-faq summary {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    font-size: clamp(14px, 2vw, 18px); 
    color: #ffffff;
    cursor: pointer;
    list-style: none; 
}


.akordeon-faq summary::-webkit-details-marker {
    display: none;
}


.akordeon-faq .plus {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease; 
}


.akordeon-faq .odpowiedz {
    padding-top: 15px;
    padding-bottom: 10px;
    font-size: clamp(13px, 1.8vw, 16px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8); 
}


.akordeon-faq details[open] .plus {
    transform: rotate(45deg);
    color: var(--kolor-uzupelniajacy); 
}


/******* STOPKA *********/
#stopka {
    background-color: var(--kolor-glowny); 
    color: var(--kolor-jasny2);
    padding: 60px 0 20px 0;
    width: 100%;
}


#stopka .zawartosc {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    gap: 50px;
}

.stopka-lewa {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
}

.social-media {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-media a {
    font-family: 'Slackey';
    color: var(--kolor-jasny2);
    text-decoration: none;
    font-size: 3rem;
    letter-spacing: 1px;
}

.aplikacja-sekcja {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aplikacja-sekcja p {
    color: var(--kolor-jasny2);
    font-family: 'Slackey';
    font-size: 3rem;
    letter-spacing: 1px;
}

.sklepy-przyciski {
    display: flex;
    flex-direction: row;
    gap: 15px;
    cursor: pointer;
}

.sklepy-przyciski img {
    height: 45px; 
    width: auto;
}

.stopka-prawa {
    flex: 1;
    display: flex;
    justify-content: flex-end; 
}

.klub-box {
    background-color: var(--kolor-uzupelniajacy); 
    padding: 40px;
    border-radius: 20px;       
    width: 100%;
    max-width: 450px;          
    box-sizing: border-box;
}

.klub-box h3 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 25px;
    color: var(--kolor-jasny2);
    line-height: 1.2;
}

.klub-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.klub-box input[type="text"],
.klub-box input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background-color: var(--kolor-jasny2); 
    color: var(--kolor-glowny);
    font-size: 1.4rem;
    box-sizing: border-box;
}

.checkbox-label {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 3px;
}

.checkbox-label span {
    font-size: 11px;
    line-height: 1.4;
    color: var(--kolor-jasny2);
}


.klub-box button {
    background-color: var(--kolor-jasny); 
    color: var(--kolor-jasny2);
    font-family: 'Slackey';
    border: none;
    border-radius: 10px;
    padding: 15px 0;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s ease;
    width: 100%;
}

.klub-box button:hover {
    background-color: var(--kolor-ciemny);
}

.autor-pasek {
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: 90%;
    margin: 0 auto;
}


/* ******************* RWD ********************** */
/* Tablet i inne */
/* do dodania później, bo zalezy od projektu */
@media (min-width: 900px){
    .burger{
        display: none;
    }
}


/* Smartfon */
@media (max-width: 900px){
    /* tu tylko konieczne selektory i ich właściwości */

    /******* NAWIGACJA *********/
    
    h1{
        font-size: 40vw;
        text-align: center;
    }

    .burger {
        display: block;
        position: fixed;
        top: 23px;
        right: 20px;
        z-index: 100000;
        font-size: 30px;
        color: white;
        cursor: pointer;
    }

    .nakladka {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 0;
        background-color: var(--kolor-glowny) !important;
        overflow: hidden !important;
        transition: height 0.4s ease-in-out, opacity 0.5s ease-in-out !important;
        z-index: 10000 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .nakladka ol {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }

    .nakladka ol li a {
        color: var(--kolor-jasny2) !important;
        text-decoration: none !important;
        font-size: 2.8rem !important;
        padding: 1rem;
        letter-spacing: 2px !important;
        display: block !important;
        transition: color 0.3s ease !important;
    }

    .nakladka ol li a:hover {
        color: var(--kolor-uzupelniajacy) !important;
    }

    nav ol {
        display: none;
    }

    nav .zawartosc {
        justify-content: flex-start; 
        height: 60px;
    }

  

    nav ol img, nav .zawartosc img {
        max-height: 20px;
        width: auto;
    }

    .zawartosc{
        padding: 0 2rem;
        text-align: center;
    }

    section{
        padding: 2rem 0;
    }

    /******* PIERWSZA *********/

    #pierwsza img{
        position: relative;
        
        max-width: 300px;
        margin-top: 5rem;
    }

    #pierwsza p{
        font-size: 2.5rem;
    }

    #pierwsza h2{
        font-size: 4rem;
        padding-bottom: 0px;
    }

    .zdjecia-hero {
        
        gap: 15px;          
        padding-bottom: 50px;
        margin-bottom: 0px;
        justify-content: center;
        
    }

    .zdjecia-hero img {
        width: 42%;         
        height: 180px;      
        border-width: 3px;  
    }

    .zdjecia-hero .foto1,
    .zdjecia-hero .foto2 {
        margin-bottom: -30px; /* Ujemna wartość podciągnie dolne zdjęcia do góry */
  }

    
    .foto1 { transform: rotate(-5deg); }
    .foto2 { transform: rotate(3deg);  margin-top: 0; }
    .foto3 { transform: rotate(-3deg); margin-top: 0; }
    .foto4 { transform: rotate(5deg); }

    /******* DRUGA *********/

    #druga .zawartosc{
        padding: 2rem 0;

    }

    #druga .naglowek{
        padding: 0 2rem;
    }


    #druga h2{
        font-size: 3rem;
    }

    #druga button{
        font-size: 2rem;
    }

    #druga .img {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;

    
    }

    #druga .img img {
        scroll-snap-align: start;
        flex: 0 0 100vw !important; 
        object-fit: cover;
        width: 100vw;
        scroll-snap-align: center;
        border-radius: 10px;
    }

    /******* TRZECIA *********/

    
    #trzecia .zawartosc {
        flex-direction: column-reverse !important; 
        gap: 40px !important;    
        padding: 40px 0 !important;
    }

     #trzecia .kolumna-lewa,
    #trzecia .kolumna-prawa {
        width: 100% !important;
    }

    #trzecia p{
        text-align: justify;
    }

    #trzecia h2{
        font-size: 5rem;
        color: var(--kolor-jasny2);
        text-align: left;
    }

    #trzecia .foto-do-ukrycia {
        display: none !important;
    }

    /******* CZWARTA *********/
    
    #czwarta .zawartosc {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
  }

    #czwarta article {
    
        flex: 0 0 85% !important; 
        scroll-snap-align: center;
    
    
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        padding: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 10px !important;
  }

    #czwarta article img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 5px 0 !important;
  }

    #czwarta article h4 {
        margin: 0 0 2px 0 !important;
        line-height: 1.2;
  }

    #czwarta article p {
        margin: 0 !important;
        line-height: 1.4;
  }
 
    #czwarta article button {
        margin-top: 10px !important;
        align-self: center;
        width: 100%;
  }

    /******* PIĄTA *********/

    #piata {
        padding-left: 0 !important;
        padding-right: 0 !important;
  }

    #piata .zawartosc {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 40px 0 !important;
        box-sizing: border-box !important;
    }

    #piata .zawartosc h1 {
        text-align: center !important;
        font-size: 3rem !important;
        margin-bottom: 2.5rem !important;
        width: 100% !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }

    #piata .ramka-na-mape {
        display: block !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: 100% !important;
        align-items: center;
        
        margin-left: -20px !important;        
        margin-right: -20px !important;
        padding-left: 20px !important;        
        padding-right: 20px !important;       
        box-sizing: border-box !important;
        -webkit-overflow-scrolling: touch;
    }

    #piata .ramka-na-mape img {
    
        align-items: center;
        
     
        width: 650px !important;
        min-width: 650px !important;
        max-width: 650px !important;
        
    height: auto !important;
    }

    #piata img {
        width: 100% !important;
        height: auto !important;
        max-width: none !important;
    
  }

    /******* SZÓSTA *********/

    #szosta .zawartosc {
        width: 100% !important;
        padding: 40px 0 !important;
    }

    #szosta h2 {
        text-align: left !important;
        font-size: 2.6rem !important;
        margin-bottom: 30px !important;
        margin-left: 15px;
        letter-spacing: 1px !important;
    }

    .akordeon-faq {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }

    .akordeon-faq details {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding: 16px 0 !important;
    }

    .akordeon-faq summary {
        font-size: 1.8rem !important;
        line-height: 1.4 !important;
        font-weight: 500 !important;
        padding-right: 10px !important;
        text-align: left;
    }

    .akordeon-faq .plus {
        font-size: 20px !important;
    }

    .akordeon-faq .odpowiedz {
        padding-top: 12px !important;
        padding-bottom: 6px !important;
        font-size: 1.6rem !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        text-align: left;
    }
}

/* KONIEC STYLÓW SMARTFON <600px */