.gallery-hero {
    background: linear-gradient(rgba(255, 107, 107, 0.9), rgba(255, 107, 107, 0.9)), url('../img/gallery-bg.jpg');
    background-size: cover;
    height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 90px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item img {
        height: 200px;
    }

        /* Style dla strony z filmami */
        .video-gallery {
            padding: 40px 0;
        }
        
        .video-gallery .gallery-grid {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        }
        
        .video-item {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
            height: 0;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .video-item iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

                .gallery-hero .container {
                    position: relative;
                    padding-bottom: 70px;
                    /* Zostaw miejsce na przyciski */
                }
        
                .gallery-nav-buttons {
                    position: absolute;
                    bottom: -30px;
                    left: 50%;
                    transform: translateX(-50%);
                    display: flex;
                    gap: 20px;
                }
        
                .gallery-nav-buttons .btn {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    padding: 12px 25px;
                    border-radius: 50px;
                    font-weight: 600;
                    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
                    transition: all 0.3s;
                }
        
                .gallery-nav-buttons .btn:hover {
                    transform: translateY(-3px);
                    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
                }
        
                /* Dla małych ekranów */
                @media (max-width: 768px) {
                    .gallery-nav-buttons {
                        position: relative;
                        bottom: auto;
                        left: auto;
                        transform: none;
                        justify-content: center;
                        margin-top: 30px;
                    }
        
                    .gallery-hero .container {
                        padding-bottom: 40px;
                    }
                }
                                /* Dodaj animację pływania */
                                @keyframes float {
                                    0% {
                                        transform: translateY(0px);
                                    }
                
                                    50% {
                                        transform: translateY(-10px);
                                    }
                
                                    100% {
                                        transform: translateY(0px);
                                    }
                                }
                
                                .gallery-nav-buttons .btn {
                                    animation: float 3s ease-in-out infinite;
                                }
                
                                .gallery-nav-buttons .btn:hover {
                                    animation: none;
                                }