@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;
    text-align: left;
}

/* animka wejscia */
@keyframes fadeInDrop {
    0% {
        transform: translate(-50%, -100%);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* Who Are We Section */

.whoarewe {
    position: relative;
    overflow: hidden;
    height: 100px;
}

.text {
    width: 50%;
    text-align: left;
    margin: 0 auto;
}

.text p {
    font-size: 22px;
    font-weight: lighter;
    font-family: 'LeagueSpartan', sans-serif;
}

.whoarewe 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: 10%;
    left: 50%;
    text-align: center;
}

.background-text h2 {
    font-family: 'LeagueGothic', sans-serif;
    font-size: 4rem;
    color: #000;
    padding: 0px;
}

/* 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;
        top: -50px;
    
    }

    .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: 32%;
        left: 50%;
        transform: translate(-50%);
    }

    .background-text h2 {
        font-size: 2rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }

    .learn-more {
        margin-left: 10%;
    }

    .text {
        width: 80%;
        text-align: block;
        margin: 0 auto;
    }
    
    .text p {
        font-size: 15px;
    }
}

@media (min-width: 501px) and (max-width: 768px) {
    .whoarewe {
        padding: 20px;
    }

    .text {
        width: 80%;
        text-align: block;
        margin: 0 auto;
    }
    
    .text p {
        font-size: 15.5px;
    }

    .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: 120px;
        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;
    }

    .whoarewe img {
        width: 20px;    /* DO ZROBIENIA - wyświetlanie prawidłowo bloku*/
        z-index: 1;
        margin-left: 6px;
    }


    .background-text {
        top: 25%;
        left: 50%;
        transform: translate(-50%);
    }

    .background-text h2 {
        font-size: 3rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }

    .learn-more {
        margin-left: 10%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    header {
        display: flex;
        align-items: center;
        background-color: transparent;
        position: absolute;
        top: -30px;
        width: 100%;
        z-index: 10;
    }
    
    header .logo img {
        height: 100px;
    }
    
    header nav ul {
        list-style: none;
        display: flex;
        margin-right: 50px;
    }
    
    header nav ul li a {
        text-decoration: none;
        color: #000000;
        font-weight: bold;
        font-family: 'LeagueSpartan', sans-serif;
        
    }
    
    header nav ul li a:hover {
        color: #000;
    }

    .whoarewe {
        padding: 20px;
    }

    .hero-text {
        margin-right: 0; /* Wyłączenie dużego marginesu */
        margin-left: 150px; /* 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: 240px;
        transition: all 0.3s ease-in-out; /* Dodanie płynnego przejścia */
    }

    .text {
        width: 90%;
        text-align: block;
        margin: 0 auto;
        margin-top: 10px;
        margin-bottom: -10px;
    }
    
    .text p {
        font-size: 15px;
    }

    .whoarewe img{
        width: 50%;
        height: auto;
        position: relative;
        z-index: 1;
        margin-left: 25%;
        margin-right: 25%;
        margin-bottom: 0px;
        object-fit: cover;
    }

    .background-text {
        top: 35%;
        left: 50%;
        transform: translate(-50%);
    }

    .background-text h2 {
        font-size: 3rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }

    .learn-more {
        margin-left: 10%;
    }
}

@media (max-width: 480px) {
    .background-text h2 {
        font-size: 1.5rem; /* Jeszcze mniejszy rozmiar tekstu na bardzo małych ekranach */
    }
}


/* About Us Section */
.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 20px;
    max-width: 970px;
    margin-right: 50px;
    margin-left: 445px;
}

.about-content {
    font-size: 1rem;
    text-align: left;
    flex: 1;
    max-width: 350px;
}

.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;
    margin-left: 200px;
}

.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;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo img {
    width: 450px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* 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;
    }

    .whoarewe img {
        height: auto;
        width: 100%;
        clip-path: none;
    }
}

@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;
    }

    .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: 20px;
    }

    .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;
    }

    .whoarewe img {
        height: 100px;
        width: 100%;
        clip-path: none;
    }

    .whoarewe{
        height: 150px;
    }

    .whoarewe h2{
        margin-top: 20px;
    }
}

@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;
    }
}
@media (min-width: 1080px) and (max-width: 1440px) {

    .hero-text h1{
        margin-left: 150px;
        margin-top: 300px;
    }

} 


/* 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;
}


