@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-size: 25px;
    font-family: 'LeagueSpartan', sans-serif;
}

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;
}

.offer img {
    width: 50%;
    height: auto;
    position: relative;
    z-index: 1;
    margin-top: 20px;
    margin-left: 25%;
    margin-right: 25%;
    margin-bottom: 0px;
    object-fit: cover;
}

.background-text {
    position: absolute;
    transform: translate(-50%);
    z-index: 2;
    top: 28%;
    left: 50%;
    text-align: center;
}

.background-text h2 {
    font-family: 'LeagueGothic', sans-serif;
    font-size: 3rem;
    color: #000;
    padding: 0px;
}

.dis {
    position: relative;
    overflow: hidden;
    height: 580px;
    margin-bottom: 20px;
}

.dis img {
    width: 50%;
    height: 580px;
    position: relative;
    z-index: 1;
    margin-top: 10px;
    margin-left: 25%;
    margin-right: 25%;
    margin-bottom: 10px;
    object-fit: cover;
}


.tekst {
    position: absolute;
    transform: translate(-50%);
    z-index: 2;
    text-align: center;
    top: 5%;
    left: 50%;
    font-weight: bold;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}

.tekst p {
    font-family: 'LeagueSpartan', sans-serif;
    font-size: 1.5rem;
    color: #000;
    padding: 0px;
}

.zdjeciedolne img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* 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: 48%;
        left: 50%;
        transform: translate(-50%);
    }

    .background-text h2 {
        font-size: 2rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }

    .offer {
        margin-top: -35px;
        padding: 20px;
    }


    .offer img {
        height: 100px;
        width: 385px;
        z-index: 1;
        margin-left: 6px;
    }

    .dis {
        margin-top: -20px;
        padding: 20px;
        height: 500px;
    }

    .dis img {
        z-index: 1;
        margin-left: 6px;
        width: 385px;
    }

    .tekst {
        margin-top: 17px ;
        transform: translate(-50%);
    }

    .tekst h2 {
        font-size: 2rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }


}

@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: 32%;
        left: 50%;
        transform: translate(-50%);
    }

    .background-text h2 {
        font-size: 3rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }

    .offer {
        margin-top: -35px;
        padding: 20px;
    }


    .offer img {
        height: 200px;
        width: 728px;
        z-index: 1;
        margin-left: 6px;
    }


    .dis {
        margin-top: -20px;
        padding: 20px;
        height: 480px;
    }


    .dis img {
        z-index: 1;
        margin-left: 6px;
        width: 728px;
    }

    .tekst {
        margin-top: 17px ;
        transform: translate(-50%);
    }

    .tekst h2 {
        font-size: 2rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }
}



@media (min-width: 769px) and (max-width: 1024px) {
    .offer {
        margin-top: -35px;
        padding: 20px;
        height: 120px;
    }


    .offer img {
        height: 200px;
        width: 728px;
        z-index: 1;
        margin-left: 140px;
        justify-items: center;
    }


    .dis {
        margin-top: -20px;
        padding: 20px;
        height: 450px;
    }


    .dis img {
        z-index: 1;
        margin-left: 140px;
        width: 728px;
    }


    .hero-text {
        margin-right: 0; /* Wyłączenie dużego marginesu */
        margin-left: 120px; /* 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 */
        top: 140px;
        transition: all 0.3s ease-in-out; /* Dodanie płynnego przejścia */
    }

    .background-text {
        top: 38%;
        left: 50%;
        transform: translate(-50%);
    }

    .background-text h2 {
        font-size: 3rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }

    .tekst {
        top: 10%;
        left: 50%;
        transform: translate(-50%);
    }

    .tekst h2 {
        font-size: 3rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }
}

@media (max-width: 480px) {
    .background-text h2 {
        font-size: 1.5rem; /* Jeszcze mniejszy rozmiar tekstu na bardzo małych ekranach */
    }

    .tekst h2 {
        font-size: 1.5rem; /* Jeszcze mniejszy rozmiar tekstu na bardzo małych ekranach */
    }
}


/* Zdjeciedolne Section */
.zdjeciedolne {
    position: relative;
    color: #fff;
    overflow: hidden;
    max-height: 800px;
}

.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 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ść */
@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: left;
    }

    .about {
        flex-direction: column;
        text-align: center;
    }

    .about img {
        width: 80%;
        margin-bottom: 20px;
    }

    .about-content p {
        margin: 0 auto;
        width: 90%;
    }

    .about-content .learn-more {
        margin: 20 auto;
    }


}

@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;
    }

    .about img {
        width: 100%;
    }

    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%;
    }

    .about-content p {
        margin: 0 0 10px 50px;
        width: 80%;
    }

    .about-content .learn-more {
        margin: 0 0 10px 50px;
    }

    .about img {
        width: 40%;
    }
}

@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: left;
    }

    .about {
        flex-direction: column;
        text-align: center;
    }

    .about img {
        width: 80%;
        margin-bottom: 20px;
    }

    .about-content p {
        margin: 0 auto;
        width: 90%;
    }

    .about-content .learn-more {
        margin: 0 auto;
    }

    .tekst{
        top: 5%;
    }
}

@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;
    }

    .about img {
        width: 100%;
    }

    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; /* Zapewnia minimalną szerokość dla każdego elementu */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.photo img {
    width: 100%;
    max-width: 450px; /* Maksymalna szerokość obrazu */
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}


