/* General Styles */
html {
    scroll-behavior: smooth;

}
*{
    background-color: ;
}
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #969191, #3d3838);
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    margin-left: ;
}


.naglowekk{
margin-left: 35vh;
   
}
.naglowekk img{
  width: 350px;
  height: 350px;
  padding-bottom: 40PX;
   
}
.loga {
    margin-bottom: 15px;
    color: white;
    font-size: small;
   padding-left: 15px;
   margin-right: 12px;
}

header {
    width: 100%;
   
    top: 0;
    left: 0;
    background: linear-gradient(to right, #969191, #3d3838);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0.9;
    color: white;
    text-align: center;
height: 120px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease; /* Animacja dla całego nagłówka */
    display: flex;
   /* Na prawo/lewo */
    align-items: center;
    padding-left: ; 
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 30px;
  }
  
  /* Logo */
  .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
  }
  
  /* Linki nawigacyjne */
  .nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
  }
  
  .nav-links li {
    position: relative;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s ease-in-out;
  }
  
  /* Efekt podkreślenia po najechaniu */
  .nav-links a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #ff4d4d;
    transition: width 0.3s ease-in-out;
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  /* Burger menu dla mobile */
  .burger {
    display: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
  }
  
  /* Styl menu mobilnego */
  
  
  
.przed{
    
        background: gray;
        color: white;
        text-align: center;
 
        position: sticky;

    padding-left:30%;
        display: flex;

        align-items: center;
height: 27px;
        
    
      
    
}
.przed p{
    padding-top: 12px;
    font-size: 11px;
 
}
header h1 {
    margin: 0;
    font-size: 36px;
    transition: transform 0.3s ease;
}

header.scrolled h1 {
    transform: translateX(-200%); /* Przesuwamy nagłówek w lewo */
}

.menu {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease; /* Animacja dla przesuwania menu */
}

.menu li {
    margin: 0 15px;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: bold;
}

.menu a:hover {
    background-color: #555;
    transition: background-color 0.3s;
}

header.scrolled .menu {
    transform: translateX(-96%); /* Przesuwamy menu w prawo */
    font-size: 1.4rem;
}

/* Menu na urządzenia mobilne */

    
/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.slider-container {
    width: 100% !important; /* Użycie !important, aby nadpisać inne style */
    height: 500px !important;
    overflow: hidden !important;
    position: relative !important;
}

.slider {
    display: flex !important;
    transition: transform 1s ease-in-out !important;
    width: 300% !important;
}

.slider-image {
    width: 100vw !important;
    height: 100% !important;
    object-fit: cover !important;
}



.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    opacity: 0.9; 
    color: whitesmoke;
}

.cta-button {
    padding: 12px 20px;
    background-color: #ff5c5c;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #ff3333;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
/* Services Section */
.services {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(211, 211, 211, 0.575);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    
}


.service-card {
    display: inline-block;
    margin-top: 20%;
    width: 30%;
    padding: 15px;
    background-color: #ffffff8a;
    margin: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-size: 24px;
    margin: 10px 0;
}
.service-card p {
    color: #000000;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


/* Testimonials Section */
.testimonials {
    background-color: rgba(211, 211, 211, 0.575);
    padding: 40px 20px;
    text-align: center;
}

.testimonial {
    background-color: rgba(211, 211, 211, 0.575);
    margin: 20px auto;
    padding: 20px;
    width: 60%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial p {
    font-size: 16px;
    color: #000000;
    margin-bottom: 10px;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

/* Media Queries for Responsiveness */


.content-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
background-color: linear-gradient(to right, #969191, #3d3838);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.container {
    flex: 1; /* Left side content will take up available space */
    padding: 15px;

    
}
.container h2,p,h3,ul{
    color: white;
    font-family: 'Poppins', sans-serif;

    letter-spacing: 1px; /* Lekka przestrzeń między literami */
     /* Użycie wielkich liter */
    margin-bottom: 20px;
    position: relative;
}
.container h3{
    color: white;
    font-family: 'Poppins', sans-serif;

    letter-spacing: 1px; /* Lekka przestrzeń między literami */
     /* Użycie wielkich liter */
    margin-bottom: 20px;
    position: relative;
}

.video-container {
    flex: 0 0 270px; /* Fixed width for video container */
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-container h3 {
    text-align: center;
    margin-bottom: 10px; /* Adds some space between the title and video */
    color: white;
}

.video-container iframe {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



.kontakt{
    float: left;
}
.mapka{
   float: left;
  margin-left: 400px;
}
/* Nagłówki (h1, h2, h3) */
h1 {
    font-size: 3rem;
    background: linear-gradient(45deg, #ff6a00, #ee0979); /* Gradient dla nagłówka */
    -webkit-background-clip: text; /* Wykorzystanie gradientu w tekście */
    color: transparent; /* Ukrycie standardowego koloru tekstu */
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.3); /* Cień tekstu */
    padding-bottom: 10px; /* Dodatkowa przestrzeń pod nagłówkiem */
  }
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: #000000; /* Ciemny kolor tekstu */
    letter-spacing: 1px; /* Lekka przestrzeń między literami */
     /* Użycie wielkich liter */
    margin-bottom: 20px;
    position: relative;
  }

/* Animacja wejścia dla nagłówków */



/* Stylizacja tekstu */
p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;

    line-height: 1.6;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

/* Linki */
a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #e60000;
}

/* Galeria zdjęć z animacją */


@keyframes fadeInSlider {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Kontener galerii */

/* Hero text */


/* Animacja dla przycisku CTA */
.cta-button {
    padding: 12px 20px;
    background-color: #ff5c5c;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ff3333;
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials .testimonial {
    background-color: #fff;
    margin: 20px auto;
    padding: 20px;
    width: 60%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 2s ease-out;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive */

/* Stylizacja tabeli */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

/* Nagłówki tabeli */
th {
    background-color: #ff0000;
    color: white;
    font-size: 18px;
}

/* Wiersze tabeli */
td {
    background-color: #f9f9f9;
    font-size: 16px;
}

/* Efekt po najechaniu na wiersz */
tr:hover {
    background-color: #f1f1f1;
}

/* Zaokrąglone rogi tabeli */
table, th, td {
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Dodanie cienia do tabeli */
table {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Domyślny styl dla dużych ekranów - nagłówek standardowy */
/* Domyślny styl dla dużych ekranów - nagłówek standardowy */

/* Styl nagłówka na urządzenia mobilne */
.mobile-header {
    display: none; /* Ukrywamy domyślnie dla większych ekranów */
    background-color: #3d3838;
    padding: 15px;
  
    width: 100%;
}

/* Układ dla logo */
.mobile-logo {
    font-size: 24px;
    margin: 0;
    color: white;
    font-weight: bold;
    padding-bottom: 23%;
}

/* Styl hamburgera */
.hamburger {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;

}

.hamburger div {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
    margin-right: 35px;
}

/* Menu mobilne */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background-color: #333;
    text-align: center;
    z-index: 999;
  
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu ul li {
    padding: 15px 0;
}

.mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
}

.mobile-menu ul li a:hover {
    background-color: #555;
}

/* Aktywacja menu po kliknięciu hamburgera */
.mobile-menu.active {
    display: block;
}

/* Media Queries: Dla urządzeń mobilnych */
@media screen and (max-width: 768px) {
    /* Pokaż tylko mobilny nagłówek */
    header {
        display: block;
        padding: 20px;
        background-color: #3d3838;
        color: white;
        text-align: center;
    }
    
    .mobile-header {
        display: block;
      
    }

    /* Ukryj klasyczny nagłówek na urządzeniach mobilnych */
    header {
        display: none;
        
    }
    .mobile-header img{
     width: 200px;
     height: 100px;
        
    }

    /* Zmiana hamburgera, gdy jest aktywny */
    .hamburger.active div {
        background-color: #ff5c5c;
    }

    .hamburger.active div:nth-child(1) {
        transform: rotate(45deg);
        transform-origin: 10% 10%;
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(-45deg);
        transform-origin: 10% 100%;
    }
    .przed{
        display: none;
    }
    .hero{
        display: none;
    }
    .service-card h3 {
        font-size: 15px;
        
    }
    .service-card img{
        width: 100px;
        height: 100px;
    }
    .service-card p {
        display: none;
    }
    .video-container1{
        width: 20px;
        height: 20px;
    }
}

.gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    width: 200px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.1);
}

/* Styl dla modalu (pełnoekranowego widoku zdjęcia) */
.modal {
    display: none; /* Początkowo ukryte */
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: block;
    width: auto;
    height: auto;
}

.caption-container {
    text-align: center;
    color: white;
    font-size: 20px;
    padding: 10px 0;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #f1f1f1;
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 40px;
    font-weight: bold;
    padding: 16px;
    cursor: pointer;
    user-select: none;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover,
.next:hover {
    color: #f1f1f1;
}
@media (max-width: 768px) {

    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .gallery-item {
        width: 90%; /* Zwiększamy szerokość obrazków na małych ekranach */
        max-width: 100%;
        height: auto; /* Dostosowanie wysokości obrazków na urządzeniach mobilnych */
    }

    .modal-content {
        max-width: 95%;
        max-height: 90%;
    }

    .prev, .next {
        font-size: 30px; /* Mniejsze strzałki na telefonach */
        padding: 10px;
    }
}

/* Responsywność dla jeszcze mniejszych ekranów (np. telefony w pionie) */
@media (max-width: 480px) {
  

    .gallery-item {
        width: 100%; /* Obrazki zajmują całą szerokość ekranu */
    }

    .modal-content {
        max-width: 100%;
        max-height: 95%;
    }

    .prev, .next {
        font-size: 25px; /* Mniejsze strzałki */
    }
}
@media only screen and (max-width: 414px) {
    #header {
        font-size: 22px; /* Nagłówek dla większych iPhone'ów */
    }

    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .gallery-item {
        width: 90%; /* Zwiększamy szerokość obrazków */
        max-width: 100%;
        height: auto;
    }

    .modal-content {
        max-width: 95%;
        max-height: 90%;
    }

    .prev, .next {
        font-size: 35px;
        padding: 12px;
    }
}

/* Dodatkowa responsywność dla iPhone'ów z dużymi ekranami (iPhone 6 Plus, 7 Plus, 8 Plus) */
@media only screen and (max-width: 736px) {
    #header {
        font-size: 24px;
    }

    .gallery {
        flex-direction: row;
        justify-content: space-around;
    }

    .gallery-item {
        width: 45%; /* Mniejsze obrazki w dwóch kolumnach */
        max-width: 45%;
        height: 180px;
    }

    .modal-content {
        max-width: 90%;
        max-height: 90%;
    }
}
@media only screen and (max-width: 768px) {
    /* Dostosowanie szerokości kontenera */
    .content-wrapper {
        padding: 10px;   /* Zmniejszamy padding na małych ekranach */
        width: 100%;     /* Ustawiamy kontener na 100% szerokości ekranu */
        box-sizing: border-box; /* Zapewniamy, że padding będzie wliczany w szerokość */
    }

    /* Dostosowanie układu elementów wewnątrz wrappera */
    .content-wrapper {
        flex-direction: column;  /* Elementy w jednej kolumnie */
        align-items: center;     /* Wyśrodkowanie elementów */
    }

    /* Dostosowanie rozmiarów elementów w kontenerze */
    .content-wrapper {
        width: 90%;         /* Zwiększamy szerokość elementów na telefonach */
        min-width: 200px;   /* Minimalna szerokość elementów */
    }
    .mapka{
        display: none;
    }
}


/* Responsywność dla bardzo małych ekranów (np. iPhone SE) */
@media only screen and (max-width: 480px) {
    .content-wrapper{
        width: 100%;         /* Na bardzo małych ekranach elementy zajmują całą szerokość */
        padding: 10px;       /* Mniejszy padding na bardzo małych ekranach */
    }
}