@font-face {
    font-family: 'LeagueSpartan';
    src: url('fonts/LeagueSpartan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LeagueGothic';
    src: url('fonts/LeagueGothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'LeagueSpartan', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: transparent;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

header .logo img {
    height: 120px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 50px;
    margin-right: 80px;
}

header nav ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    font-family: 'LeagueSpartan', sans-serif;
    font-size: 22px;
    padding: 10px 20px;
    
}

header nav ul li a:hover {
    color: #000;
}

/* Hero Section */
.hero {
    position: relative;
    color: #fff;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero-text {
    position: absolute;
    top: 30%;
    left: 35%;
    transform: translate(-50% , -50%);
    z-index: 2;
    opacity: 0;
    animation: fadeInDrop 2s forwards;
    margin-top: 200px;
    width: 1300px;
    margin-left: 70px;
}

.hero-text h1 {
    font-family: 'LeagueSpartan', sans-serif;
    font-size: 3rem;
    margin-right: 30%;
    margin-top: 5%;
    color: #fff;
    padding: 0px;
}

/* animka wejscia */
@keyframes fadeInDrop {
    0% {
        transform: translate(-50%, -100%);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* srodek */
.offer {
    position: relative;
    overflow: hidden;
    height: 100px;
    width: 62%;
    text-align: center;
    margin: 0 auto;
}

.offer img {
    width: 100%;
    height: auto;
    z-index: 1;
    margin-top: 20px;
    margin-bottom: 0px;
}

.background-text {
    position: absolute;
    transform: translate(-50%);
    z-index: 2;
    top: 25%;
    left: 50%;
    text-align: center;
}

.background-text h2 {
    font-family: 'LeagueGothic', sans-serif;
    font-size: 3rem;
    color: #000;
    padding: 0px;
}

.our-approach {
    padding: 40px 0;
    background-color: #f4f4f4;
}

.container {
    width: 62%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    line-height: 1.2;
}

.image-text {
    display: flex;
    align-items: center;
    gap: 20px;
}


.image-text .about1img{
    border-radius: 8px;
    width: 50%;
    margin-top: -35px;
}

.image-text .about2img{
    width: 50%;
    height: auto;
    border-radius: 8px;
    margin-top: -40px;
}

.image-text .about3img{
    width: 50%;
    height: auto;
    border-radius: 8px;
    margin-top: -20px;
    clip-path: inset(0 0 50px 0);
}

.text-content1 {
    width: 50%;
    margin-top: -20px;
}

.text-content2 {
    width: 50%;
    margin-top: -100px;
}

.text-content3 {
    width: 50%;
    margin-top: -150px;
}

.text-content1 h2 {
    font-size: 24px;
    color: #333;
    margin-top: 20px;
}

.text-content1 p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.text-content2 h2 {
    font-size: 24px;
    color: #333;
    margin-top: 20px;
}

.text-content2 p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.text-content3 h2 {
    font-size: 24px;
    color: #333;
    margin-top: 20px;
}

.text-content3 p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}




/* Zdjeciedolne Section */
.zdjeciedolne {
    position: relative;
    color: #fff;
    overflow: hidden;
    max-height: 800px;
    margin-top: -50px;
}

.zdjeciedolne .img {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
}

/* Footer */
footer {
    background-color: #e9ecef;
    padding: 20px;
    text-align: center;
}

footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

footer .footer-content img {
    height: 50px;
}

footer address {
    font-style: normal;
    text-align: center;
    font-size: 0.9rem;
}

footer .footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 35px;
}

footer .footer-nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
}

footer .footer-nav ul li a:hover {
    color: #333;
}

/* Ukrycie menu na mobilnych urządzeniach */
/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 15;
    position: relative; /* Utrzymanie stałej pozycji */
}

.hamburger span {
    display: block;
    height: 4px;
    background-color: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Animacja hamburgera (przemiana w "X") */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nawigacja */
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    transition: all 0.3s ease-in-out;
}

/* Menu rozwijane na urządzeniach mobilnych */
.nav-links.mobile {
    display: none; /* Domyślnie menu jest ukryte */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links.mobile li a {
    text-decoration: none;
    color: #000000;
    font-size: 22px;
    padding: 10px 20px;
    text-align: center;
}

.nav-links.active {
    display: flex; /* Wyświetlenie menu po kliknięciu hamburgera */
}

/* Responsywność dla mniejszych ekranów */
@media (max-width: 500px) {
    .whoarewe {
        padding: 20px;
    }

    .hero-text {
        margin-right: 0; /* Wyłączenie dużego marginesu */
        margin-left: 50px; /* Ustawienie małego marginesu z lewej */
        width: 90%; /* Tekst zajmuje większość szerokości ekranu */
        font-size: 1.2rem; /* Zmniejszenie rozmiaru czcionki */
        transition: all 0.3s ease-in-out; /* Dodanie płynnego przejścia */
        text-align: left;
        margin-top: 100px;
    
    }

    .hero-text h1 {
        font-size: 1.5rem; /* Zmniejszenie rozmiaru nagłówka */
        line-height: 1.4;
    }

    .whoarewe img {
        width: 20px;    /* DO ZROBIENIA - wyświetlanie prawidłowo bloku*/
        z-index: 1;
        margin-left: 6px;
    }

    .background-text {
        top: 30%;
        left: 50%;
        transform: translate(-50%);
    }

    .background-text h2 {
        font-size: 3rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }

    .container {
        flex-direction: column;
        align-items: center;
    }




}

@media (min-width: 501px) and (max-width: 768px) {

    .hero-text {
        margin-right: 0; /* Wyłączenie dużego marginesu */
        margin-left: 0; /* Ustawienie małego marginesu z lewej */
        width: 65%; /* Tekst zajmuje większość szerokości ekranu */
        font-size: 1.2rem; /* Zmniejszenie rozmiaru czcionki */
        top: 100px;
        transition: all 0.3s ease-in-out; /* Dodanie płynnego przejścia */
        text-align: left;
    
    }

    .hero-text h1 {
        font-size: 1.5rem; /* Zmniejszenie rozmiaru nagłówka */
        line-height: 1.4;
    }



    .background-text {
        top: 25%;
        left: 50%;
        transform: translate(-50%);
    }

    .background-text h2 {
        font-size: 3rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }
}


@media (min-width: 769px) and (max-width: 1080px) {


    .hero-text {
        margin-right: 0; /* Wyłączenie dużego marginesu */
        margin-left: 10%; /* Ustawienie małego marginesu z lewej */
        width: 90%; /* Tekst zajmuje większość szerokości ekranu */
        font-size: 1.2rem; /* Zmniejszenie rozmiaru czcionki */
        text-align: center; /* Wyśrodkowanie tekstu */
        top: 140px;
        transition: all 0.3s ease-in-out; /* Dodanie płynnego przejścia */
    }

    .background-text {
        top: 42%;
        left: 50%;
        transform: translate(-50%);
    }

    .background-text h2 {
        font-size: 3rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }

}

@media (min-width: 1081px) and (max-width: 1440px) {
    .hero-text {
        margin-right: 0; /* Wyłączenie dużego marginesu */
        margin-left: 180px; /* Ustawienie małego marginesu z lewej */
        width: 90%; /* Tekst zajmuje większość szerokości ekranu */
        font-size: 1.2rem; /* Zmniejszenie rozmiaru czcionki */
        text-align: left; /* Wyśrodkowanie tekstu */
        margin-top: 400px;
        transition: all 0.3s ease-in-out; /* Dodanie płynnego przejścia */
    }

    .background-text {
        top: 35%;
        left: 50%;
        transform: translate(-50%);
    }

    .background-text h2 {
        font-size: 3rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }

}

/* Responsywność */
@media (max-width: 768px) {
    header nav ul {
        display: none; /* Ukrycie menu na małych ekranach */
    }

    .nav-links {
        display: none; /* Domyślnie ukryta */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Wyświetlanie poniżej headera */
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 9; /* Zapewnienie, że lista nie przesłania logo ani hamburgera */
    }

    .nav-links li a {
        text-decoration: none;
        color: #333;
        font-size: 18px;
        padding: 10px 20px;
        text-align: center;
    }

    .hamburger {
        display: flex; /* Pokazanie hamburgera */
    }

    .hero-text h1 {
        font-size: 2rem;
        margin-right: 0;
        text-align: center;
    }

}

@media (max-width: 480px) {
    header .logo img {
        height: 60px;
    }

    header nav ul li a {
        font-size: 16px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .background-text h2 {
        font-size: 1.8rem;
    }

    .tekst h2 {
        font-size: 1.8rem;
    }


    footer address {
        font-size: 0.8rem;
    }

    footer nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsywnosc */
@media (max-width: 1200px) {
    header nav ul {
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 3rem;
        margin-right: 20%;
    }

}

@media (max-width: 768px) {
    header nav ul {
        display: none; /* Ukrycie menu na małych ekranach */
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hamburger {
        display: flex; /* Pokazanie hamburgera */
    }

    .hero-text h1 {
        font-size: 2rem;
        margin-right: 0;
        text-align: center;
    }


}

@media (max-width: 480px) {
    header .logo img {
        height: 40px;
    }

    header nav ul li a {
        font-size: 16px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .background-text h2 {
        font-size: 1.8rem;
    }


    footer address {
        font-size: 0.8rem;
    }

    footer nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* About Us Section */
.about {
    display: flex;
    flex-wrap: wrap; /* Pozwala na zawijanie elementów w przypadku małych ekranów */
    justify-content: space-between;
    gap: 40px;
    padding: 40px 20px;
    max-width: 970px;
    margin: 0 auto; /* Ustawienie sekcji w centrum */
}

.about-content {
    font-size: 1rem;
    text-align: left;
    flex: 1;
    min-width: 300px; /* Zapewnia minimalną szerokość dla każdego elementu */
}

.about-content p {
    font-size: 22px;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.about-content .learn-more {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 18px;
    margin-top: 20px;
    transition: color 0.3s;
}

.about-content .learn-more:hover {
    color: #007BFF;
}

.about-content .learn-more::after {
    content: ' →';
    font-size: 20px;
    margin-left: 8px;
    transition: margin-left 0.3s;
}

.about-content .learn-more:hover::after {
    margin-left: 12px;
}

.photo {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.photo img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}


/* Sekcja tekstu */
.about {
    flex: 2;
    max-width: 100%;
    margin: 0 auto;
}

.onas a {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
    margin-left: 35px;
}

.onas p {
    font-size: 18px; 
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    margin-left: 35px;
}





/* tel */
@media (max-width: 480px) {
    .photoaboutus img {
        width: 80%; 
        max-width: 300px; 
        height: auto; 
    }

    .onas a {
        font-size: 18px; 
    }

    .onas p {
        font-size: 14px; 
    }

}

/* dla ekranów do 500px */
@media (max-width: 500px) {

    .offer {
        width: 80%;
        height: 80px;
    }
    
    .offer img {
        width: 100%;
    }


    .offer h2{
        font-family: 'LeagueGothic';
        font-size: 40px;
        margin-top: -5px;
    }

    .container {
        width: 100%;
    }

    .image-text {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .image-text .about1img{
        margin-bottom: 20px;
        width: 80%;
    }

    .image-text .about2img{
        margin-bottom: 80px;
        width: 80%;
    }

    .image-text .about3img{
        margin-bottom: 80px;
        width: 80%;
    }

    .text-content1,
    .text-content2,
    .text-content3 {
        width: 100%;
    }

    .text-content1 h2, 
    .text-content2 h2,
    .text-content3 h2 {
        font-size: 20px;
    }

    .text-content1 p,
    .text-content2 p,
    .text-content3 p {
        font-size: 14px;
    }

    .zdjeciedolne {
        margin-top: 5px;
    }
}

/* dla ekranów między 501px a 768px */
@media (min-width: 501px) and (max-width: 768px) {

    .offer {
        width: 68%;
        height: 80px;
    }

    .offer h2{
        font-family: 'LeagueGothic';
        font-size: 45px;
        margin-top: -5px;
    }

    .container {
        width: 90%;
    }

    .image-text {
        flex-direction: column;
        align-items: center;
    }

    .image-text .about1img{
        margin-bottom: 20px;
        width: 80%;
    }

    .image-text .about2img{
        margin-bottom: 80px;
        width: 80%;
    }

    .image-text .about3img{
        margin-bottom: 80px;
        width: 80%;
    }

    .text-content1,
    .text-content2,
    .text-content3 {
        width: 80%;
    }

    .text-content1 h2, 
    .text-content2 h2,
    .text-content3 h2 {
        font-size: 22px;
    }

    .text-content1 p,
    .text-content2 p,
    .text-content3 p {
        font-size: 16px;
    }

    .zdjeciedolne {
        margin-top: 5px;
    }
}

/* dla ekranów między 769px a 1080px */
@media (min-width: 769px) and (max-width: 1080px) {


    .offer {
        width: 80%;
        height: 80px;
    }
    
    .offer img {
        width: 100%;
    }


    .offer h2{
        font-family: 'LeagueGothic';
        font-size: 45px;
        margin-top: -18px;
    }

    .about {
        width: 80%;
        padding: 0 0 0 0;
    }

    .container {
        width: 100%; /* Zwiększenie szerokości kontenera */
        margin-top: 40px;
    }

    .image-text .about1img{
        margin-bottom: 20px;
        width: 60%;
    }

    .image-text .about2img{
        margin-bottom: 10px;
        width: 60%;
    }

    .image-text .about3img{
        margin-bottom: 80px;
        width: 60%;
    }

    .image-text img {
        width: 48%; /* Zwiększenie szerokości obrazów */
        margin-right: 10px; /* Mniejszy margines z prawej */
        object-fit: cover; /* Utrzymanie proporcji obrazów */
    }

    .text-content1, .text-content2, .text-content3 {
        width: 52%; /* Szerokość tekstów zwiększona dla lepszego rozkładu */
        margin-left: -20px;
    }

    .text-content3{
        margin-top: -190px;
    }

    .text-content1 h2, 
    .text-content2 h2,
    .text-content3 h2 {
        font-size: 20px; /* Zwiększenie rozmiaru nagłówków */
        line-height: 1.4; /* Poprawienie wysokości linii */
        
    }

    .text-content1 p,
    .text-content2 p,
    .text-content3 p {
        font-size: 12px; /* Zwiększenie fontu tekstu */
        line-height: 1.6; /* Lepsza czytelność tekstu */
    }

    .zdjeciedolne {
        margin-top: -90px;
    }
}

/* dla ekranów między 1081px a 1440px */
@media (min-width: 1081px) and (max-width: 1440px) {
    .offer {
        width: 60%;
        height: 80px;
    }
    
    .offer img {
        width: 100%;
    }


    .offer h2{
        font-family: 'LeagueGothic';
        font-size: 45px;
        margin-top: -18px;
    }

    .about {
        width: 60%;
        padding: 0 0 0 0;
    }

    .container {
        width: 100%; /* Zwiększenie szerokości kontenera */
        margin-top: 40px;
    }

    .image-text .about1img{
        margin-bottom: 20px;
        width: 60%;
        margin-top: -70px;
    }

    .image-text .about2img{
        margin-bottom: 10px;
        width: 60%;
        margin-top: -140px;
    }

    .image-text .about3img{
        margin-bottom: 80px;
        width: 60%;
        clip-path: inset(0 0 0 0);
    }

    .image-text img {
        width: 48%; /* Zwiększenie szerokości obrazów */
        margin-right: 10px; /* Mniejszy margines z prawej */
        object-fit: cover; /* Utrzymanie proporcji obrazów */
    }

    .text-content1, .text-content2, .text-content3 {
        width: 52%; /* Szerokość tekstów zwiększona dla lepszego rozkładu */
        margin-left: -20px;
    }

    .text-content2{
        margin-top: -30px;
    }

    .text-content3{
        margin-top: -140px;
    }

    .text-content1 h2, 
    .text-content2 h2,
    .text-content3 h2 {
        font-size: 22px; /* Zwiększenie rozmiaru nagłówków */
        line-height: 1.4; /* Poprawienie wysokości linii */
        
    }

    .text-content1 p,
    .text-content2 p,
    .text-content3 p {
        font-size: 13px; /* Zwiększenie fontu tekstu */
        line-height: 1.6; /* Lepsza czytelność tekstu */
    }

}



