    /*
    Theme Name: Czerewko Photography
    */

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: Arial, sans-serif;
        background-color: #F0F0F0;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    html{
        overflow-x: hidden;
    }

    /*Logo*/
        .mobile-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            background-color: white;
        }

        .logo {
            width: 500px;
            display: block;
            margin: auto;
        }

        .hamburger {
            display: none;
            font-size: 30px;
            cursor: pointer;
            color: black;
        }


    /* Nawigacja */
        nav {
            background-color: #333;
            z-index: 10;
            color: white;
        }

        nav ul {
            list-style-type: none;
            padding: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            box-sizing: border-box;
        }

        nav ul li {
            margin: 0 30px;
            position: relative;
        }

        nav ul li a {
            color: white;
            text-decoration: none; /* Usunięcie podkreślenia */
            padding: 12px 20px;
            display: block;
            margin: 0;
        }

        nav ul li a:hover {
            background-color: #575757;
            color: white; /* Stały kolor tekstu */
            text-decoration: none; /* Zapewnienie, że podkreślenie nie pojawi się po najechaniu */
        }

    /* Rozwijane menu */
        nav ul li ul {
            display: none;
            position: absolute;
            background-color: #333;
            padding: 5px 0; /* Mniejsze paddingi */
            margin: 0;
            list-style: none;
            width: 180px; /* Dopasowanie szerokości */
            left: 0;
            z-index: 10;
            text-decoration: none;
        }

        nav ul li:hover ul {
            display: block;
        }

        nav ul li ul li {
            margin: 0;
            padding: 0;
            width: 100%;
        }

        nav ul li ul li a:hover {
            background-color: #575757;
            color: white;
            text-decoration: none; /* Brak podkreślenia w podmenu */
        }

        nav ul li ul li a:hover {
            background-color: #575757;
            color: white; /* Tekst nie zmienia koloru po najechaniu */
        }

    /* Media na nawigacji */
        .media {
            display: flex;
            gap: 10px;
            align-items: right;
        }

        .media img {
            width: 40px;
        }
        .media_button {
                display: inline-block;
                padding: 5px;
            }

            .media_button img {
                display: block;
                width: 40px;
                height: auto;
            }

            .media_button:hover {
                background-color: #575757;
            }

    /* Karuzela w indexie */
        .carousel {
            width: 100%;  /* ⬅️ Używamy viewport width zamiast procentów */
            height: 100vh;
            margin: 0;     /* Usuwamy przesunięcie */
            margin-top: -16px;
            padding: 0;
            overflow: hidden;
            position: relative; /* dla pewności, jeśli coś nad nią będzie */
        }

        .carousel-inner,
        .carousel-item {
            width: 100%;
            height: 100%;
        }

        .carousel-item .img {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center center;
        }

                        /* RESPONSYWNOŚĆ */
                            @media (max-width: 768px) {
                                .carousel {
                                    height: 50vh; /* Nadal pełny ekran */
                                }

                                .carousel-inner,
                                .carousel-item {
                                    height: 100%;
                                }

                                .carousel-item .img {
                                    background-size: cover; /* Pokrywa cały obszar bez zniekształceń */
                                    background-position: center center;
                                }
                            }

        /* Pasek ze wspolpracami */
        .partner {
            background-color: white;
            height: 150px;
            width: 100%;
            display: flex;
            align-items: center;
            padding-left: 40px;
            font-family: "Courier New", monospace;
            flex-wrap: wrap;
        }

        .partner h4 {
            margin-right: auto;
        }

        .partner_logos {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-grow: 1;
            gap: 400px; /* Domyślny odstęp na dużych ekranach */
        }
        .partner_logos img {
            height: 120px;
            width: auto;
        }

                        /* Pasek ze wspolpracami - responsywnosc */
                        @media (max-width: 1600px) {
                            .partner_logos {
                                gap: 200px;
                            }
                        }

                        @media (max-width: 1200px) {
                            .partner_logos {
                                gap: 100px;
                            }
                        }

                        @media (max-width: 992px) {
                            .partner {
                                flex-direction: column;
                                height: auto;
                                padding: 20px;
                                text-align: center;
                            }

                            .partner_logos {
                                gap: 100px;        /* ✅ Twój wymóg na tablety */
                                flex-wrap: wrap;  /* Umożliwia łamanie wierszy jeśli mało miejsca */
                            }

                            .partner_logos img {
                                height: 80px;     /* Dostosowanie wielkości logotypów */
                            }
                        }

                        @media (max-width: 768px) {
                            .partner {
                                flex-direction: column;
                                height: auto;
                                padding: 20px;
                                text-align: center;
                            }

                            .partner_logos {
                                gap: 50px;
                                flex-wrap: wrap;
                            }

                            .partner_logos img {
                                height: 80px; /* Zmniejszanie logo na małych ekranach */
                            }
                        }

                        @media (max-width: 480px) {
                            .partner_logos {
                                gap: 40px;
                            }

                            .partner_logos img {
                                height: 80px;
                            }
                        }

                                                /* Responsywność */
                                                @media (max-width: 768px) {
                                                    .logo {
                                                        width: 300px; /* Zmniejszenie logo */
                                                        max-width: 90%;
                                                    }

                                                    .hamburger {
                                                        display: block; /* Pokaż ikonę hamburgera */
                                                    }

                                                    .media {
                                                        display: none; /* Ukrycie ikon */
                                                    }
                                                    .carousel{
                                                    margin-top: 0px;
                                                    }
                                                    nav ul {
                                                        flex-direction: column;
                                                        align-items: flex-start;
                                                        display: none; /* Ukrycie menu */
                                                        position: absolute;
                                                        background-color: #333;
                                                        width: 100%;
                                                        left: 0;
                                                        top: 80px;
                                                        padding: 10px 0;
                                                        z-index: 10;
                                                        color: white;
                                                    }

                                                    nav ul.show {
                                                        display: flex; /* Pokazanie menu po kliknięciu */
                                                    }

                                                    nav ul li {
                                                        width: 100%;
                                                        text-align: left;
                                                        padding: 10px;
                                                    }
                                                    nav ul li ul {
                                                        width: 90%;
                                                    }

                                                    .media {
                                                        display: flex;
                                                        justify-content: center;
                                                        width: 100%;
                                                        padding: 10px 0;
                                                    }

                                                }

        .opis-container {
                display: flex;
                align-items: center;
                gap: 30px; /* Odstęp między obrazem a tekstem */
                max-width: 100%;
                margin: 30px;
            }

            .profilowe_opis_left {
                height: 600px;
                width: auto;
                border-radius: 10px; /* Zaokrąglenie rogów */
                box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
            }

            /* Wersja obrazka po prawej */
            .profilowe_opis_right {
                height: 600px;
                width: auto; /* Zachowuje proporcje */
                border-radius: 10px;
                box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
            }

            /* Opcjonalnie, by tekst nie był za szeroki */
            .opis-text {
                max-width: 100%; /* Możesz dostosować do uznania */
                text-align: justify;
                font-size: 24px;
            }
            .bold {
                font-size: 30px;
                font-weight: bold;
                color: #333;
            }
            .bigtitle{
                font-size: 40px;
                font-weight: bolder;
                color: #333;
            }

                            /* Dostosowanie do ekranów mobilnych */
                                @media (max-width: 768px) {
                                    .opis-container {
                                        flex-direction: column;
                                        text-align: center;
                                    }
                                    
                                    .profilowe_opis {
                                        height: 300px;
                                    }
                                    
                                    .opis-text {
                                        max-width: 100%;
                                        text-align: justify;
                                        font-size: 12px;
                                        margin: -10px;
                                    }
                                    .bold {
                                        font-size: 22px;
                                        font-weight: bold;
                                        color: #333;
                                    }
                                    .bigtitle{
                                        font-size: 30px;
                                        font-weight: bold;
                                        color: #333;
                                    }
                                    .profilowe_opis_left{
                                        margin: 10px;
                                    }
                                    .profilowe_opis_right{
                                        margin: 10px;
                                    }
                                }

                                

                                @media (max-width: 922px) {
                                    .opis-container {
                                        text-align: center;
                                    }
                                    
                                    .profilowe_opis {
                                        height: 300px;
                                    }
                                    
                                    .opis-text {
                                        max-width: 100%;
                                        text-align: justify;
                                        font-size: 16px;
                                        margin: -10px;
                                    }
                                    .bold {
                                        font-size: 20px;
                                        font-weight: bold;
                                        color: #333;
                                    }
                                    .bigtitle{
                                        font-size: 24px;
                                        font-weight: bold;
                                        color: #333;
                                    }
                                    .profilowe_opis_left{
                                        margin: 10px;
                                    }
                                    .profilowe_opis_right{
                                        margin: 10px;
                                    }
                                }

    /* Ustawienie zdjec w podstronach */
            .container {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: stretch; /* ⬅️ Nie wyśrodkowuj */
                text-align: center;
                margin: 0;
                /*margin-top: -30px;*/
                padding: 0;
                width: 100%;
                max-width: 100%;
            }

            .container .box {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                width: 100%;
                max-width: 100%;
            }

            .container .box .photos {
                display: flex;
                flex-direction: column;
                width: 33.33%; /* Trzy kolumny */
                padding: 0; /* Zerujemy padding */
            }

            .container .box .photos img {
                width: 100%; /* Pełna szerokość kolumny */
                padding: 10px;  /* Usunięcie paddingu */
                margin-bottom: 0px; /* Zamiast padding-bottom dla odstępu między zdjęciami */
            }

                            /* ✅ RESPONSYWNOŚĆ - TELEFONY */
                                @media (max-width: 768px) {
                                    .container .box {
                                        flex-direction: column; /* Układ pionowy */
                                        align-items: center;    /* Wyśrodkowanie zdjęć */
                                    }

                                    .container .box .photos {
                                        width: 100%;            /* Cała szerokość kontenera */
                                    }

                                    .container .box .photos img {
                                        width: calc(100% - 40px); /* Szerokość zdjęcia pomniejszona o marginesy */
                                        margin: 20px;             /* Margines z każdej strony */
                                        padding: 0;               /* Usuwamy padding, mamy margines */
                                    }
                                }

        /* Pasek Copywrite */
            .title {
                color: white;
                font-size: 15px;
                background-color: black;
                font-family: sans-serif;
                text-align: center;
                height: 50px;
                margin: auto;
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
                font-weight: bold;
                margin-top: -10px;
            }

        /* Pasek z wydarzeniami */
            .title_concert {
                color: white;
                font-size: 30px;
                background-color: black;
                font-family: sans-serif;
                text-align: center;
                height: 50px;
                margin: auto;
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
                font-weight: bold;
                margin-top: -10px;
            }
        
        /* Scrollbar */
             ::-webkit-scrollbar{
            width: 10px;
            }
            ::-webkit-scrollbar-track{
                background-color: #505050;
            }
            ::-webkit-scrollbar-thumb{
                background-color: #A0A0A0;
                border-radius: 1vw;
                border: .5em;
            }
            ::-webkit-scrollbar-thumb:hover{
                background-color: #2D2D2D;
            } 

        /* Footer */
            .bottom_section {
                color: black;
                background-color: white;
                font-family: sans-serif;
                display: flex;
                align-items: center;
                justify-content: center; /* Wyśrodkowanie całości */
                width: 100%;
                height: 200px; /* Całość zajmuje pełną wysokość ekranu */
                gap: 70px; /* Proporcjonalne odstępy */
                padding: 0 20px;
            }

            /* Logo footer */
            .bottom_logo {
                max-height: 80px; /* Rozmiar proporcjonalny do tekstu */
                max-width: auto;
            }

            /* Pionowa linia */
            .vertical_line {
                width: 3px;
                height: 100px; /* Dopasowanie do kontaktu */
                background-color: black;
            }

            /* Kontakt footer */
            .bottom_text {
                text-align: left;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            /* Kontakt */
            .bottom_contact {
                font-family: "Arial", serif;
            }

            /* Imię i nazwisko */
            .contact_name {
                font-size: 25px;
                font-weight: bold;
            }

            /* Linki */
            .bottom_call {
                text-decoration: underline;
                color: black;
                font-size: 18px;
            }
            .bottom_call a{
                color: black;
                line-height: 1;
                font-size: 18px;
            }

            /* Ikon mediów społecznościowych */
            .social_media {
                display: flex;
                gap: 60px;
                align-items: center;
            }

            .social_icon {
                width: 50px;
                height: auto;
            }

                            /* Footer - responsywnosc */
                            @media (max-width: 1024px) {
                                .bottom_section {
                                    flex-direction: column;
                                    height: auto;
                                    gap: 20px;
                                    padding: 40px 0;
                                }

                                .vertical_line {
                                    display: none;
                                }

                                .bottom_text {
                                    text-align: center;
                                }

                                .social_media {
                                    justify-content: center;
                                    margin-bottom: 20px;
                                }
                            }

                            /* RESPONSYWNOŚĆ FOOTER - TELEFONY */
                                @media (max-width: 768px) {
                                    .bottom_section {
                                        flex-direction: column; /* Układ pionowy */
                                        justify-content: center;
                                        align-items: center;
                                        height: auto; /* Automatyczna wysokość */
                                        gap: 20px; /* Mniejszy odstęp między elementami */
                                        padding: 0 10px;
                                        text-align: center; /* Środek tekstu */
                                        box-sizing: border-box;
                                        width: 100%;
                                    }

                                    .bottom_logo {
                                        max-height: 60px; /* Mniejsze logo */
                                    }

                                    .vertical_line {
                                        display: none; /* Ukrywamy pionową linię, bo w kolumnie niepotrzebna */
                                    }

                                    .bottom_text {
                                        flex-direction: column;
                                        align-items: center;
                                        text-align: center;
                                    }

                                    .contact_name {
                                        font-size: 20px; /* Mniejszy rozmiar czcionki */
                                    }

                                    .bottom_call {
                                        font-size: 16px;
                                    }

                                    .bottom_call a {
                                        font-size: 16px;
                                    }

                                    .social_media {
                                        gap: 20px; /* Mniejsze odstępy między ikonami */
                                        justify-content: center;
                                    }

                                    .social_icon {
                                        width: 40px; /* Mniejsze ikony */
                                    }
                                }

                                /* EXTRA SMALL - DO 480px */
                                @media (max-width: 480px) {
                                    .bottom_section {
                                        padding: 10px;
                                    }

                                    .contact_name {
                                        font-size: 18px;
                                    }

                                    .bottom_call,
                                    .bottom_call a {
                                        font-size: 14px;
                                    }

                                    .social_icon {
                                        width: 30px;
                                    }
                                }




        .container_post_portrety {
            text-align: center;
            width: 100%;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            flex-wrap: wrap; /* dla responsywności */
            gap: 20px; /* odstęp między kartami */
        }

        .card_portrety {
            margin: 10px;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            transition: 0.3s;
            width: 350px;
            max-width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .card_portrety:hover {
            transform: scale(1.05);
        }

        .card-header_portrety {
            background-color: #D3D3D3;
            font-size: 18px;
            font-weight: bold;
            text-align: center;
            padding: 10px;
        }

        .card-body_portrety {
            font-size: 14px;
            padding: 10px;
            text-align: center;
        }

        .img_post_portrety {
            width: 100%;
            height: 465px;
            background-size: contain; /* całe zdjęcie widoczne */
            background-repeat: no-repeat;
            background-position: center;
            
        }


                                  .img_post_post1 {
                                    width: 100%;
                                    height: 465px;
                                    background-size: contain;
                                    background-repeat: no-repeat;
                                    background-position: center;
                                    position: relative;
                                    overflow: hidden;
                                  }

                                .img_post_post1 .overlay {
                                    position: absolute;
                                    inset: 0;
                                    background-color: rgba(0, 0, 0, 0); /* Domyślnie przezroczysty */
                                    transition: background-color 0.3s ease;
                                    z-index: 1;
                                  }

                                .img_post_post1:hover .overlay {
                                    background-color: rgba(0, 0, 0, 0.4); /* Przyciemnienie przy hoverze */
                                  }

                                  .img_post_post1 .link-text {
                                    position: absolute;
                                    top: 50%;
                                    left: 50%;
                                    transform: translate(-50%, -50%);
                                    color: white;
                                    font-size: 24px;
                                    text-decoration: none;
                                    z-index: 2;
                                    transition: text-decoration 0.2s;
                                    /*background-color: rgba(0, 0, 0, 0.3); /* opcjonalnie tło dla czytelności */*/
                                    padding: 10px 20px;
                                    border-radius: 8px;
                                    line-height: 1.2;
                                    font-weight: bold;
                                  }

                                  .img_post_post1:hover .link-text {
                                    text-decoration: underline;
                                  }

                                  .card_post1 {
                                    margin: 0;
                                    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
                                    /*border-radius: 8px;*/
                                    transition: 0.3s;
                                    width: 310px;
                                    max-width: 100%;
                                    height: auto;
                                    display: flex;
                                    flex-direction: column;
                                    justify-content: space-between;
                                }

                                .card_post1:hover {
                                    transform: scale(1.05);
                                }

                                                                                .img_post_post2 {
                                                                                    width: 100%;
                                                                                    height: 210px;
                                                                                    background-size: contain;
                                                                                    background-repeat: no-repeat;
                                                                                    background-position: center;
                                                                                    position: relative;
                                                                                    overflow: hidden;
                                                                                  }

                                                                                .img_post_post2 .overlay {
                                                                                    position: absolute;
                                                                                    inset: 0;
                                                                                    background-color: rgba(0, 0, 0, 0); /* Domyślnie przezroczysty */
                                                                                    transition: background-color 0.3s ease;
                                                                                    z-index: 1;
                                                                                  }

                                                                                .img_post_post2:hover .overlay {
                                                                                    background-color: rgba(0, 0, 0, 0.4); /* Przyciemnienie przy hoverze */
                                                                                  }

                                                                                  .img_post_post2 .link-text {
                                                                                    position: absolute;
                                                                                    top: 50%;
                                                                                    left: 50%;
                                                                                    transform: translate(-50%, -50%);
                                                                                    color: white;
                                                                                    font-size: 24px;
                                                                                    text-decoration: none;
                                                                                    z-index: 2;
                                                                                    transition: text-decoration 0.2s;
                                                                                    /*background-color: rgba(0, 0, 0, 0.3); /* opcjonalnie tło dla czytelności */*/
                                                                                    padding: 10px 20px;
                                                                                    border-radius: 8px;
                                                                                    line-height: 1.2;
                                                                                    font-weight: bold;
                                                                                  }

                                                                                  .img_post_post2:hover .link-text {
                                                                                    text-decoration: underline;
                                                                                  }

                                                                                  .card_post2 {
                                                                                    margin: 0;
                                                                                    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
                                                                                    /*border-radius: 8px;*/
                                                                                    transition: 0.3s;
                                                                                    width: 310px;
                                                                                    max-width: 100%;
                                                                                    height: auto;
                                                                                    display: flex;
                                                                                    flex-direction: column;
                                                                                    justify-content: space-between;
                                                                                    margin-bottom: 15px;
                                                                                }

                                                                                .card_post2:hover {
                                                                                    transform: scale(1.05);
                                                                                }


                                                                                /* ✅ TABLETY - zmniejszamy tylko rozmiar */
                                                                                    @media (max-width: 992px) {
                                                                                        .card_post1, .card_post2 {
                                                                                            width: 400px;
                                                                                        }

                                                                                        .img_post_post1 {
                                                                                            height: 380px;
                                                                                        }

                                                                                        .img_post_post2 {
                                                                                            height: 190px;
                                                                                        }
                                                                                    }

                                                                                    /* ✅ TELEFONY - jedna pod drugą */
                                                                                    @media (max-width: 768px) {
                                                                                        .container_post_portrety {
                                                                                            flex-direction: column;
                                                                                            align-items: center;
                                                                                            margin-left: 0;
                                                                                            padding-left: 0;
                                                                                            width: 100%;
                                                                                        }

                                                                                        .card_post1, .card_post2 {
                                                                                            width: 100%;
                                                                                            max-width: 300px;
                                                                                            height: auto;
                                                                                            margin: auto;
                                                                                            margin-top: 30px;
                                                                                        }

                                                                                        .img_post_post1 {
                                                                                            height: 450px;
                                                                                            width: 300px;
                                                                                        }

                                                                                        .img_post_post2 {
                                                                                            height: 200px;
                                                                                            width: 300px;
                                                                                        }

                                                                                        .img_post_post1 .link-text,
                                                                                        .img_post_post2 .link-text {
                                                                                            font-size: 22px;
                                                                                            padding: 8px 12px;
                                                                                        }
                                                                                    }



                            /* ✅ TABLETY - zmniejszamy tylko rozmiar */
                                @media (max-width: 992px) {
                                    .card_portrety {
                                        width: 300px;
                                    }
                                    .img_post_portrety {
                                        height: 380px;
                                    }
                                }

                                /* ✅ TELEFONY - jedna pod drugą */
                                @media (max-width: 768px) {
                                    .container_post_portrety {
                                        flex-direction: column;
                                        align-items: center;
                                        margin-left: 0;
                                        padding-left: 0;
                                        width: 100%;
                                    }
                                    .card_portrety {
                                        width: 100%;
                                        max-width: 340px;
                                        height: 95%;
                                        margin: auto;
                                        margin-top: 30px;
                                    }
                                    .img_post_portrety {
                                        height: 460px;
                                        width: 100%;
                                    }
                                    .card-body_portrety {
                                        font-size: 14px;
                                    }
                                }





    /* SESJE RODZINNE - RESPONSYWNE */
        .container_post_rodzinne {
            text-align: center;
            width: 100%;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px; /* Odstęp między kartami */
        }

        .card_rodzinne {
            margin: 10px;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            transition: 0.3s;
            width: 450px;
            max-width: 100%; /* Pełna szerokość w kontenerze */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .card_rodzinne:hover {
            transform: scale(1.05);
        }

        .card-header_rodzinne {
            background-color: #D3D3D3;
            font-size: 18px;
            font-weight: bold;
            text-align: center;
            padding: 10px;
        }

        .img_post_rodzinne {
            width: 100%;
            height: 300px;
            background-size: contain; /* Pokazuje całe zdjęcie bez ucięcia */
            background-repeat: no-repeat;
            background-position: center;
        }

        .card-body_rodzinne {
            font-size: 14px;
            padding: 10px;
            text-align: center;
        }

                            /* ✅ TABLETY */
                                @media (max-width: 992px) {
                                    .card_rodzinne {
                                        width: 400px;
                                    }
                                    .img_post_rodzinne {
                                        height: auto;
                                    }
                                }

                                /* ✅ TELEFONY */
                                @media (max-width: 768px) {
                                    .container_rodzinne {
                                        flex-direction: column;
                                        align-items: center;
                                    }

                                    .card_rodzinne {
                                        flex-direction: column;
                                        width: 90%;
                                        max-width: 350px;
                                        margin: auto;
                                        margin-top: 30px;
                                    }

                                    .img_post_rodzinne {
                                        width: 100%;
                                        height: 235px;
                                    }

                                    .card-body_rodzinne {
                                        width: 100%;
                                        font-size: 12px;
                                    }
                                }

                                @media (max-width: 1440px) {
                                    .container_post_rodzinne {
                                        gap: 15px; /* mniejszy odstęp między kartami */
                                    }

                                    .card_rodzinne {
                                        width: 350px; /* zmniejszamy karty na laptopach */
                                    }

                                    .img_post_rodzinne {
                                        width: 100%;
                                        height: 235px;
                                    }

                                    .card-body_rodzinne {
                                        font-size: 13px; /* mniejsza czcionka */
                                        padding: 8px;
                                    }
                                }




        .container_event {
            text-align: center;
            width: 100%;
            display: flex;
            justify-content: space-evenly;
            flex-wrap: wrap; /* Dodajemy dla responsywności */
            gap: 20px;
            padding: 0 20px;
        }

        .card_event {
            margin: 10px;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            transition: 0.3s;
            width: 550px;
            max-width: 100%;
            display: flex;
            flex-direction: column;
        }

        .card_event:hover {
            transform: scale(1.05);
        }

        .card-header_event {
            background-color: #D3D3D3;
            font-size: 18px;
            font-weight: bold;
            text-align: center;
            padding: 10px;
        }

        .img_post_event {
            width: 100%;
            height: 310px;
            background-size: contain; /* Całe zdjęcie widoczne */
            background-repeat: no-repeat;
            background-position: center;
        }

        .card-body_event {
            font-size: 14px;
            padding: 10px;
            text-align: center;
        }

                            /* ✅ TABLETY */
                                @media (max-width: 992px) {
                                    .card_event {
                                        width: 450px;
                                    }
                                }

                                /* ✅ TELEFONY */
                                @media (max-width: 768px) {
                                    .container_event {
                                        flex-direction: column;
                                        align-items: center;
                                    }

                                    .card_event {
                                        flex-direction: column;
                                        width: 90%;
                                        max-width: 350px;
                                        margin: auto;
                                        margin-top: 30px;
                                    }

                                    .img_post_event {
                                        width: 100%;
                                        height: 235px;
                                    }

                                    .card-body_event {
                                        width: 100%;
                                        font-size: 12px;
                                    }
                                }

                            .offer_title{
                                text-align: center;
                                font-family: Arial;
                                font-weight: bold;
                                font-size: 24px;
                            }

        .video-gallery {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px; /* Odstępy między filmami */
            padding: 20px;
        }

        .video-gallery iframe {
            width: calc(25% - 20px); /* 4 filmy w rzędzie, uwzględniając odstępy */
            height: 250px; /* Stała wysokość dla lepszego wyglądu */
            border-radius: 10px;
            border: none;
        }

                                                    /* Responsywność dla tabletów */
                                                    @media (max-width: 1024px) {
                                                        .video-gallery iframe {
                                                            width: calc(50% - 20px); /* 2 filmy w rzędzie */
                                                            height: 220px;
                                                        }
                                                    }

                                                    /* Responsywność dla telefonów */
                                                    @media (max-width: 768px) {
                                                        .video-gallery iframe {
                                                            width: 100%; /* 1 film na szerokość ekranu */
                                                            height: 300px;
                                                        }
                                                    }
        .family{
            font-family: 'Brush Script MT', cursive;
            text-align: center;
            font-size: 50px;
        }

        .kontakt-container {
            display: flex;
            justify-content: space-between;
            align-items: center; /* WYSRODKOWANIE PIONOWE */
            flex-wrap: wrap; /* Na mniejsze ekrany */
            gap: 40px;
            margin-left: 100px;
            margin-right: 100px;
            min-height: 500px; /* Ustaw minimalną wysokość kontenera dla wyrównania */
            box-sizing: border-box;
            width: 100%;
        }

        .kontakt-info {
            flex: 1;
            font-size: 20px;
            max-width: 800px;
        }
        .contact_text{
            font-weight: bold;
            color: #333;
        }

        .kontakt-info h2 {
            font-size: 36px;
            margin-bottom: 20px;
        }

        .kontakt-info p {
            margin-bottom: 15px;
        }

        .map {
            flex: 1;
            max-width: 700px;
            height: 450px;
            border-radius: 10px;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
            margin-right: 200px;
        }

                                @media (max-width: 992px) {
                                    .kontakt-container {
                                        margin-left: 50px;
                                        margin-right: 50px;
                                        flex-direction: column; /* Przełączamy układ na pionowy */
                                        align-items: center;     /* Wyśrodkowanie w pionie */
                                        text-align: center;
                                    }

                                    .contact_text{
                                        font-weight: bold;
                                        color: #333;
                                    }

                                    .kontakt-info {
                                        max-width: 100%;
                                        margin-top: 40px;
                                    }

                                    .map {
                                        height: 100%;
                                        width: 500px;
                                        margin: 0;
                                    }
                                    .kontakt-info p {
                                        margin-right: 50px;
                                    }
                                }

                                @media (max-width: 768px) {
                                    .kontakt-container {
                                        text-align: center;
                                        margin: 0;
                                        /*margin-left: auto;*/
                                    }

                                    .kontakt-info h2 {
                                        font-size: 28px;
                                        text-align: center;
                                       /* margin-left: auto;*/
                                    }

                                    .kontakt-info {
                                        font-size: 18px;
                                        text-align: center;
                                        margin-left: 40px;
                                        /*margin-left: auto;*/
                                    }
                                    .contact_text{
                                        text-align: center;                                   
                                    }
                                    .map {
                                        margin: 0;
                                        height: 400px; /* Mniejsza mapa na mobilkach */
                                        width: 400px;
                                    }
                                }

                                @media (max-width: 480px) {
                                    .kontakt-container {
                                        margin-left: 20px;
                                        margin-right: 20px;
                                        text-align: center;
                                    }

                                    .kontakt-info h2 {
                                        font-size: 24px;
                                        margin-left: -30px;
                                        text-align: center;
                                    }

                                    .kontakt-info {
                                        font-size: 16px;
                                        text-align: center;
                                    }

                                    .map {
                                        height: 250px;
                                        width: auto;
                                    }
                                }

    /* GALERIA DRON */

    .gallery-container {
      width: 100%;
      margin: 0 auto;
      padding: 40px 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 40px;
    }

    .gallery-row {
      display: flex;
      justify-content: center;
      gap: 100px;
      flex-wrap: wrap;
    }

    .photo {
      background-color: #ccc;
      object-fit: cover;
    }

    /* Pierwsze zdjęcie na środku */
    .single-photo {
      width: 1200px;
      height: 800px;
      max-width: 100%;
      height: auto;
      box-sizing: border-box;
    }

    /* Dwa zdjęcia pod spodem */
    .two-photos img {
      width: 600px;
      height: 900px;
    }

    /* Trzy zdjęcia poziomo */
    .three-photos img {
      width: 450px;
      height: 300px;
    }

    /* Dwa duże zdjęcia */
    .two-big-photos img {
      width: 600px;
      height: 400px; /* Możesz zmienić wysokość na 300px, żeby były poziome */
    }

                                @media (max-width: 1600px) {
                                    .three-photos img {
                                    width: 400px;
                                    height: 275px;
                                  }
                                }

                                /* LAPTOP L (max-width: 1440px) */
                                @media (max-width: 1440px) {
                                  .gallery-container {
                                    gap: 40px;
                                  }

                                  .gallery-row {
                                    gap: 80px;
                                  }

                                  .single-photo {
                                    width: 1000px;
                                  }

                                  .two-photos img {
                                    width: 500px;
                                    height: 750px;
                                  }

                                  .three-photos img {
                                    width: 350px;
                                    height: 225px;
                                  }

                                  .two-big-photos img {
                                    width: 500px;
                                    height: 350px;
                                  }
                                }

                                /* TABLETY (max-width: 1200px) */
                                @media (max-width: 1200px) {
                                  .gallery-container {
                                    gap: 30px;
                                    padding: 30px 0;
                                  }

                                  .gallery-row {
                                    gap: 60px;
                                  }

                                  .single-photo {
                                    width: 800px;
                                  }

                                  .two-photos img {
                                    width: 400px;
                                    height: 600px;
                                  }

                                  .three-photos img {
                                    width: 300px;
                                    height: 225px;
                                  }

                                  .two-big-photos img {
                                    width: 400px;
                                    height: 300px;
                                  }
                                }

                                /* TABLETY MAŁE I TELEFONY (max-width: 768px) */
                                @media (max-width: 768px) {
                                  .gallery-container {
                                    padding: 20px 0;
                                    gap: 20px;
                                  }

                                  .gallery-row {
                                    flex-direction: column;
                                    gap: 20px;
                                    padding: 0 20px;
                                  }

                                  .single-photo {
                                    width: 100%;
                                    height: auto;
                                    max-width: 100%;
                                    padding: 20px;
                                    background-color: #F0F0F0;
                                  }

                                  .two-photos img,
                                  .three-photos img,
                                  .two-big-photos img {
                                    width: 100%;
                                    height: auto;
                                  }
                                }

    .note{
        font-style: italic;
        color: grey;
        text-align: center;
        margin: 20px 200px;
    }


        @media (max-width: 768px) {
        .note {
            margin: 20px 100px; /* zmniejszony margines */
        }
    }

    /* Dla ekranów o maksymalnej szerokości 480px */
    @media (max-width: 480px) {
        .note {
            margin: 20px 20px; /* jeszcze mniejszy margines */
            font-size: 14px;   /* opcjonalnie zmniejsz czcionkę */
        }
    }

    @media (max-width: 920px) {
        .note{
            margin: 20px 40px;
        }
    }



    .container_opinie {
          display: flex;
          justify-content: center;
          gap: 20px;
          flex-wrap: wrap;
          max-width: 1400px; /* szerszy kontener */
          margin: 40px auto;
        }

        .opinia {
          flex: 1200px; /* zwiększona szerokość */
          max-width: 400px;
          background: white;
          border: 1px solid #ddd;
          border-radius: 8px;
          padding: 20px;
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
          text-align: center;
          font-family: Century Gothic;
        }

        .opinia h3 {
          font-weight: 500;
          margin: 0;
          font-size: 1.1em;
        }

        .opinia hr {
          margin: 10px 0;
          border: none;
          border-top: 1px solid #ccc;
        }

        .opinia p {
          font-style: italic;
          color: #777;
          margin: 0;
        }

                            /* Responsywność */

                        /* Maks. szerokość 1300px */
                        @media (max-width: 1300px) {
                          .container_opinie {
                            max-width: 1000px;
                          }

                          .opinia {
                            max-width: 45%;
                            flex: 1 1 45%;
                          }
                        }

                        /* Maks. szerokość 922px */
                        @media (max-width: 922px) {
                          .container_opinie {
                            max-width: 800px;
                          }

                          .opinia {
                            max-width: 100%;
                            flex: 1 1 100%;
                          }
                        }

                        /* Maks. szerokość 768px */
                        @media (max-width: 768px) {
                          .container_opinie {
                            flex-direction: column;
                            align-items: center;
                            max-width: 100%;
                            padding: 0 10px;
                          }

                          .opinia {
                            max-width: 100%;
                            flex: 1 1 100%;
                          }
                        }

        @media (max-width: 600px) {
          .opinia {
            flex: 1 1 100%;
            max-width: 100%;
          }
        }

    .title_opinie{
        margin: 20px;
        font-size: 40px;
        color: #333;
    }

                                @media (max-width: 768px) {
                                    .bigtitle{
                                        font-size: 30px;
                                        font-weight: bold;
                                        color: #333;
                                    }
                                    .title_opinie{
                                        font-size: 35px;
                                    }
                                }

                                @media (max-width: 1300px) {
                                    .bigtitle{
                                        font-size: 32px;
                                        font-weight: bold;
                                        color: #333;
                                    }
                                }

                                @media (max-width: 922px) {
                                    .bigtitle{
                                        font-size: 24px;
                                        font-weight: bold;
                                        color: #333;
                                    }
                                }


.films{
    padding: 0px 40px;
}



