 /* ========== ВАШІ СТИЛІ ========== */
        .gallery {
            background: #111;
        }

        .grid {
            max-width: 1200px;
            margin: auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .grid img {
            width: 100%;
            height: 260px;
            object-fit: cover;
            border-radius: 10px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .grid img:hover {
            transform: scale(1.03);
            opacity: 0.85;
        }

        /* ========== ДОДАТКОВІ СТИЛІ ДЛЯ КНОПОК ========== */
        .gallery-container {
            background: #111;
            padding: 40px 20px;
        }

        .pagination-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 40px;
            flex-wrap: wrap;
        }

        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 12px 30px;
            font-size: 18px;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s;
            font-weight: bold;
        }

        button:hover {
            background-color: #0056b3;
        }

        button:disabled {
            background-color: #444;
            cursor: not-allowed;
            opacity: 0.5;
        }

        .page-info {
            text-align: center;
            margin-bottom: 25px;
            font-size: 18px;
            color: white;
            background: #111;
            padding: 10px;
        }

        @media (max-width: 600px) {
            .grid {
                gap: 10px;
            }
            .grid img {
                height: 180px;
            }
            button {
                padding: 8px 20px;
                font-size: 14px;
            }
        }