/*======GLOBALNE====*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html, body {
    background-color:  #121212;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

/*===HEADER I NAV===*/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 45px;
    background-color: rgb(29, 29, 29);
    border-bottom: 1px solid #2e0856;
}

header img {
    height: 70px;
    width: auto;
}

.navbar ul {
display: flex;
gap: 30px;
list-style-type: none;
}

.navbar a {
text-decoration: none;
text-transform: uppercase;
color: gray;
transition: 0.7s;
}

.navbar a:hover {
    color:#7c01ee;
}

.hamburger {
    display: none;
}

/*===SEKCJA HERO=====*/

.sekcja-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    background-color: #121212;
    padding: 100px 10%;
}

.sekcja-hero img {
    max-width: 100%;
    height: auto;
    display: block;
}

.prawa-strona-hero {
    max-width: 550px;
}

.prawa-strona-hero h1 {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 30px;
    font-size: 42px;
    
}

.prawa-strona-hero p {
    color: #b3b3b3;
    line-height: 1.6;
    font-size: 18px;
    margin-bottom: 40px;
}

.fioletowy-tekst {
    color: #5d15f3;
}

.przyciski-hero {
    display: flex;
    gap: 50px;
}

.przyciski-hero a {
    text-decoration: none;
}

.przycisk-dodatkowy {
    display: inline-block;
    border: 1px solid #ffffff;
    padding: 10px 30px;
    background-color: transparent;
    color: #ffffff;
    transition: 0.3s;

}

.przycisk-dodatkowy:hover {
    background-color: rgba(123, 1, 238, 0.053);
    color: #7c01ee;
    border-color: #7c01ee;
}

.przycisk-glowny {
    display: inline-block;
    border: none;
    padding: 10px 30px;
    background-color: #5d15f3;
    color: white;
    transition: 0.3s;
}

.przycisk-glowny:hover {
    background-color: #5700a9;
    border-color: #6101ba;
    
}

/*==SEKCJA KONTAKT====*/

.sekcja-kontakt {
    padding: 100px 10% 140px 10%;
    background-color: #121212;
    text-align: center;
}

.kontener-kontakt {
    max-width: 600px;
    margin: 40px auto 0 auto;
}

.kontener-kontakt p {
    color: #b3b3b3;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.sekcja-naglowekk h2 {
    font-size: 2rem;
    color: #5d15f3;
    font-weight: 900;
}

.duzy-przycisk-mail {
    display: inline-block;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #5d15f3;
    padding: 18px 40px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s ease;
}

.duzy-przycisk-mail:hover {
    background-color: #5d15f3;
    box-shadow: 0 0 15px rgba(64, 4, 120, 0.585);
    transform: scale(1.03);
}


/*===SEKCJA PROJEKTY======*/
.sekcja-projekty {
    background-color: #000000;
    padding: 180px 10% 100px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.karta-projektow {
    display: flex;
    justify-content: center;
    margin: 0 auto 100px auto;
    text-align: center;
    gap: 100px;
    max-width: 1200px;
    width: 100%;
   
}


.sekcja-naglowek {
    width: 100%;
    max-width: 1100px;   
    margin-bottom: 80px; 
    text-align: left;   
}

.sekcja-naglowek h2 {
    color: #5d15f3;   
    font-size: 2rem;
    text-transform: uppercase;
}

.lewa-strona-projekty {
    flex: 1;
    height: auto;
    display: block;
}

.prawa-strona-projekty {
    display: flex;
   flex: 1;
   flex-direction: column;
   justify-content: center;
   align-items: flex-start;
   text-align: left;
}


.prawa-strona-projekty h2, .prawa-strona-projekty h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 800;
    padding: 0;
}

.prawa-strona-projekty p {
    color: #b3b3b3;
    line-height: 1.6;
    font-size: 18px;
    max-width: 480px;
    margin-bottom: 30px;
}

.lewa-strona-projekty img {
    width: 100%;
    height: auto;
    display: block;
}


.link-projektu {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    background-color: #5d15f3;
    padding: 12px 30px;
    border-radius: 8px;
    transition: background-color 0.3s;
    text-align: center;
}

.link-projektu:hover {
    background-color: #4a0ec4;
}


.tagi-projektu {
    display: flex;
    gap: 10px;       
    margin-bottom: 25px;
}

.tagi-projektu span {
    background-color: rgba(93, 21, 243, 0.15);
    color: #dededf;   
    border: 1px solid rgba(93, 21, 243, 0.3);
    padding: 6px 14px;
    border-radius: 20px; 
    font-size: 13px;
    font-weight: bold;
}




@media (max-width: 768px) {
    header {
       flex-wrap: wrap;
       padding: 15px 20px;
    }

    header img {
        width: auto;
        height: 50px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background-color: #5d15f3;
        transition: 0.3s;
    }

    .navbar {
        display: none;
        width: 100%;
    }

    .navbar.active {
        display: block;
        width: 100%;
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        text-align: center;
    }

    header > a {
        display: block;
        width: auto;
    }

    .sekcja-hero {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
        text-align: center;
    }

    .prawa-strona-hero {
        max-width: 100%;
    }

    .prawa-strona-hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .prawa-strona-hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .przyciski-hero {
        justify-content: center;
        gap: 25px;
    }

    .karta-projektow {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .lewa-strona-projekty {
        max-width: 100%;
    }

    .lewa-strona-projekty img {
        width: 100%;
        height: auto;
    }

    .sekcja-projekty {
        padding: 60px 20px;
    }

    .sekcja-naglowek {
        text-align: center;
        margin-bottom: 40px;
    }

    .prawa-strona-projekty {
        width: 100%;
        max-width: 100%;
        align-items: center; 
        text-align: center;
    }

    .prawa-strona-projekty h2, 
    .prawa-strona-projekty h3 {
        padding: 0;
        margin-bottom: 15px;
        font-size: 24px;
    }

    .prawa-strona-projekty p {
        font-size: 16px;
    }

    .tagi-projektu {
        justify-content: center;
    }

    .sekcja-kontakt {
        padding: 60px 20px;
    }

    .duzy-przycisk-mail {
        padding: 12px 25px;
        font-size: 16px;
        word-break: break-all;
    }
}