@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: 22px;
    font-family: 'LeagueSpartan', sans-serif;
    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 */
/* Dis Section */


.dis {
    position: relative;
    width: 50%;
    height: 730px;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
}

.dis .img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
}

/* Logos section*/

.dis .logo{
    position: absolute;  
    width: 100%;
    height: 100%;
    display: flex;
    gap: 150px;
    justify-content: center;
    margin-top: 40px;

}

.dis .logo .location{
    width: 150px;
    height: 150px;
    position: relative;

}

.dis .logo .phone{
    width: 150px;
    height: 150px;
    position: relative;
}

.dis .logo .mail{
    width: 150px;
    height: 150px;
    position: relative;
}

/* title Section */

.dis .office-title{
    position: absolute;  
    font-weight: bold;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    margin-top: 180px;
    font-size: 20px;
    margin-left: 85px;
}

.dis .office-title .h2 {
    font-family: 'LeagueSpartan' sans-serif;
    color: #000;
}

.dis .phone-title{
    position: absolute;  
    font-weight: bold;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    margin-top: 180px;
    font-size: 20px;
}

.dis .phone-title .h2 {
    font-family: 'LeagueSpartan' sans-serif;
    color: #000;
}

.dis .mail-title{
    position: absolute;  
    font-weight: bold;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    margin-top: 180px;
    font-size: 20px;
    margin-left: 740px;
}

.dis .mail-title .h2 {
    font-family: 'LeagueSpartan' sans-serif;
    color: #000;
}

/*Description Section*/

.dis .address{
    position: absolute;  
    font-weight: bold;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    margin-top: 230px;
    font-size: 18px;
    margin-left: 95px;
}

.dis .address .p {
    font-family: 'LeagueSpartan' sans-serif;
    color: #000;
}

.dis .phonenumber{
    position: absolute;  
    font-weight: bold;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    margin-top: 240px;
    font-size: 18px;
    justify-content: center;
}

.dis .phonenumber .p {
    font-family: 'LeagueSpartan' sans-serif;
    color: #000;
}

.dis .mailaddress{
    position: absolute;  
    font-weight: bold;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    margin-top: 240px;
    font-size: 18px;
    margin-left: 685px;
}

.dis .mailaddress .p {
    font-family: 'LeagueSpartan' sans-serif;
    color: #000;
}

.Wearehere {
    position: absolute;  
    font-weight: bold;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    margin-top: 360px;
    font-size: 18px;
    margin-left: 640px;
    z-index: 2;
}

.Wearehere h3 {
    font-family: 'LeagueSpartan' sans-serif;
    color: #000;
}

.send {
    position: absolute;  
    font-weight: bold;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    margin-top: 360px;
    font-size: 21.06px;
    margin-left: 150px;
    z-index: 1;
}

.send h4 {
    font-family: 'LeagueSpartan' sans-serif;
    color: #000;
}
  
.disposal {
    position: absolute;  
    font-weight: lighter;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    margin-top: 400px;
    font-size: 18px;
    margin-left: 40px;
}

.disposal p {
    text-align: left;
    margin-left: 10px;
}


/*Map section*/

.map-container {
    z-index: 1; 
    position: absolute;
    display: flex;
    margin-top: 400px;
    margin-left: 500px;

}

.map-container > iframe {
    border: none;
}

/* Contact Form Section */

.contact-form-section {
    margin-right: 420px;
    margin-top: 280px;
    display: flex;
    position: absolute;
    margin-top: 430px;
    margin-left: 40px;

}
  
  input,
  textarea {
    font-size: 16px;
    border: 1px solid #ccc;
    width: 400px;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 5px;
    margin: 7px;
  }
  
  input::placeholder,
  textarea::placeholder {
    color: #aaa;
    font-style: italic; 
}


.send-button {
    background-color: #1E40AF;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    margin-left: 330px;
    position: relative;
    z-index: 4;
}

.send-button:hover {
    background-color: #1E3A8A;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
}

.send-button:active {
    transform: scale(0.95);
}



/* KONIEC FORMSA*/

.zdjeciedolne img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.offer {
    position: relative;
    overflow: hidden;
    height: 100px;
    text-align: center;
}

.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;
}
.offer .background-text {
    position: absolute;
    transform: translate(-50%);
    z-index: 2;
    top: 23%;
    left: 50%;
    text-align: center;
}

.offer .background-text h2 {
    font-family: 'LeagueGothic', sans-serif;
    font-size: 3rem;
    color: #000;
    padding: 0px;
}

/* Responsywność dla mniejszych ekranów */
@media (max-width: 500px) {

    .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;
    }


    .background-text {
        top: 35%;
        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 {

        clip-path: none;
        height: 100px;
        width: 380px;
        z-index: 1;
        margin-left: 6px;
    }

    .offer .background-text {
        margin-top: 10px;
    }

    .dis {
        margin-top: 15px;
        height: 750px;
        margin-bottom: 20px;
        width: 385px;
        margin-left: 20px;
    }

    .dis img {
        z-index: 1;
        margin-left: 6px;
    }


    .dis .logo {
        gap: 30px;
       
    }

    .dis .logo .location{
        width: 85px;
        height: 85px;

    }

    .dis .logo .phone{
        width: 85px;
        height: 85px;

    }

    .dis .logo .mail{
        width: 85px;
        height: 85px;

    }

    .dis .office-title {
        z-index: 10;
        font-size: 10px;
        margin-left: 35px;
        margin-top: 120px;
    }


    .dis .phone-title{
        z-index: 10;
        font-size: 10px;
        margin-left: 5px;
        margin-top: 120px;

    }

    .dis .mail-title{
        z-index: 10;
        font-size: 10px;
        margin-left: 300px;
        margin-top: 120px;

    }

    .dis .address{
        z-index: 10;
        font-size: 10px;
        margin-left: 35px;
        margin-top: 140px;
    }
    .dis .phonenumber{
        z-index: 10;
        font-size: 10px;
        margin-left: 5px;
        margin-top: 150px;
    }
    .dis .mailaddress{
        z-index: 10;
        font-size: 10px;
        margin-left: 270px;
        margin-top: 150px;
    }

    .dis .Wearehere {
        z-index: 10;
        font-size: 10px;
        margin-left: 160px;
        margin-top: 190px;
    }

    .map-container {
        z-index: 10; 
        position: absolute;
        display: flex;
        margin-left: 50px;
        height: 50px;
        width: 70px;
        margin-top: 210px;

    
    }
    
    .map-container > iframe {
        border: none;
    }

    .dis .send {
        z-index: 10;
        font-size: 10px;
        margin-left: 140px;
        margin-top: 500px;
    }

    .contact-form-section {
        display: flex;
        position: absolute;
        margin-left: 40px;
        margin-top: 520px;
        z-index: 10;
    }

    input,
    textarea {
      font-size: 15px;
      border: 1px solid #ccc;
      width: 300px;
      height: 40px;
      box-sizing: border-box;
      padding: 10px;
      border-radius: 5px;
      margin: 7px;
    }

    .send-button{
        margin-left: -2px;
    }
    


}

@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;
    }



    .offer .background-text {
        margin-top: 10px;
    }

    .background-text h2 {
        font-size: 3rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }

    .offer {
        margin-top: -35px;
        padding: 20px;
    }


    .offer img {
        height: 100px;
        width: 98%;
        z-index: 1;
        margin-left: 6px;
    }

    .dis {
        margin-top: 15px;
        height: 600px;
        margin-bottom: 20px;
        width: 93.5%;
        margin-left: 20px;
    }

    .dis img {
        z-index: 1;
        margin-left: 6px;
    }


    .dis .logo {
        gap: 100px;
       
    }

    .dis .logo .location{
        width: 100px;
        height: 100px;

    }

    .dis .logo .phone{
        width: 100px;
        height: 100px;

    }

    .dis .logo .mail{
        width: 100px;
        height: 100px;

    }

    .dis .office-title {
        z-index: 10;
        font-size: 15px;
        margin-left: 95px;
        margin-top: 130px;
    }


    .dis .phone-title{
        z-index: 10;
        font-size: 15px;
        margin-left: 0px;
        margin-top: 130px;

    }

    .dis .mail-title{
        z-index: 10;
        font-size: 15px;
        margin-left: 545px;
        margin-top: 130px;

    }

    .dis .address{
        z-index: 10;
        font-size: 15px;
        margin-left: 95px;
        margin-top: 160px;
    }
    .dis .phonenumber{
        z-index: 10;
        font-size: 15px;
        margin-left: 5px;
        margin-top: 170px;
    }
    .dis .mailaddress{
        z-index: 10;
        font-size: 15px;
        margin-left: 495px;
        margin-top: 170px;
    }

    .dis .Wearehere {
        z-index: 10;
        font-size: 15px;
        margin-left: 480px;
        margin-top: 250px;
    }

    .map-container {
        z-index: 10; 
        position: absolute;
        display: flex;
        margin-left: 380px;
        height: 50px;
        width: 70px;
        margin-top: 280px;

    
    }
    
    .map-container > iframe {
        border: none;
    }

    .dis .send {
        z-index: 10;
        font-size: 15px;
        margin-left: 140px;
        margin-top: 250px;
    }

    .disposal {
        z-index: 10;
        font: 10px;
        margin-left: 40px;
        margin-top: 320px;

    }

    .contact-form-section {
        display: flex;
        position: absolute;
        margin-left: 40px;
        margin-top: 350px;
        z-index: 10;
    }

    input,
    textarea {
      font-size: 15px;
      border: 1px solid #ccc;
      width: 300px;
      height: 40px;
      box-sizing: border-box;
      padding: 10px;
      border-radius: 5px;
      margin: 7px;
    }

    .send-button{
        margin-left: -2px;
    }
}


@media (min-width: 769px) and (max-width: 1079px) {


    .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 */
    }

    .offer .background-text {
        margin-top: 10px;
    }

    .background-text h2 {
        font-size: 3rem; /* Zmniejszenie rozmiaru tekstu na mniejszych ekranach */
    }

    .offer {
        margin-top: -35px;
        padding: 20px;
    }


    .offer img {

        clip-path: none;
        height: 100px;
        width: 98.5%;
        z-index: 1;
        margin-left: 6px;
    }

    .dis {
        margin-top: 15px;
        height: 640px;
        margin-bottom: 20px;
        width: 95%;
        margin-left: 20px;
    }

    .dis img {
        z-index: 1;
        margin-left: 6px;
    }


    .dis .office-title {
        z-index: 10;
        font-size: 15px;
        margin-left: 120px;
        margin-top: 170px;
    }


    .dis .phone-title{
        z-index: 10;
        font-size: 15px;
        margin-left: 0px;
        margin-top: 170px;

    }

    .dis .mail-title{
        z-index: 10;
        font-size: 15px;
        margin-left: 770px;
        margin-top: 170px;

    }

    .dis .address{
        z-index: 10;
        font-size: 15px;
        margin-left: 120px;
        margin-top: 195px;
    }
    .dis .phonenumber{
        z-index: 10;
        font-size: 15px;
        margin-left: 5px;
        margin-top: 200px;
    }
    .dis .mailaddress{
        z-index: 10;
        font-size: 15px;
        margin-left: 730px;
        margin-top: 200px;
    }

    .dis .Wearehere {
        z-index: 10;
        font-size: 15px;
        margin-left: 680px;
        margin-top: 250px;
    }

    .map-container {
        z-index: 10; 
        position: absolute;
        display: flex;
        margin-left: 530px;
        margin-top: 280px;

    
    }
    
    .map-container > iframe {
        border: none;
    }

    .dis .send {
        z-index: 10;
        font-size: 15px;
        margin-left: 160px;
        margin-top: 260px;
    }

    .disposal {
        z-index: 10;
        font: 10px;
        margin-left: 40px;
        margin-top: 320px;

    }

    .contact-form-section {
        display: flex;
        position: absolute;
        margin-left: 40px;
        margin-top: 350px;
        z-index: 10;
    }

    input,
    textarea {
      font-size: 15px;
      border: 1px solid #ccc;
      box-sizing: border-box;
      padding: 10px;
      border-radius: 5px;
      margin: 7px;
    }
}

    .dol .photoaboutus img{
        margin-top: 20px;
    }


@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 */
    }
    

    .offer {
        display: flex; /* Ustawienie Flexboxa */
        justify-content: center; /* Wyśrodkowanie w poziomie */
        align-items: center; /* Wyśrodkowanie w pionie */
        width: 100%; /* Szerokość kontenera */
    }
    
    .offer img {
        width: 70%; /* Szerokość obrazu */
        height: auto; /* Zachowanie proporcji */
        object-fit: contain; /* Dopasowanie bez przycinania obrazu */
        z-index: 1; /* Pozycjonowanie nad innymi elementami */
    }
    

    .dis {
        display: flex; /* Ustawienie Flexboxa */
        justify-content: center; /* Wyśrodkowanie w poziomie */
        align-items: center; /* Wyśrodkowanie w pionie */
        width: 100%; /* Szerokość kontenera */
        margin-top: -60px;
        margin-bottom: -50px;
    }

    .dis img {
        width: 70%; /* Szerokość obrazu */
        height: auto; /* Zachowanie proporcji */
        object-fit: contain; /* Dopasowanie bez przycinania obrazu */
        z-index: 2; /* Pozycjonowanie nad innymi elementami */
    }
    
    .dis .logo .location{   
        margin-top: 70px;
    }

    .dis .logo .phone{
        margin-top: 70px;
    }

    .dis .logo .mail{
        margin-top: 70px;
    }

    .dis .office-title {
        z-index: 2;
        font-size: 15px;
        margin-left: 720px;
        margin-top: 470px;
    }


    .dis .phone-title{
        z-index: 2;
        font-size: 15px;
        margin-left: 0px;
        margin-top: 470px;

    }

    .dis .mail-title{
        z-index: 2;
        font-size: 15px;
        margin-left: 2000px;
        margin-top: 470px;

    }

    .dis .address{
        z-index: 2;
        font-size: 15px;
        margin-left: 720px;
        margin-top: 530px;
    }
    .dis .phonenumber{
        z-index: 2;
        font-size: 15px;
        margin-left: 5px;
        margin-top: 550px;
    }
    .dis .mailaddress{
        z-index: 2;
        font-size: 15px;
        margin-left: 1900px;
        margin-top: 550px;
    }

    .dis .Wearehere {
        z-index: 2;
        font-size: 15px;
        margin-left: 1870px;
        margin-top: 650px;
    }

    .map-container {
        z-index: 2; 
        position: absolute;
        display: flex;
        margin-left: 530px;
        margin-top: 250px;

    
    }
    
    .map-container > iframe {
        border: none;
    }

    .dis .send {
        z-index: 2;
        margin-left: 850px;
        margin-top: 650px;
        font-size: 17.55px;
    }

    .disposal {
        font-size: 15px;
        margin-left: 600px;
        margin-top: 700px;
        z-index: 2;

    }

    .contact-form-section {
        display: flex;
        position: absolute;
        margin-top: 280px;
        z-index: 10;
        margin-left: -10px;
    }

    input,
    textarea {
      font-size: 15px;
      border: 1px solid #ccc;
      box-sizing: border-box;
      padding: 10px;
      border-radius: 5px;
      margin: 7px;
    }

    .send-button{
        margin-top: -5px;
    }
}

    .background-text {
        top: 35%;
        left: 50%;
        transform: translate(-50%);
    }

    .background-text h2 {
        font-size: 3rem; /* Zmniejszenie rozmiaru tekstu na mniejszych 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.mobile li a {
    text-decoration: none;
    color: #000000;
    font-size: 28px;
    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: center;
    }

    .about {
        flex-direction: column;
        text-align: center;
    }

    .about img {
        width: 80%;
        margin-bottom: 20px;
    }

    .about-content p {
        margin: 0 auto;
        width: 90%;
    }




}

@media (max-width: 480px) {
    header .logo img {
        height: 60px;
    }

    header nav ul li a {
        font-size: 16px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .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: center;
    }

    .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;
    }


    .dis p{
        margin-top: 10px;
    }

    .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;
    }



    .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;
    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;
}

/* Kontener główny sekcji About Us */
.dol {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    max-width: 1040px;
    margin: 0 auto;
    margin-top: -5px;
    flex-wrap: wrap;
}

/* Sekcja zdjęcia */
.photoaboutus {
    flex: 1;
    max-width: 40%; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto; 
}

.photoaboutus img {
    margin-top: 15px;
    width: 700px; 
    max-width: 700px; 
    height: 800px; 
    border-radius: 5px;
}

/* Sekcja tekstu */
.about {
    flex: 2;
    max-width: 60%;
    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;
}

/* responsywa */

/* Dla tabletów */
@media (max-width: 1024px) {
    .dol {
        flex-direction: column; 
        align-items: center;
    }

    .photoaboutus {
        max-width: 80%;
        margin: 0 auto;
    }

    .photoaboutus img {
        width: 100%; 
        max-width: 600px; 
        height: auto;
    }

    .about {
        max-width: 90%; 
        margin: 20px auto;
    }

    .onas a {
        font-size: 24px;
    }

    .onas p {
        font-size: 16px; 
    }
}

/* smarfony */
@media (max-width: 768px) {
    .dol {
        flex-direction: column;
        align-items: center;
    }

    .photoaboutus {
        max-width: 100%; 
        margin: 0 auto;
    }

    .photoaboutus img {
        width: 90%; 
        max-width: 400px;
        height: auto; 
    }

    .about {
        max-width: 100%;
        margin: 0 auto;
        margin-left: -20px;
    }

    .onas a {
        font-size: 20px;
    }

    .onas p {
        font-size: 15px;
    }
}

/* tel */
@media (max-width: 480px) {
    .photoaboutus img {
        width: 80%; 
        max-width: 300px; 
        height: auto; 
    }

    .onas a {
        font-size: 18px; 
    }

    .onas p {
        font-size: 14px; 
    }

}

